Commit Graph

44 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
ca96ba431c Completed the restart/restore dialog screen and functionality
svn-id: r28714
2007-08-25 06:08:02 +00:00
Paul Gilbert
9a9d0cb0a5 Cleaned up structures for room exit joins
svn-id: r28550
2007-08-12 11:16:43 +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
Max Horn
e1bcd70436 Re-added __attribute__(packed)
svn-id: r27830
2007-07-01 18:18:43 +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
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
4a40ecb4df Added saving of the room walkable paths
svn-id: r26883
2007-05-20 07:25:53 +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
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
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
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
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
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
81ec51b8f7 Turned two comments into doxygen comments
svn-id: r25451
2007-02-09 17:47:55 +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
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
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
1a96e26bf6 Added functionality to allow saving/loading the game state
svn-id: r24070
2006-10-02 12:48:56 +00:00
Paul Gilbert
d9b5129fb8 Transferred all previously hard-coded English in-game text to a resource
svn-id: r23831
2006-09-07 11:21:20 +00:00
Paul Gilbert
f871f569e6 Added data for room header flags and actions
svn-id: r23781
2006-08-27 11:38:55 +00:00
Paul Gilbert
ea90eb0699 Renamed hotspot talking destination character field to make it's use clearer
svn-id: r23695
2006-08-07 13:26:30 +00:00
Paul Gilbert
2b4518d8a9 Added a field value for the current hotspot header flags mask byte
svn-id: r23628
2006-07-30 12:09:51 +00:00
Torbjörn Andersson
c32076e5d0 Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
for consistency with other #includes.

svn-id: r23585
2006-07-23 16:13:26 +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
Torbjörn Andersson
602548cea3 Removed GCC_PACK that must have been re-added by accident.
svn-id: r23581
2006-07-23 15:01:21 +00:00
Paul Gilbert
6585033705 Added extra hotspot flags bytes needed for asking Ratpouch for an object, and changed differing word read macros to use a single standard
svn-id: r23579
2006-07-23 13:19:33 +00:00
Max Horn
2859b64702 Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
svn-id: r23569
2006-07-22 17:28:48 +00:00
Max Horn
f59cf1fcdc Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
svn-id: r23547
2006-07-21 21:25:17 +00:00
Max Horn
f35f4a4d1c Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
svn-id: r23458
2006-07-09 13:01:15 +00:00
Paul Gilbert
c6b6a2e125 Added new hotspot runtime fields, a list for handling the details of paused characters (who have bumped into each other), and loading of newly added default character states from lure.dat
svn-id: r23410
2006-07-08 08:36:32 +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
6bac5a257e Added support structures for NPC schedules
svn-id: r22578
2006-05-23 12:37:43 +00:00
Paul Gilbert
8f1604e4cf Added load of new script offset field for NPC handling of hotspots
svn-id: r22235
2006-04-30 05:34:54 +00:00
Paul Gilbert
3e8763f454 Reworked resources to handle moved hotspot proximity (walk to) co-ordinates
svn-id: r22205
2006-04-29 11:15:03 +00:00
Paul Gilbert
f6b2cf2c6d Updated resource structures to add support for hotspot y corrections, proximity data, room walkable areas, and the room exit coordinate list
svn-id: r21779
2006-04-11 10:43:53 +00:00
Lars Persson
04151343a7 Compile fixes for VC6
svn-id: r21179
2006-03-09 13:54:36 +00:00
Paul Gilbert
5d8d871df3 Added new resources for conversations, cleaned up existing class names, and expanded hotspot resources to add newly understood fields
svn-id: r20763
2006-02-19 04:15:33 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00