Nicola Mettifogo
8da3b3a0ea
Changed an explicit warning/remainder into a code comment.
...
svn-id: r29879
2007-12-16 16:03:04 +00:00
Nicola Mettifogo
d632206248
Added halfbrite effect to Nippon Safes Amiga. Implementation is not complete, since the spotlight during Donna's dance is not moving yet.
...
svn-id: r29863
2007-12-15 20:56:05 +00:00
Nicola Mettifogo
1d239097f3
Updated outdated comment.
...
svn-id: r29822
2007-12-10 20:34:02 +00:00
Nicola Mettifogo
15d7ff3c6b
Added 90 extra save slots for Nippon Safes.
...
svn-id: r29821
2007-12-10 20:32:06 +00:00
Nicola Mettifogo
0b0ec8ee00
* Switched Nippon Safes to use new names for savefiles. User will be asked to perform conversion on engine start.
...
* Special files used for keeping track of completed parts of the game have been replaced by special savefile 'nippon.999'.
svn-id: r29820
2007-12-10 20:29:51 +00:00
Nicola Mettifogo
e036a8b376
Fix for bug #1777053 . Engine was ruling out valid passwords because of wrong implementation.
...
svn-id: r29799
2007-12-09 17:31:36 +00:00
Nicola Mettifogo
7bef63537d
Going back to uncached mode for graphics resources of Examine zones. This prevents engine to crash when trying to cache a resource out of the currently selected archive.
...
svn-id: r29798
2007-12-09 17:29:41 +00:00
Nicola Mettifogo
bf2bc3db80
Fix for bug #1837503 . Location switches can be scheduled recursively, so now flags needed to be handled in a safer way to prevent inconsistencies.
...
svn-id: r29763
2007-12-08 11:07:03 +00:00
Nicola Mettifogo
fdb20177b4
Broke up parseDialogue into more manageable and focused short routines.
...
svn-id: r29716
2007-12-04 20:38:45 +00:00
Max Horn
a556368c99
Update mouse coordinates onn *all* mouse events, i.e. also after click events
...
svn-id: r29657
2007-11-28 15:00:41 +00:00
Nicola Mettifogo
919c0a2833
* added adapter from Graphics::Surface to Frames
...
* changed all Disk routines to return Frames* instead of Graphics::Surface*
* changed displayItemComment to use new gfx routines
* merged code for Examine zones into displayComment
svn-id: r29615
2007-11-22 21:51:33 +00:00
Nicola Mettifogo
d8e8050015
* added (incomplete) explicit state machine handling in engine class (see _inputMode)
...
* added service routines to Gfx
* changed displayCharacterComment to work with the new state machine and gfx routines
svn-id: r29613
2007-11-22 21:19:44 +00:00
Nicola Mettifogo
6af9577e84
* moved label drawing into Gfx, to be drawn directly in the framebuffer
...
* changed low level blitting function to accept Graphics::Surface to ease development
* temporarily disabled labels/subtitles in BRA
svn-id: r29593
2007-11-21 20:04:14 +00:00
Nicola Mettifogo
f8e1da5b60
* made engine use Inventory and InventoryRenderer
...
* inventory drawing is now performed directly in the framebuffer instead of using the game screen buffer
* specialized jobs to handle inventory drawing have been deleted as they had become obsolete
svn-id: r29571
2007-11-19 20:46:28 +00:00
Nicola Mettifogo
d86246308d
Walk and script handling are now directly handled by the main loop, instead of relying on the job list.
...
svn-id: r29568
2007-11-19 20:23:01 +00:00
Sven Hesse
40a5f8028a
Muting the compiler :P
...
svn-id: r29563
2007-11-18 22:22:38 +00:00
Nicola Mettifogo
28289fb694
Cleanup.
...
svn-id: r29562
2007-11-18 21:32:22 +00:00
Nicola Mettifogo
7731af9833
Partly decoupled rendering from game data update. Graphics routines to draw/erase animations and labels are now invoked explicitly instead of being handled in the job list.
...
svn-id: r29561
2007-11-18 21:16:27 +00:00
Nicola Mettifogo
9e58b0253d
Removed other paranoia code from the original engine (as in revision 29505).
...
svn-id: r29558
2007-11-18 18:04:41 +00:00
Nicola Mettifogo
6471eb84f2
Cleanup.
...
svn-id: r29556
2007-11-18 13:22:38 +00:00
Nicola Mettifogo
a3abaaa709
Refactored main input code.
...
svn-id: r29532
2007-11-17 09:39:20 +00:00
Johannes Schickel
7b43ba576c
Added const to static data.
...
svn-id: r29520
2007-11-16 23:08:17 +00:00
Nicola Mettifogo
058009a113
Refactored language selection code.
...
svn-id: r29518
2007-11-16 22:03:39 +00:00
Nicola Mettifogo
0dc9a12db9
Removed an unclear (paranoid?) continue statement from the original engine. We are just doing a screen update more than the original this way. If this is bad, then we can go back, but for now, let the execution flow.
...
svn-id: r29505
2007-11-14 22:31:53 +00:00
Nicola Mettifogo
10caba3562
* centralized kEngineChangeLocation flag handling
...
* simplified runGame, moving flags testing into called routines
svn-id: r29504
2007-11-14 22:24:26 +00:00
Nicola Mettifogo
9038ee9115
Fixed regression: loading from the start screens was messing up game flags.
...
svn-id: r29439
2007-11-06 20:49:50 +00:00
Nicola Mettifogo
684db15b34
* Pushed specific code from base class down to Nippon Safes.
...
* Some refactoring of the main loop.
svn-id: r29407
2007-11-04 10:45:10 +00:00
Eugene Sandulenko
c640d1c604
Patch #1825276 : "DETECTION: advanced detector engine simplification"
...
svn-id: r29386
2007-11-03 21:06:58 +00:00
Nicola Mettifogo
610d9a2ce7
Fixed overflow after fadeout in the last game location (bug #1824026 ).
...
svn-id: r29374
2007-11-02 08:34:56 +00:00
Nicola Mettifogo
ca1b941d02
Donna now returns to her normal outfit after swimming.
...
svn-id: r29373
2007-11-01 23:31:28 +00:00
Nicola Mettifogo
1ea0b305a5
Added color-inversion effect in character selection screen. The effect doesn't exactly work like the original yet (Amiga only).
...
svn-id: r29372
2007-11-01 21:56:14 +00:00
Nicola Mettifogo
10c0f9de86
Refactored some gui code.
...
svn-id: r29371
2007-11-01 21:24:43 +00:00
Nicola Mettifogo
793553c1b4
Made debug console available when displaying slides (like intermissions and menu).
...
svn-id: r29370
2007-11-01 21:23:48 +00:00
Nicola Mettifogo
93ebcffcac
Added new debug command.
...
svn-id: r29362
2007-11-01 17:40:25 +00:00
Nicola Mettifogo
555336cebe
Fix for bug #1822819 . Donna now changes her look into Suzy after makeup.
...
svn-id: r29361
2007-11-01 17:39:58 +00:00
Nicola Mettifogo
06f38474a5
Consolidated game data cleanup in a single routine to location switches more reliable, especially on savegames and on game start.
...
svn-id: r29357
2007-11-01 15:58:33 +00:00
Nicola Mettifogo
c7f315b32c
Fix regression introduced in revision 29355. First loadgame performed was destroying the game flags.
...
svn-id: r29356
2007-11-01 15:15:43 +00:00
Nicola Mettifogo
7c8bf86a45
More refactoring for gui code.
...
svn-id: r29355
2007-11-01 14:47:33 +00:00
Nicola Mettifogo
288f47e034
* Merged object Menu into Parallaction_ns.
...
* Some preliminary refactoring of ex-menu code.
svn-id: r29354
2007-11-01 14:08:55 +00:00
Nicola Mettifogo
512e57c690
Added new LocationName class to simplify handling of location switches.
...
svn-id: r29353
2007-11-01 13:47:18 +00:00
Nicola Mettifogo
ecbd31160e
Fix for bug #1822680 .
...
svn-id: r29326
2007-10-30 19:41:55 +00:00
Nicola Mettifogo
9d14d74e8d
Temporarily force quits when user presses exit key combination. A TODO comment has been added to places where behavior should be changed to allow the engine to exit gracefully.
...
svn-id: r29270
2007-10-27 21:29:38 +00:00
Nicola Mettifogo
22c4aa0602
Parallaction will now consume all the short-lived jobs in the queue before a location switch. These jobs only live for 1 or 2 engine loops, and can refer to items in the location being dropped. This situation used to lead to segfaults like the one reported in report #1762797 (that should be now fixed).
...
svn-id: r29263
2007-10-26 20:35:06 +00:00
Nicola Mettifogo
14160083e8
Now stopping music when loading a game in Amiga versions of Nippon Safes.
...
svn-id: r29242
2007-10-21 19:27:15 +00:00
Nicola Mettifogo
aa01449f29
Relaxed freeZones policy for deciding which zones to preserve across location switches. Special zones are now never deleted even if strictly not needed. This will fix some occasional crashes related to inventory management.
...
svn-id: r29241
2007-10-21 15:41:21 +00:00
Nicola Mettifogo
03d5111a74
Fixed parseLocation, so that it only tries to parse scripts when they aren't already loaded. This fixes bugs like #1816899 , caused by the wrong data archive being selected in the Disk object.
...
svn-id: r29240
2007-10-21 15:26:07 +00:00
Nicola Mettifogo
c68871860a
Added new debug level for inventory routines.
...
svn-id: r29239
2007-10-21 13:10:36 +00:00
Nicola Mettifogo
78bc71e6f5
Cleanup.
...
svn-id: r29238
2007-10-21 13:09:53 +00:00
Nicola Mettifogo
359efa4f28
Fixed formatting of debug command output.
...
svn-id: r29232
2007-10-19 21:26:35 +00:00
Nicola Mettifogo
e45f4c25af
Fixed loadgame bug: old game state wasn't fully wiped out before loading, thus creating bogus game states in memory. As a result, most savefiles should be ditched. A savefile is sure to be safe if it was *never* loaded from in-game, but nothing can be said in the opposite case.
...
svn-id: r29231
2007-10-19 21:26:05 +00:00