Commit Graph

170 Commits

Author SHA1 Message Date
Paul Gilbert
b648aaf64b Bugfix to prevent player freezing in place after bumping into another character
svn-id: r24688
2006-11-12 04:42:37 +00:00
Paul Gilbert
0a5b86736c Bugfix to prevent pathfinder failure after making a small step
svn-id: r24687
2006-11-12 04:39:10 +00:00
Travis Howell
5c72acb536 Set ROOM_EXIT_ANIMATION constant, to fix compile for now. Not sure if value is correct
svn-id: r24625
2006-11-05 08:22:33 +00:00
Paul Gilbert
64817e3887 Added display of the two special between room animations: falling down the chute and hiding in the barrel
svn-id: r24623
2006-11-05 06:56:58 +00:00
Paul Gilbert
99655b59d4 Added a save/restore game dialog class
svn-id: r24071
2006-10-02 12:49:57 +00:00
Paul Gilbert
1a96e26bf6 Added functionality to allow saving/loading the game state
svn-id: r24070
2006-10-02 12:48:56 +00:00
Paul Gilbert
e8623fa477 Added methods for push/pop cursors
svn-id: r24069
2006-10-02 12:47:29 +00:00
Max Horn
4c14cf6d1a Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
919092e5fc Overhaul of the debugger code
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
  restrictions)
* Change the base Debugger class to *not* be a template class anymore;
  instead, a thin (template based) wrapper class is used to hook up
  debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
  version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
  the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore

