Commit Graph

234 Commits

Author SHA1 Message Date
Paul Gilbert
643735e8a4 Bugfix for random destination setting so NPCs don't walk outside the valid walkable areas of a room
svn-id: r26747
2007-05-05 01:00:01 +00:00
Paul Gilbert
91fb83a72f Bugfix to prevent characters stopped by a right-hand non-walkable area then being able to walk through it
svn-id: r26744
2007-05-04 09:16:55 +00:00
Paul Gilbert
aba02a6811 Bugfix for characters freezing after talking when in a different room than the player, and fixed NPC to NPC conversations
svn-id: r26740
2007-05-03 05:06:10 +00:00
Paul Gilbert
ab78c626f4 Fix for saving the game when an NPC is doing a non-scripted action
svn-id: r26734
2007-05-02 03:18:11 +00:00
Paul Gilbert
d449697aa5 Cleaned up the script engine opcodes, added debug names for recently added script methods, and bugfix to method that was causing a crash in the first room
svn-id: r26681
2007-04-30 07:58:09 +00:00
Paul Gilbert
2cb3b5a9c6 Added NPC to NPC talk action, and a bugfix for when remote viewing a room
svn-id: r26680
2007-04-30 07:56:45 +00:00
Paul Gilbert
885f687ae5 Reworked hotspot actions so that talking to characters work properly
svn-id: r26675
2007-04-29 11:30:29 +00:00
Max Horn
960f7cd75a Moved lure detection code into a new detection.cpp file
svn-id: r26625
2007-04-27 20:32:09 +00:00
Max Horn
d4660cce55 Removing more semicola
svn-id: r26597
2007-04-26 19:08:53 +00:00
Paul Gilbert
307506df9c General bugfixes, added animation handlers for creating potion and freeing Goewin, and in-progress work on completing original game's action precheck code
svn-id: r26572
2007-04-22 22:42:01 +00:00
Paul Gilbert
fdea5abb34 Added code to prevent NPCs from moving when being talked to
svn-id: r26546
2007-04-19 06:46:56 +00:00
Paul Gilbert
f9a32ff7d2 Bugfix for Grub's animation handler
svn-id: r26538
2007-04-17 03:48:51 +00:00
Paul Gilbert
23a86ea571 Bugfix to have multiple savegame names list vertically
svn-id: r26537
2007-04-17 03:47:47 +00:00
Paul Gilbert
258ab37a9a Altered message display to correctly handle optional display of hotspot/character article prefixes
svn-id: r26491
2007-04-15 12:12:21 +00:00
Paul Gilbert
2d617677df Bugfix to have Ratpouch correctly follow player, and new object animation handlers added
svn-id: r26487
2007-04-15 10:49:59 +00:00
Paul Gilbert
3586004c96 Bugfix to restore the correct part of the screen when the menu changes
svn-id: r26486
2007-04-15 10:44:37 +00:00
Paul Gilbert
e01efe4004 Added new script methods
svn-id: r26485
2007-04-15 10:43:31 +00:00
Travis Howell
c838ae690b Fix a few Valgrind warnings.
svn-id: r26484
2007-04-15 08:34:53 +00:00
Paul Gilbert
98bd127504 Gave proper names to previously unknown/partially-known constants
svn-id: r26467
2007-04-14 11:00:29 +00:00
Torbjörn Andersson
099ffb9cf0 Fixed warning.
svn-id: r26466
2007-04-14 05:02:12 +00:00
Paul Gilbert
68225f7896 Implemented handling for barmen (rooms 29, 32, and 35)
svn-id: r26464
2007-04-14 03:48:24 +00:00
Paul Gilbert
8be6153533 Added script method for barmen serving player
svn-id: r26463
2007-04-14 03:46:30 +00:00
Paul Gilbert
a35e5a42be Adjusted word wrapping width in talk dialogs
svn-id: r26457
2007-04-13 03:34:20 +00:00
Paul Gilbert
a2db95daee Bugfix to prevent a used item in give actions from not getting pased to the talk dialog for display
svn-id: r26447
2007-04-10 03:20:50 +00:00
Paul Gilbert
89a29e32bf Added in more character tick handlers
svn-id: r26368
2007-04-02 06:03:47 +00:00
Paul Gilbert
5a313074bc Bugfix to correctly remove an item from a character's inventory when it is deactivated
svn-id: r26338
2007-04-01 11:48:54 +00:00
Paul Gilbert
3abdfa46f9 Bugfix for strings that wrapped near a carriage return character
svn-id: r26337
2007-04-01 11:47:35 +00:00
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