Torbjörn Andersson
0a18259d78
Used Fingolfin's workaround for a bogus (?) warning produced by some versions
...
of GCC. (Not the one he's using, though, which is why I'm doing this instead.)
svn-id: r25327
2007-02-01 20:16:32 +00:00
Paul Gilbert
bc9df7e5c9
Added custom load code for room #20 Notice
...
svn-id: r25317
2007-02-01 04:41:36 +00:00
Paul Gilbert
a83be36a97
Expanded the chute animation to display the full sequence as the player leaves the dungeon
...
svn-id: r25302
2007-01-31 02:34:55 +00:00
Paul Gilbert
33707d6e42
Added animation handler for the player exiting the sewer, and some bugfixes to allow Ratpouch to correctly open up the dungeon exit
...
svn-id: r25301
2007-01-31 02:33:20 +00:00
Paul Gilbert
0bd31443f9
Added constants for the dungeon bricks and chute animation resources
...
svn-id: r25300
2007-01-31 02:28:51 +00:00
Paul Gilbert
1996046121
Changed the coveredFlag to have an initial state distinct from true or false
...
svn-id: r25299
2007-01-31 02:28:04 +00:00
Paul Gilbert
9d474d6258
Added check to skip drawing hotspots in layer 1 if their skip flag is set
...
svn-id: r25298
2007-01-31 02:26:16 +00:00
Paul Gilbert
ee606dc143
Added script methods needed for leaving the dungeon
...
svn-id: r25297
2007-01-31 02:24:55 +00:00
Eugene Sandulenko
cd8a5f3a98
First phase of detection-related plugins interface improvements. Now plugins
...
return StringMap instead of fixed list of parameters. This adds great
flexibility.
Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.
svn-id: r25134
2007-01-20 21:27:57 +00:00
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