Commit Graph

130 Commits

Author SHA1 Message Date
Paul Gilbert
26210ad976 Bugfix to stop characters changing rooms if the entrance in the other room is blocked by another NPC
svn-id: r36144
2009-01-30 12:22:30 +00:00
Paul Gilbert
8315753dda Bugfix to allow characters to start moving when some other object (such as a door) has marked part of the area the character is standing on as occupied
svn-id: r36120
2009-01-28 10:27:14 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Paul Gilbert
8706081b82 Bugfix to prevent NPC characters managing to walk beyond room exits without leaving the room, and thus getting stuck
svn-id: r34737
2008-10-04 11:10:25 +00:00
Torbjörn Andersson
0dcfa7b3df Fixed warning. (The 'anim' variable shadowed the anim() function.)
svn-id: r31421
2008-04-06 12:17:41 +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
Paul Gilbert
9ac46607fc Bugfix for loading older savegame versions
svn-id: r30879
2008-02-16 05:12:32 +00:00
Paul Gilbert
e32e1b732c Changed array of method pointers to case statement to fix compiler error in earlier versions of gcc
svn-id: r30672
2008-01-28 11:28:49 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Paul Gilbert
2195528ca0 Got rid of the experimental NPC Schedule store in favour of moving the NPC schedules from the active hotspot class back into the hotspot data class, similiar to how the original game implements them
svn-id: r30629
2008-01-24 08:14:48 +00:00
Paul Gilbert
4511ba81a4 Bugfix for logging the description of actions being done
svn-id: r30532
2008-01-17 11:18:30 +00:00
Paul Gilbert
a5a4a6fde5 Bugfix for actors getting stuck (losing their schedule)
svn-id: r30435
2008-01-12 06:34:11 +00:00
Paul Gilbert
b14da0b02c Fix for debug logging of the current action name
svn-id: r30386
2008-01-10 21:32:49 +00:00
Torbjörn Andersson
89f15fe482 Fixed warnings.
svn-id: r30379
2008-01-10 19:06:38 +00:00
Paul Gilbert
d804bad551 Replaced the Blacksmith hack with an NPC Schedules list that stores the active schedule of an NPC when it's deactivated in case it's later reactivated again.
svn-id: r30378
2008-01-10 13:37:34 +00:00
Paul Gilbert
6d4d02a27f Bugfix for #1866784 - Castle Skorl can be activated multiple times
svn-id: r30354
2008-01-09 12:36:58 +00:00
Paul Gilbert
af443ba924 Bugfix for #1866782 - fixes the issue with the Blacksmith being reactivated after earlier being deactivated in the middle of hammering the anvil
svn-id: r30353
2008-01-09 11:14:15 +00:00
Paul Gilbert
cd23db6ce8 Changed method parameter name to prevent shadowing warning
svn-id: r30340
2008-01-08 06:18:33 +00:00
Paul Gilbert
965eddf0dc Enhanced NPC walk-to logic to handle separately several special Ids that were previously handled identically
svn-id: r30339
2008-01-08 06:13:55 +00:00
Paul Gilbert
660d9a89d7 Bugfix for #1865552 - crash when waiting for patrol. Incorrect value was being passed to retrieve a hotspot pointer
svn-id: r30336
2008-01-08 03:09:00 +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
13cb1e710f Fix to use correct EGA/VGA colour when displaying talk conversation options
svn-id: r30230
2008-01-05 10:37:36 +00:00
Paul Gilbert
3b658492f5 Fix to make EGA sprites appear correctly
svn-id: r30140
2008-01-02 07:14:02 +00:00
Paul Gilbert
2c5ae92b4c Added ability for both middle and right mouse buttons to abort a conversation when waiting for user to select a conversation option from a list of topics
svn-id: r30071
2007-12-29 10:38:30 +00:00
Paul Gilbert
16b610068d Fix for correct dialog sequence when giving an object to an arbitrary NPC
svn-id: r30063
2007-12-28 22:56:22 +00:00
Paul Gilbert
ae06d5337e Bugfix to correctly display a message when a used item is no longer in the room
svn-id: r30037
2007-12-28 07:46:21 +00:00
Paul Gilbert
ada25791c6 Bugfix for action perform timeout to correctly show an question mark bubble. Also changed a writeSint16LE call to be more correctly writeUint16LE
svn-id: r30026
2007-12-28 04:00:15 +00:00
Paul Gilbert
a9ced688bc Bugfix for followers doing an Ask action in another room
svn-id: r29869
2007-12-16 03:47:24 +00:00
Paul Gilbert
4a8cca094c Bugfix to make the Use action work correctly
svn-id: r29824
2007-12-11 09:20:24 +00:00
Paul Gilbert
04bfc7158a Bugfix to correctly display a hotspot name in message dialogs that include it
svn-id: r29776
2007-12-09 10:39:50 +00:00
Paul Gilbert
f89dbfe91c Added code to set ACTIVE_HOTSPOT_ID and USE_HOTSPOT_ID fields correctly when an action is performed
svn-id: r29775
2007-12-09 10:08:41 +00:00
Paul Gilbert
770d0b88d6 Added extra debug statements
svn-id: r29774
2007-12-09 06:06:22 +00:00
Paul Gilbert
41f8a2ff6a Added extra debug statements
svn-id: r29773
2007-12-09 05:59:01 +00:00
Paul Gilbert
870edd1b58 Bugfix so player will move out of the way if he's blocking an entrance a character is entering by
svn-id: r29746
2007-12-07 12:01:44 +00:00
Paul Gilbert
f313c83ccd Fix for bug 1843961: Assertion on talking to a NPC - initial 'hey wait' dialog was resetting the destination character just before the conversation started
svn-id: r29743
2007-12-07 08:16:52 +00:00
Paul Gilbert
11e29ca4d4 Bugfix to make any animation the player is doing uninterruptable
svn-id: r29690
2007-12-02 04:52:01 +00:00
Paul Gilbert
7bc6a3a47a Changed assert for missing animation to explicitly give the animation Id
svn-id: r29684
2007-12-01 23:57:22 +00:00
Paul Gilbert
a4bbdd2292 Fixed call to create puzzled/exclamation voice bubbles
svn-id: r29623
2007-11-24 09:47:19 +00:00
Paul Gilbert
40abab62af Removed deprecated language variable
svn-id: r29605
2007-11-22 10:13:43 +00:00
Paul Gilbert
b6fbe6ec4e Changed animation constants to clarify standard indexes versus custom voice bubble Ids
svn-id: r29603
2007-11-22 10:09:26 +00:00
Paul Gilbert
7b458c96b0 Bugfix to only delay showing a new talk dialog if there isn't one active in the current room
svn-id: r29550
2007-11-18 06:16:58 +00:00
Paul Gilbert
813ca5cf39 Added missing code to deactivate animations that have finished
svn-id: r29536
2007-11-17 10:49:14 +00:00
Paul Gilbert
4987cde3a1 Changed default value of _walkFlag in Hotspot constructor
svn-id: r29527
2007-11-17 08:42:23 +00:00
Paul Gilbert
85be70f65b Fixed a direct access causing endian problems
svn-id: r29519
2007-11-16 22:59:40 +00:00
Paul Gilbert
ca2641b70f Changed conversation guards so that the player talking will only be paused if there's another active conversation that's in the same room
svn-id: r29516
2007-11-16 08:59:18 +00:00
Paul Gilbert
6f23a38c12 Added guard to prevent a character being reset to a default direction frame after a call to SetDirection if they're already facing in that direction - fixes some characters alternating frames
svn-id: r29514
2007-11-16 07:47:43 +00:00
Paul Gilbert
4bfa437887 Bugfix to make player walk over to Goewin when talking to her
svn-id: r29513
2007-11-16 07:32:03 +00:00
Paul Gilbert
ced8d602a7 Bugfix to have NPC stand still during showMessage talk actions
svn-id: r29512
2007-11-16 06:53:18 +00:00