Commit Graph

488 Commits

Author SHA1 Message Date
Paul Gilbert
a137ff2cf1 Changed debug keys enablement to be on by default if a Debug Level is specified
svn-id: r30322
2008-01-07 10:32:54 +00:00
Paul Gilbert
841cc77e5c Made debugging keys disabled by default, with a debugger command to allow them to be turned on
svn-id: r30317
2008-01-07 03:53:30 +00:00
Paul Gilbert
c43a851e13 Changed the frame delay for part of the introduction sequence to match the original game and prevent the music from running out before the next animation begins
svn-id: r30287
2008-01-06 02:59:41 +00:00
Paul Gilbert
b535b070f3 Fix to show talk dialogs in EGA mode using the EGA palette
svn-id: r30286
2008-01-06 02:09:18 +00:00
Paul Gilbert
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Paul Gilbert
62fdf1afa0 Changed room change code for an immediate transition when in EGA mode (which can't do fades)
svn-id: r30236
2008-01-05 12:09:24 +00:00
Paul Gilbert
705bd9236c Fix for popup menus to work in EGA mode
svn-id: r30234
2008-01-05 11:25:30 +00:00
Paul Gilbert
9e02b32220 Made standard EGA background colour a constant
svn-id: r30233
2008-01-05 11:24:37 +00:00
Paul Gilbert
735ea1eaaa Fix to show credits screen correctly in EGA mode
svn-id: r30232
2008-01-05 10:53:27 +00:00
Paul Gilbert
140d914c18 Brought waitForPress into line with other similar methods to not register control characters
svn-id: r30231
2008-01-05 10:38:50 +00:00
Paul Gilbert
13cb1e710f Fix to use correct EGA/VGA colour when displaying talk conversation options
svn-id: r30230
2008-01-05 10:37:36 +00:00
Paul Gilbert
2c86089264 Fix for showing the correct colour in the status line in EGA mode
svn-id: r30229
2008-01-05 10:36:36 +00:00
Paul Gilbert
65399321eb Added support for the EGA style menu
svn-id: r30228
2008-01-05 10:35:47 +00:00
Paul Gilbert
f5577f8470 Removed redundant parameters and clarified EGA and VGA specific definitions
svn-id: r30227
2008-01-05 10:35:22 +00:00
Paul Gilbert
10719d5a12 Added extra handling for EGA dialogs, and added formalised parameters/methods for text positioning
svn-id: r30226
2008-01-05 10:34:34 +00:00
Paul Gilbert
610880dc67 Corrected the RGB values generated for a given EGA palette index
svn-id: r30224
2008-01-05 07:20:26 +00:00
Paul Gilbert
9efa3a5ec3 Added MD5 for English EGA version
svn-id: r30175
2008-01-03 00:34:52 +00:00
Paul Gilbert
b6f39fb8fb Adjusted the colour of the EGA cursors to match the original game
svn-id: r30146
2008-01-02 11:45:59 +00:00
Paul Gilbert
977c9fb5f3 Enhanced cursor code to handle cursors in EGA mode
svn-id: r30143
2008-01-02 11:15:36 +00:00
Paul Gilbert
eff113c486 Fixed Palette constructor parameter to be uint16 rather than uint8
svn-id: r30142
2008-01-02 11:14:42 +00:00
Paul Gilbert
3b658492f5 Fix to make EGA sprites appear correctly
svn-id: r30140
2008-01-02 07:14:02 +00:00
Paul Gilbert
b2d2bd6f2d Room backgrounds now display in EGA mode
svn-id: r30138
2008-01-02 03:36:19 +00:00
Paul Gilbert
86aeae4a74 Bugfix to show the final text screen correctly in EGA mode
svn-id: r30131
2008-01-01 22:55:54 +00:00
Paul Gilbert
79a9074548 Added support for the EGA introduction sequence
svn-id: r30116
2008-01-01 13:00:47 +00:00
Paul Gilbert
4308e6ab10 Added EGA related constants
svn-id: r30115
2008-01-01 12:59:40 +00:00
Paul Gilbert
e3c60fea4e Extended PaletteCollection class to handle EGA palettes
svn-id: r30114
2008-01-01 12:58:50 +00:00
Paul Gilbert
87ed2bf0cb Extended animation class to handle EGA animations
svn-id: r30113
2008-01-01 12:58:04 +00:00
Eugene Sandulenko
b87b0f21f0 Used new AdvancedDetector flag to distinguish between EGA and VGA versions
of italian Lure when their datafiles sit in same directory.

svn-id: r30106
2007-12-31 14:46:37 +00:00
Paul Gilbert
10686b04ab Bugfix to data position start in vga decoder, and made ega/vga decoder methods public visibility
svn-id: r30104
2007-12-31 13:37:14 +00:00
Paul Gilbert
1804ae6639 Added code to handle EGA title screens being immediately shown rather than faded in
svn-id: r30098
2007-12-31 05:59:58 +00:00
Paul Gilbert
1dd2e32fc0 Added extra palette handling for EGA palettes
svn-id: r30097
2007-12-31 05:58:22 +00:00
Paul Gilbert
ccc822fd1c Added support for decoding EGA screens
svn-id: r30096
2007-12-31 05:57:11 +00:00
Paul Gilbert
abd3f45359 Added code to support reading .ega files
svn-id: r30095
2007-12-31 05:56:22 +00:00
Paul Gilbert
d45fe1e37e Added detection for Italian EGA version
svn-id: r30094
2007-12-31 05:55:20 +00:00
Paul Gilbert
2c5ae92b4c Added ability for both middle and right mouse buttons to abort a conversation when waiting for user to select a conversation option from a list of topics
svn-id: r30071
2007-12-29 10:38:30 +00:00
Paul Gilbert
99dfb8bcbc Added support for using scroll wheel for making selections in the Save/Restore dialog and action lists
svn-id: r30070
2007-12-29 09:51:25 +00:00
Paul Gilbert
59b5655266 Added access property for middle mouse button
svn-id: r30069
2007-12-29 09:50:20 +00:00
Paul Gilbert
a54f9c311a Fix to ensure any active conversation data or selected hotspot is cleared when restoring or restarting a game
svn-id: r30066
2007-12-29 04:25:26 +00:00
Paul Gilbert
52dc147f8c Added mouse scrolling support to action menus and the save/restore dialog
svn-id: r30065
2007-12-29 00:31:15 +00:00
Paul Gilbert
16b610068d Fix for correct dialog sequence when giving an object to an arbitrary NPC
svn-id: r30063
2007-12-28 22:56:22 +00:00
Paul Gilbert
4d7e49ddb8 Fix to prevent the F5 key allowing the game to be saved during player conversations or viewing a remote room
svn-id: r30048
2007-12-28 11:07:35 +00:00
Paul Gilbert
ae06d5337e Bugfix to correctly display a message when a used item is no longer in the room
svn-id: r30037
2007-12-28 07:46:21 +00:00
Paul Gilbert
67a49e712a Bugfix for string decoding to use the article of the destination character rather than the talking character
svn-id: r30036
2007-12-28 07:45:22 +00:00
Paul Gilbert
ada25791c6 Bugfix for action perform timeout to correctly show an question mark bubble. Also changed a writeSint16LE call to be more correctly writeUint16LE
svn-id: r30026
2007-12-28 04:00:15 +00:00
Paul Gilbert
d6788c3291 Workaround for unterminated look description in Italian version
svn-id: r29960
2007-12-23 12:27:43 +00:00
Paul Gilbert
33545452f0 Fix for problem that the player could stop themselves changing back from Selena if they left the current room too quickly after the change back had been scheduled
svn-id: r29958
2007-12-23 11:34:22 +00:00
Paul Gilbert
5e29703ea8 Bugfix for Town Hall room: Captive Goewin's bounds were frequently and incorrectly preventing the player from talking to the Skorl
svn-id: r29957
2007-12-23 10:52:18 +00:00
Paul Gilbert
337db5d4c7 Bugfix to not allow animation fast forward when restoring a game - it was causing occasional crashes due to tick handlers referencing animations not yet loaded (it's only meant to be done during room changes)
svn-id: r29950
2007-12-22 11:34:10 +00:00
Paul Gilbert
9dc39c302a Tweaked the calculation for player position in new rooms to use the original game's rounding - the current code was causing the player to be placed inside the exit area when entering room 6 from room 5.
svn-id: r29949
2007-12-22 11:24:29 +00:00
Paul Gilbert
c0bc7bb7d6 Incremented required lure.dat version number, and adjusted animation indexes to account for added fight animation entry
svn-id: r29948
2007-12-22 11:16:57 +00:00