svn-id: r23890
2006-09-16 16:58:27 +00:00
Max Horn
a2dc897fe5 Reduce code duplication
svn-id: r23888
2006-09-16 15:01:14 +00:00
Chris Apers
a851fb353c Make Lure run again on PalmOS fixing unaligned read
svn-id: r23865
2006-09-10 16:29:06 +00:00
Johannes Schickel
8271f1f0dc Makes lure compile with msvc8 again.
svn-id: r23861
2006-09-10 13:09:04 +00:00
Chris Apers
8b13bce6e9 Fixed compilation
svn-id: r23836
2006-09-09 09:09:19 +00:00
Paul Gilbert
d9b5129fb8 Transferred all previously hard-coded English in-game text to a resource
svn-id: r23831
2006-09-07 11:21:20 +00:00
Paul Gilbert
7a0eddeedd Fixed error message that still referred to disk0.vga
svn-id: r23829
2006-09-05 12:17:14 +00:00
Paul Gilbert
92f2e9691e Fixed handling of player occupied areas during room changes
svn-id: r23826
2006-09-03 08:39:06 +00:00
Paul Gilbert
816cc1a62c Bugfix to only list rooms that have been found in the Tell action 'Go To' command
svn-id: r23825
2006-09-03 05:04:58 +00:00
Paul Gilbert
e5fcd5ff2d Changed name of HOTSPOTFLAG_HIGHLIGHTED to HOTSPOTFLAG_FOUND to make it's use clearer
svn-id: r23824
2006-09-03 05:03:50 +00:00
Paul Gilbert
3b994a6a78 Changed name of HOTSPOTFLAG_HIGHLIGHTED to HOTSPOTFLAG_FOUND to make it's use clearer
svn-id: r23823
2006-09-03 05:03:14 +00:00
Paul Gilbert
037f04325d Added code fragment to mark a room as found when the player enters it
svn-id: r23822
2006-09-03 05:02:25 +00:00
Paul Gilbert
3e54f04f3d Implemented the Tell action handling, and added support for current actions with dynamic support data
svn-id: r23810
2006-08-30 12:19:05 +00:00
Paul Gilbert
e0d2b0764f Added word wrapping to the status line (necessary when giving long sets of Tell instructions)
svn-id: r23809
2006-08-30 11:48:43 +00:00
Paul Gilbert
7649160dde Committed recent disassembly efforts
svn-id: r23788
2006-08-27 11:57:30 +00:00
Paul Gilbert
2b06882a68 In progress work on tell command handling
svn-id: r23787
2006-08-27 11:48:41 +00:00
Paul Gilbert
37b4f2039a Added support for selecting a sequence of commands in response to the Tell action
svn-id: r23786
2006-08-27 11:47:03 +00:00
Paul Gilbert
1b60992052 Incremented version number
svn-id: r23785
2006-08-27 11:45:52 +00:00
Paul Gilbert
73b46369c1 Made the Memory::dealloc take a void * to make it easier to free any memory block type
svn-id: r23784
2006-08-27 11:44:39 +00:00
Paul Gilbert
af297a17a3 Added support for rooms in the ShowItems method, and adding alphabetic sorting of entries in action selection
svn-id: r23783
2006-08-27 11:43:09 +00:00
Paul Gilbert
a5c7282752 Added missing initialiser for current talking character
svn-id: r23782
2006-08-27 11:40:33 +00:00
Paul Gilbert
f871f569e6 Added data for room header flags and actions
svn-id: r23781
2006-08-27 11:38:55 +00:00
Paul Gilbert
488980d1b0 Added comments
svn-id: r23780
2006-08-27 11:37:38 +00:00
Paul Gilbert
389c7a403c changed references to StringData::getString to use two parameter version rather than passing NULL values
svn-id: r23697
2006-08-07 13:28:19 +00:00
Paul Gilbert
d80d6157b6 Incremented required data file version
svn-id: r23696
2006-08-07 13:27:28 +00:00
Paul Gilbert
ea90eb0699 Renamed hotspot talking destination character field to make it's use clearer
svn-id: r23695
2006-08-07 13:26:30 +00:00
Paul Gilbert
b1dbf7328f Reworked the talk dialog system to properly handle destination character and active item Id. Also completed ASK action handler
svn-id: r23694
2006-08-07 13:24:45 +00:00
Paul Gilbert
9af1acc901 Fixed item overwriting destination character in ASK action
svn-id: r23693
2006-08-07 13:23:30 +00:00
Paul Gilbert
1a77d61ace Enhanced Room::setTalkDialog to be passed the destination character and active item hotspot Id
svn-id: r23692
2006-08-07 13:21:15 +00:00
Paul Gilbert
c0e600e0fa Fixed displayMessage script method to use the new Hotspot::showMessage
svn-id: r23691
2006-08-07 13:19:10 +00:00
Paul Gilbert
e911afb525 Dialog::showMessage transferred over to the Hotspot class. Also enhanced TalkDialog to handle being passed a destination character and active item
svn-id: r23690
2006-08-07 13:16:07 +00:00
Paul Gilbert
ba32b91688 Fixed signature of GetString method - it is a destination character passed, not the current action. Also added a new method to return a decoded string with the correct definite article prefix (a/an/the)
svn-id: r23689
2006-08-07 13:13:20 +00:00
Paul Gilbert
9f74320aef Reduced MD5 checking to 1Kb, and recalculated MD5 strings
svn-id: r23686
2006-08-06 09:18:38 +00:00
Max Horn
4a80db4c7b * Added copyright string to all engine plugins
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)

svn-id: r23645
2006-07-31 13:41:21 +00:00
Paul Gilbert
1f8066c333 Added proper item selection handling for the ASK action
svn-id: r23632
2006-07-30 12:15:52 +00:00
Paul Gilbert
0849e46541 Added a popup menu method for listing the items presented in response to an ASK action
svn-id: r23631
2006-07-30 12:13:26 +00:00
Paul Gilbert
6fa9819377 Added constants for known hotspot flags, and added line to flag hotspots that have been highlighted with the cursor
svn-id: r23630
2006-07-30 12:12:18 +00:00
Paul Gilbert
906f36a323 Added script method for changing the current hotspot header flags mask byte
svn-id: r23629
2006-07-30 12:10:44 +00:00
Paul Gilbert
2b4518d8a9 Added a field value for the current hotspot header flags mask byte
svn-id: r23628
2006-07-30 12:09:51 +00:00
Torbjörn Andersson
c32076e5d0 Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
for consistency with other #includes.

svn-id: r23585
2006-07-23 16:13:26 +00:00
Torbjörn Andersson
eabe720a0e Changed __lure_res_h__ to LURE_RES_H etc for consistency.
svn-id: r23584
2006-07-23 15:32:14 +00:00
Torbjörn Andersson
602548cea3 Removed GCC_PACK that must have been re-added by accident.
svn-id: r23581
2006-07-23 15:01:21 +00:00