703 Commits

Author SHA1 Message Date
Paul Gilbert
a5a4a6fde5 Bugfix for actors getting stuck (losing their schedule)
svn-id: r30435
2008-01-12 06:34:11 +00:00
Paul Gilbert
dde154c3ed Removed old copyright 2005-2006 line from several files so that their headers are consistant with the other files
svn-id: r30433
2008-01-12 01:30:11 +00:00
Paul Gilbert
b14da0b02c Fix for debug logging of the current action name
svn-id: r30386
2008-01-10 21:32:49 +00:00
Torbjörn Andersson
89f15fe482 Fixed warnings.
svn-id: r30379
2008-01-10 19:06:38 +00:00
Paul Gilbert
d804bad551 Replaced the Blacksmith hack with an NPC Schedules list that stores the active schedule of an NPC when it's deactivated in case it's later reactivated again.
svn-id: r30378
2008-01-10 13:37:34 +00:00
Paul Gilbert
8b9c7b2137 Corrected the name of script method #39 which closes the town hall door
svn-id: r30371
2008-01-10 10:48:04 +00:00
Paul Gilbert
1d4efdcaa1 Added proper reset of barmen data when game is restarted, and added missing barman data to savegames
svn-id: r30367
2008-01-10 09:42:51 +00:00
Paul Gilbert
fee6362147 Bugfix for incorrect data being saved for the current NPC the barmen are serving
svn-id: r30365
2008-01-10 09:22:46 +00:00
Paul Gilbert
6d4d02a27f Bugfix for #1866784 - Castle Skorl can be activated multiple times
svn-id: r30354
2008-01-09 12:36:58 +00:00
Paul Gilbert
af443ba924 Bugfix for #1866782 - fixes the issue with the Blacksmith being reactivated after earlier being deactivated in the middle of hammering the anvil
svn-id: r30353
2008-01-09 11:14:15 +00:00
Paul Gilbert
34c3c89267 Fix for #1866777 - adds saving of hotspot layer to savegames
svn-id: r30347
2008-01-09 09:13:39 +00:00
Paul Gilbert
241c337dc3 Fixed popup menu height so bottom action doesn't partially overlap the bottom border
svn-id: r30346
2008-01-09 02:32:18 +00:00
Paul Gilbert
cd23db6ce8 Changed method parameter name to prevent shadowing warning
svn-id: r30340
2008-01-08 06:18:33 +00:00
Paul Gilbert
965eddf0dc Enhanced NPC walk-to logic to handle separately several special Ids that were previously handled identically
svn-id: r30339
2008-01-08 06:13:55 +00:00
Paul Gilbert
660d9a89d7 Bugfix for #1865552 - crash when waiting for patrol. Incorrect value was being passed to retrieve a hotspot pointer
svn-id: r30336
2008-01-08 03:09:00 +00:00
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