Nicola Mettifogo
359f56cd35
Removed useless members.
...
svn-id: r30344
2008-01-08 20:37:31 +00:00
Nicola Mettifogo
1b80eedaa1
Added a proper _name member to Zone, instead of using the label text.
...
svn-id: r30343
2008-01-08 20:32:29 +00:00
Nicola Mettifogo
c1c8b10fbe
Merged dos monospaced fonts subclasses into parent class. Handling is the same, and readability is more important than performance, especially when you call a routine only twice.
...
svn-id: r30335
2008-01-07 23:13:45 +00:00
Filippos Karapetis
f3b99816c6
Fixed an MSVC warning
...
svn-id: r30319
2008-01-07 08:43:20 +00:00
Torbjörn Andersson
1ddc8ab0fa
Indent with tabs instead of spaces.
...
svn-id: r30315
2008-01-06 20:57:46 +00:00
Nicola Mettifogo
5ff1ccabe6
Removed now useless functions.
...
svn-id: r30314
2008-01-06 20:51:05 +00:00
Nicola Mettifogo
35b7021fac
Fixes wrong type.
...
svn-id: r30313
2008-01-06 20:46:03 +00:00
Torbjörn Andersson
eeb212c7e0
Indent with tabs instead of spaces.
...
svn-id: r30312
2008-01-06 20:42:28 +00:00
Nicola Mettifogo
db51514dd3
Moved balloons management into Gfx, which is now responsible for positioning and drawing. All balloons are now drawn on a different layer than the game graphics, thus simplifying screen management. Dialogue code has undergone a major revision, and the superior implementation of answer selection in the Amiga version is now used in place of the poor PC one. Other bits (where some changes had already been introduced) have been updated, too.
...
svn-id: r30311
2008-01-06 19:29:41 +00:00
Nicola Mettifogo
b75d196e88
In revision 30221, the correct font wasn't selected in the character selection screen. Always ask things twice.
...
svn-id: r30222
2008-01-04 21:26:53 +00:00
Nicola Mettifogo
3e04d8b215
Fix for bug# 1729307. Fonts are now displayed with shadows when needed on Amiga. The correct font for intro screen has also been selected.
...
svn-id: r30221
2008-01-04 21:24:51 +00:00
Nicola Mettifogo
9bb72bf188
Fixed bug in Nippon Safes for Amiga, Italian version. Game now doesn't crash anymore when starting introduction.
...
svn-id: r30173
2008-01-02 22:06:49 +00:00
Nicola Mettifogo
b91300e1cc
Fix for bug #1829409 . Character now changes expression accordingly with available dialogue answers.
...
svn-id: r30171
2008-01-02 21:33:18 +00:00
Nicola Mettifogo
da3d85c755
Removed debug printf.
...
svn-id: r30169
2008-01-02 21:29:23 +00:00
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