Commit Graph

81 Commits

Author SHA1 Message Date
Paul Gilbert
f7ac94db12 Added code to de-activate town NPCs once the player makes it to the castle, since they're no longer needed
svn-id: r48661
2010-04-16 10:00:49 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Max Horn
bce959e046 LURE: Remove evil 'using namespace' from header files
svn-id: r47396
2010-01-19 23:48:55 +00:00
Paul Gilbert
c8f991e89b Bugfix for crash if an error occurs before the game object (and thus the debugger) is created
svn-id: r47018
2010-01-05 05:25:18 +00:00
Max Horn
f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00
Filippos Karapetis
5028d5a68b Reverted my commit #44290 - apparently, it was a bad idea, as g_engine is a hack
svn-id: r44311
2009-09-24 17:07:27 +00:00
Filippos Karapetis
a70351e5ea Changed some references from LureEngine to the global g_engine (e.g. calls to shouldQuit()), to minimize places where LureEngine is referenced
svn-id: r44290
2009-09-24 06:53:03 +00:00
Jordi Vilalta Prat
3337be7b08 Fix indentation
svn-id: r43837
2009-08-30 20:50:23 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Christopher Page
dac805c281 Added -x and --list-saves support for LURE
svn-id: r33291
2008-07-25 19:41:17 +00:00
Christopher Page
17ce8db211 Lure works with the new GMM implementation
svn-id: r32996
2008-07-10 22:34:48 +00:00
Christopher Page
6e3474896c Kyra and Lure are now using the new _quit flag
svn-id: r32772
2008-06-25 00:55:18 +00:00
Paul Gilbert
76c43c94d1 Changed the delayed sequence list from using a system milliseconds expiry point to a milliseconds countdown - this should fix potential problems that could arise if a modal dialog was kept on-screen too long
svn-id: r32237
2008-05-24 00:54:04 +00:00
Filippos Karapetis
6a9acd7a5e Replaced ManagedList with Common::SharedPtr in the rest of the lure engine
svn-id: r31420
2008-04-06 12:00:37 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +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
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +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
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
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
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
fb222b0afa Changed Credits display to avoid the brief flash as the palette changed
svn-id: r29892
2007-12-17 03:29:02 +00:00
Paul Gilbert
08f1f2c3d3 Bugfix for Use actions to work correctly
svn-id: r29891
2007-12-16 22:41:51 +00:00
Torbjörn Andersson
25103d11e2 Removed unused variable.
svn-id: r29885
2007-12-16 20:20:09 +00:00
Kostas Nakos
e861cf567d use the virtual keyboard facilities if available, when needed
svn-id: r29882
2007-12-16 20:01:41 +00:00
Paul Gilbert
706e779236 Hooked up the sound code to use the configuration for sfx and music, and added code from the original game that used the high bit of sounds to distinguish between the two
svn-id: r29873
2007-12-16 08:19:56 +00:00
Paul Gilbert
f826e62771 Bugfix for the display of ASK, GIVE, and TELL actions in the status line
svn-id: r29825
2007-12-11 10:12:12 +00:00
Paul Gilbert
5eb9b10bbd Changed calls to pollEvent to be in while loops to ensure all pending events get processed
svn-id: r29576
2007-11-20 12:26:06 +00:00
Paul Gilbert
4d21471155 Cleaned up animation player and added support for a set of sounds to be played during an animation
svn-id: r29547
2007-11-18 05:10:56 +00:00
Paul Gilbert
eaee457431 Added missing destructor and sounds to barrel animation sequence
svn-id: r29531
2007-11-17 08:58:31 +00:00
Paul Gilbert
ca10a4db08 Bugfixes to the fighting animations and proper reset of fight data between save sessions
svn-id: r29526
2007-11-17 06:53:13 +00:00
Paul Gilbert
d5dc2e075a Bugfixes to restoring or restarting a game from the Restore/Restart dialog
svn-id: r29524
2007-11-17 00:19:45 +00:00
Paul Gilbert
7bf1b77f3c removeSounds was being called too early - it was setting the current area to that of the room being left, rather than the one being entered
svn-id: r29482
2007-11-12 10:09:33 +00:00
Paul Gilbert
27a1f38862 Added sound to animation of falling down the chute
svn-id: r29451
2007-11-08 11:06:24 +00:00
Paul Gilbert
e4125a0368 Current room is now correctly refreshed after showing credits
svn-id: r29278
2007-10-28 04:28:27 +00:00
Paul Gilbert
641ff5e9b7 Sound is now paused when displaying menu dialogs
svn-id: r29272
2007-10-28 03:34:10 +00:00
Paul Gilbert
864ed910fa Bugfix to make sound toggle work correctly, and added flag state to savegames
svn-id: r29257
2007-10-25 10:39:19 +00:00
Paul Gilbert
6faff895c3 Changed text speed flag, and added saving of it to savegames
svn-id: r29250
2007-10-24 10:01:55 +00:00
Paul Gilbert
f1958a2218 Removed deprecated YNKeyStruct structure
svn-id: r29237
2007-10-21 05:13:44 +00:00
Paul Gilbert
d817f530e8 Changed string constant name to avoid clashing with inventory display constants
svn-id: r29168
2007-10-07 11:11:06 +00:00
Paul Gilbert
155d85b3b6 Removed some old redundant code and moved some string constants to the resource file
svn-id: r29069
2007-09-23 22:13:41 +00:00
Torbjörn Andersson
f4507e71d3 Indentation.
svn-id: r29057
2007-09-23 16:48:33 +00:00
Paul Gilbert
b2e97060ad Initial sound implementation
svn-id: r28917
2007-09-16 04:06:49 +00:00
Max Horn
efbef7880b Fixed code formatting (hanging braces); added static/const keywords to data tables; merged Hotspot::doLookAt and doLookThrough code
svn-id: r28880
2007-09-08 11:18:35 +00:00
Paul Gilbert
ca96ba431c Completed the restart/restore dialog screen and functionality
svn-id: r28714
2007-08-25 06:08:02 +00:00
Paul Gilbert
81fa23f091 Skeleton code added for restart/restore screen
svn-id: r28548
2007-08-12 11:15:06 +00:00
Paul Gilbert
cfff436ca7 Added proper room change fading effect
svn-id: r28212
2007-07-26 10:11:31 +00:00
Max Horn
6ef494ab28 Converted LURE code to use KEYCODEs
svn-id: r27668
2007-06-23 14:59:58 +00:00