Commit Graph

36 Commits

Author SHA1 Message Date
Max Horn
efbef7880b Fixed code formatting (hanging braces); added static/const keywords to data tables; merged Hotspot::doLookAt and doLookThrough code
svn-id: r28880
2007-09-08 11:18:35 +00:00
Paul Gilbert
04f2c4e1e4 Added missing calls to the sound system
svn-id: r28552
2007-08-12 11:19:01 +00:00
Paul Gilbert
d03e3e9c87 Added code for hotspot fields I didn't originally understand
svn-id: r28457
2007-08-05 02:56:51 +00:00
Paul Gilbert
8b3821e9ff Lots of bugfixes - game is now completable
svn-id: r27606
2007-06-22 12:36:04 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Paul Gilbert
6a7b74d99d Reworked the pathfinder to directly return a pathfinding result, and added code to save the pathfinding state to a save game when it's in progress
svn-id: r26777
2007-05-07 12:16:05 +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
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
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
98bd127504 Gave proper names to previously unknown/partially-known constants
svn-id: r26467
2007-04-14 11:00:29 +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
89a29e32bf Added in more character tick handlers
svn-id: r26368
2007-04-02 06:03:47 +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
409657cc15 Added animation handler for Catriona (woman in Smithy)
svn-id: r25638
2007-02-16 23:17:00 +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
6391e49ee5 Improved character blocked/bumped handling
svn-id: r25440
2007-02-09 10:56:31 +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
1a96e26bf6 Added functionality to allow saving/loading the game state
svn-id: r24070
2006-10-02 12:48:56 +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
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
2b06882a68 In progress work on tell command handling
svn-id: r23787
2006-08-27 11:48:41 +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
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
Paul Gilbert
a20214e43a Rewrote the talk handling code
Added lots of debugging information
Partial support for characters bumping into each other
Player/NPC action handling generally improved
Added hard-coding for variable width frame animation of Ratpouch being released
Basic support for Ratpouch wondering around

svn-id: r23416
2006-07-08 08:42:58 +00:00
Paul Gilbert
5fa3985bcb Player now moves out of the way if he's blocking an entrance when an NPC enters. Also changed errors in unimplemented NPC actions to warnings
svn-id: r22731
2006-05-29 08:12:07 +00:00
Paul Gilbert
622c8b57e7 Reworked the DISPATCH current action to support NPC schedules like the original game does. Additionally added basic implementation of necessary support routines
svn-id: r22582
2006-05-23 12:43:42 +00:00
Paul Gilbert
1192f0dfca Enhanced hotspot action so that the player will properly walk to a hotspot before performing an action
svn-id: r22209
2006-04-29 11:22:05 +00:00
Paul Gilbert
b8c80af183 Added proper path finding code for rooms, as well as miscellaneous support methods
svn-id: r21784
2006-04-11 10:52:11 +00:00
Paul Gilbert
9496df6f1b Added basic support for conversations, as well as reworking the Hotspot class to allowing for non-hotspot animations like the floating talk icon during conversations
svn-id: r20768
2006-02-19 04:25:28 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00