Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
84184aabc0
ALL: colour -> color
2011-04-14 14:12:35 +02:00
Paul Gilbert
db24b2a014
LURE: Fix for Valgrind identified memory leaks
...
svn-id: r54236
2010-11-14 00:35:13 +00:00
Max Horn
90b6cdfbdf
LURE: Remove all uses of (f)printf; cleanup
...
svn-id: r54106
2010-11-07 01:03:03 +00:00
Paul Gilbert
29a8cb651a
Bugfix for correctly getting a follower to return to player when blocked from exiting a room 5 times
...
svn-id: r48533
2010-04-05 06:07:14 +00:00
Max Horn
92c896d883
Patch #2973290 : Semicolon cleanup
...
svn-id: r48359
2010-03-22 20:28:08 +00:00
Max Horn
bce959e046
LURE: Remove evil 'using namespace' from header files
...
svn-id: r47396
2010-01-19 23:48:55 +00:00
Paul Gilbert
b9a0e32c3c
Changed NPC schedules to be loaded when an NPC is activated - this avoids an issue with the Castle Skorl's pre-activation room number being invalid room #99
...
svn-id: r34748
2008-10-05 10:25:35 +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
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
99e2c7c1d6
Fixed bug with saving of cached actor schedules and added saving of talk data flags
...
svn-id: r30582
2008-01-20 03:38:16 +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
1d4efdcaa1
Added proper reset of barmen data when game is restarted, and added missing barman data to savegames
...
svn-id: r30367
2008-01-10 09:42:51 +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
2b9859f2ff
Redeveloped the processing of language item article prefixes to match how the original handles the various languages
...
svn-id: r29833
2007-12-12 08:49:09 +00:00
Chris Apers
1cfadf725c
Hack to workaround struct padding added by some compilers (mainly on PalmOS)
...
svn-id: r29777
2007-12-09 10:39:57 +00:00
Paul Gilbert
4031b98349
Reworked the RoomResource structure to make the game easier to compile on PalmOS
...
svn-id: r29687
2007-12-02 01:17:51 +00:00
Paul Gilbert
547716a0df
Added a talkerId field to hotspots to better handle characters being talked to
...
svn-id: r29254
2007-10-24 10:09:06 +00:00
Paul Gilbert
d0d454c5da
Added new string Ids used for inventory display
...
svn-id: r29165
2007-10-07 11:06:48 +00:00
Paul Gilbert
cb2f6ce092
Fixed action lists to sort correctly for non-English languages
...
svn-id: r29144
2007-09-30 12:35:37 +00:00
Paul Gilbert
b4cff6b9bd
Converted fields in data that were originally offsets (such as tick proc offsets) to use indexes, allowing for more generic handling of different language versions
...
svn-id: r29073
2007-09-23 22:17:57 +00:00
Paul Gilbert
a19f337a0c
Changed ManagedList to make it more thread safe
...
svn-id: r28914
2007-09-16 04:03:50 +00:00
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