Commit Graph

260 Commits

Author SHA1 Message Date
Max Horn
e1bcd70436 Re-added __attribute__(packed)
svn-id: r27830
2007-07-01 18:18:43 +00:00
Max Horn
6ef494ab28 Converted LURE code to use KEYCODEs
svn-id: r27668
2007-06-23 14:59:58 +00:00
Max Horn
2fa0a5c457 Cleaning up after myself (I blame it on, err, uhh... the Vogons?)
svn-id: r27625
2007-06-22 21:16:07 +00:00
Max Horn
54d668ac13 Changed more code to use Common::KEYCODE_ enum
svn-id: r27624
2007-06-22 21:10:57 +00:00
Torbjörn Andersson
73f760becd Don't include sdl_keysym.h. Use our Common::KEYCODE constants instead of SDLK
constants.

svn-id: r27609
2007-06-22 12:42:28 +00:00
Paul Gilbert
47bd4e500b Removed old debug input files no longer being used, and the Lure disassembly folder
svn-id: r27608
2007-06-22 12:40:30 +00:00
Paul Gilbert
5cb367681b Added entries for fights.cpp and sound.cpp
svn-id: r27607
2007-06-22 12:36:49 +00:00
Paul Gilbert
8b3821e9ff Lots of bugfixes - game is now completable
svn-id: r27606
2007-06-22 12:36:04 +00:00
Paul Gilbert
707e62e669 Implemented remaining script methods
svn-id: r27605
2007-06-22 12:31:27 +00:00
Paul Gilbert
5e92ea378f Initial commit
svn-id: r27604
2007-06-22 12:30:18 +00:00
Paul Gilbert
b923618844 Added extra information to some methods, and a new method to show an animation sequence
svn-id: r27603
2007-06-22 12:26:10 +00:00
Max Horn
c7c2cb498c Simplified LURE detection code a little bit
svn-id: r27466
2007-06-16 16:44:33 +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
5af5c3b0a7 Impelemented game as far as dragon cave entrance
svn-id: r26994
2007-05-28 11:38:57 +00:00
Paul Gilbert
75e87b4c8b Added saving of scheduled scripts, and set script activation times to match original game
svn-id: r26993
2007-05-28 11:38:10 +00:00
Paul Gilbert
5e0fd79a5a Implemented new script methods
svn-id: r26992
2007-05-28 11:36:59 +00:00
Paul Gilbert
30142129c0 Added saving of scheduled scripts, and set script activation times to match original game
svn-id: r26991
2007-05-28 11:36:08 +00:00
Paul Gilbert
6a1290a1d3 Reworked game saving so that restored games don't fire off hotspot activation scripts, and conversation bugfix to keep characters in place
svn-id: r26955
2007-05-27 04:33:19 +00:00
Paul Gilbert
8740e81d1f Bugfix to save whether each NPC has been identified, and correctly transform back from Selena
svn-id: r26935
2007-05-25 22:59:24 +00:00
Paul Gilbert
26b221a701 Added savegame code so characters correctly leave rooms after restoring a game
svn-id: r26888
2007-05-20 13:07:44 +00:00
Paul Gilbert
56bb400ef9 Fixed several room change, NPC behaviour, and door closing code
svn-id: r26887
2007-05-20 12:39:15 +00:00
Paul Gilbert
4a40ecb4df Added saving of the room walkable paths
svn-id: r26883
2007-05-20 07:25:53 +00:00
Paul Gilbert
8be618fb47 Bugfix to constrain savegame names to the dialog width
svn-id: r26882
2007-05-20 07:24:05 +00:00
Paul Gilbert
9631586ce8 Added code responsible for transforming the player back from Selena
svn-id: r26778
2007-05-07 12:17:24 +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
d2e56f7b66 Added saving of room exit join data in savefiles
svn-id: r26776
2007-05-07 12:10:32 +00:00
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