Commit Graph
77 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 04eacfa7d3 LURE: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Colin Snover b0eb5caa51 LURE: Stop taking address of unaligned pointer
While usage of these pointers was technically safe because they
were read through an alignment-aware API, taking the address of an
unaligned pointer was generating warnings in Clang, and is not
strictly necessary here. This change solves the warning and also
protects this code from any future change that might cause it to
start reading unsafely.
2017-11-07 22:57:33 -06:00
Paul Gilbert 594be43d79 LURE: Fix spelling of Observar in Spanish version 2015-11-16 20:54:17 -05:00
Johannes Schickel b03ca0e80a LURE: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Christoph Mallon e40ba4c135 JANITORIAL: Simply use *x instead of *x.get() on smart pointers. 2012-03-13 15:43:59 +01:00
Christoph Mallon 612bfe4092 JANITORIAL: Remove dead code. 2012-03-13 15:43:41 +01:00
Johannes Schickel 61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Matthew Hoops 9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn 84184aabc0 ALL: colour -> color 2011-04-14 14:12:35 +02:00
Max Horn a1dd7a07a1 ENGINES: Remove some 'using' statements
svn-id: r54001
2010-11-01 16:00:17 +00:00
Paul Gilbert c19c9482b2 LURE: Bugfix for #3008511 - Goewin stuck at counter
svn-id: r53029
2010-10-05 10:50:22 +00:00
Paul Gilbert eb4e7b4c77 Bugfix for making Goewin more smoothly follow player out of the caves
svn-id: r48813
2010-04-27 11:00:43 +00:00
Paul Gilbert e3d354f63c Bugfix for reactivating an NPC when it was previously deactivated at precisely the moment when it was about to do a pathfinding
svn-id: r46189
2009-11-29 09:02:02 +00:00
Max Horn f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00
Johannes Schickel ac5a6552ca Switched LURE to use a single central RandomSource instance, instead of (sometimes) creating a new RandomSource every function call.
svn-id: r43715
2009-08-24 23:04:25 +00:00
Paul Gilbert 2b945eabf1 Bugfix for Castle Skorl problem reported on the list
svn-id: r43507
2009-08-18 12:25:04 +00:00
Johannes Schickel 7e71865e91 Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
2009-07-25 12:59:46 +00:00
Paul Gilbert b3a7e53794 Bugfix for #2480853 - Skorl doesn't follow Minnow into Cellar
svn-id: r35695
2009-01-03 11:35:00 +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
Christopher Page 203f62ad7c LURE: Fixed some memory leaks when returning to the launcher from the LURE engine
svn-id: r32357
2008-05-28 23:28:11 +00:00
Johannes Schickel 600ab40bca Changed all delete [] usages to delete[].
svn-id: r31927
2008-05-07 14:31:45 +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 b6f39fb8fb Adjusted the colour of the EGA cursors to match the original game
svn-id: r30146
2008-01-02 11:45:59 +00:00
Paul Gilbert 977c9fb5f3 Enhanced cursor code to handle cursors in EGA mode
svn-id: r30143
2008-01-02 11:15:36 +00:00
Paul Gilbert 1dd2e32fc0 Added extra palette handling for EGA palettes
svn-id: r30097
2007-12-31 05:58:22 +00:00
Paul Gilbert a54f9c311a Fix to ensure any active conversation data or selected hotspot is cleared when restoring or restarting a game
svn-id: r30066
2007-12-29 04:25:26 +00:00
Paul Gilbert 5e29703ea8 Bugfix for Town Hall room: Captive Goewin's bounds were frequently and incorrectly preventing the player from talking to the Skorl
svn-id: r29957
2007-12-23 10:52:18 +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 41f8a2ff6a Added extra debug statements
svn-id: r29773
2007-12-09 05:59:01 +00:00
Paul Gilbert 692d64f934 Added some more code to the savegame load process to correctly handle previously saved savegames (from version 25)
svn-id: r29693
2007-12-02 08:32:21 +00:00
Paul Gilbert 804c821ab1 Enhanced savegames to store any active dialog when the game was saved
svn-id: r29689
2007-12-02 04:49:33 +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 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 2e3866b6f4 Identified some more Endian issues (thanks to Max)
svn-id: r29533
2007-11-17 10:21:27 +00:00
Paul Gilbert 1002a58f01 Cleaned up the logic of the activateHotspot method
svn-id: r29525
2007-11-17 06:52:35 +00:00
Paul Gilbert fe690d5688 Bugfix for talk dialog not closing if the same character talks twice in immediate succession
svn-id: r29515
2007-11-16 08:54:38 +00:00
Paul Gilbert 24303fb953 Expanded talk routines so that characters now properly stand still only when they're meant to
svn-id: r29471
2007-11-10 22:47:11 +00:00
Paul Gilbert 09d706481b Added loading of new give talk Id list
svn-id: r29167
2007-10-07 11:09:20 +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
Eugene Sandulenko 77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +00:00
Paul Gilbert 041bb546c6 Bugfix to keep language strings in memory across restarts
svn-id: r28916
2007-09-16 04:05:56 +00:00
Max Horn 4a302b25ad Lots of source code formatting corrections
svn-id: r28887
2007-09-10 13:17:20 +00:00