Commit Graph

207 Commits

Author SHA1 Message Date
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn
15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +00:00
Max Horn
a6f3ed8173 Got rid of Lure::System
svn-id: r26155
2007-03-17 00:39:18 +00:00
Paul Gilbert
c4260e7d8f Added support for Blacksmith's hammering animation and added Morkus' animation handler
svn-id: r26003
2007-03-06 08:24:52 +00:00
Paul Gilbert
41574458fc Added animation handler for standard characters that can be talked to
svn-id: r25888
2007-02-26 22:56:02 +00:00
Paul Gilbert
4f8c66b4cc Added saving of the random actions set state, and implemented NPC opcode 29, which allows for an NPC to be given a custom talk record
svn-id: r25875
2007-02-26 02:50:23 +00:00
Paul Gilbert
0c899f82ab Syntax fixes to conform to ScummVM coding standards
svn-id: r25781
2007-02-22 08:17:41 +00:00
Paul Gilbert
7ac767a2ba Added proper support for the random actions your sidekick can do in each room
svn-id: r25780
2007-02-22 06:29:09 +00:00
Max Horn
348b72e107 Improved (I hope) the 'Unknown MD5' messages in our detectors a little bit
svn-id: r25695
2007-02-18 18:07:32 +00:00
Paul Gilbert
6e0c500bc1 Added line to ensure the current room number field variable is kept up to date
svn-id: r25648
2007-02-17 03:42:43 +00:00
Paul Gilbert
c4cbf9dc92 Added some asserts to setSupportData method to ensure the passed variables are valid
svn-id: r25647
2007-02-17 03:41:41 +00:00
Paul Gilbert
409657cc15 Added animation handler for Catriona (woman in Smithy)
svn-id: r25638
2007-02-16 23:17:00 +00:00
Paul Gilbert
5bd19f022a Added sub-option to hotspot command to allow the activation or deactivation of hotspots
svn-id: r25622
2007-02-16 04:50:42 +00:00
Paul Gilbert
75c74574e8 Bugfix to pathfinder that resulted in some characters bouncing between two rooms
svn-id: r25621
2007-02-16 04:49:15 +00:00
Paul Gilbert
97bb233663 Revised previously committed guard to comply to ScummVM coding standard
svn-id: r25620
2007-02-16 03:49:34 +00:00
Max Horn
62bd2a1544 Make use of md5_file_string
svn-id: r25593
2007-02-14 21:59:57 +00:00
Paul Gilbert
31c0cb7f13 Added proper support for showing a hotspot or character's name in dialogs where the message contains a placeholder mark for it
svn-id: r25582
2007-02-14 02:37:53 +00:00
Paul Gilbert
2ef15f51a7 Added guard to prevent crashing if a hospot or character name is needed and was not provided
svn-id: r25581
2007-02-14 02:35:48 +00:00
Paul Gilbert
64fb3fad3f Bugfix to clipping so player's feet aren't visible in the corner of the screen as the chute is exited
svn-id: r25455
2007-02-10 03:45:06 +00:00
Max Horn
81ec51b8f7 Turned two comments into doxygen comments
svn-id: r25451
2007-02-09 17:47:55 +00:00
Max Horn
a49c22290f fix warning
svn-id: r25450
2007-02-09 17:17:08 +00:00
Paul Gilbert
3dfd1cbda8 Removed redundant line used during testing
svn-id: r25443
2007-02-09 11:03:58 +00:00
Paul Gilbert
a5047b599a Added 'room' command to show room information
svn-id: r25442
2007-02-09 10:59:15 +00:00
Paul Gilbert
87b3f2c6d8 Added new flag for blocked characters and extra checking of dynamic support records versus static schedule entry records
svn-id: r25441
2007-02-09 10:58:06 +00:00
Paul Gilbert
6391e49ee5 Improved character blocked/bumped handling
svn-id: r25440
2007-02-09 10:56:31 +00:00
Paul Gilbert
b79883f3af Removed use of static support data record for player to simplify save process
svn-id: r25439
2007-02-09 10:54:55 +00:00
Paul Gilbert
7f41b6914b Removed use of static support data record for player to simplify save process
svn-id: r25438
2007-02-09 10:54:07 +00:00
Paul Gilbert
f7958231be Bugfix to fix crash when Ratpouch chooses an in-room random destination
svn-id: r25333
2007-02-02 08:35:17 +00:00
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