aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/hotspots.cpp
AgeCommit message (Collapse)Author
2019-11-15LURE: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2018-08-17JANITORIAL: Removing trailing spaces after int castsPaul Gilbert
2017-08-06LURE: Adjust switch fall through commentsPaul Gilbert
2017-08-06JANITORIAL: Silence more GCC 7 warningsTorbjörn Andersson
All these fall through were marked as deliberate, so again I've only changed the comment to silence GCC.
2016-05-16LURE: Fix potential buffer overrun introduced in 8577606Eugene Sandulenko
2016-05-13LURE: Safer string manipulationEugene Sandulenko
2014-02-18LURE: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-08LURE: Fix some formatting.Torbjörn Andersson
2013-07-19LURE: Added explicit comment to switch block fall-throughPaul Gilbert
2013-02-23ALL: Fix typo (existant->existent)Willem Jan Palenstijn
2012-03-13JANITORIAL: Simply use *x instead of *x.get() on smart pointers.Christoph Mallon
2012-03-13JANITORIAL: Make getters const.Christoph Mallon
2012-01-14LURE: Move readByte() call out of assert()Torbjörn Andersson
2011-12-08LURE: Reduce usage of 'goto'.D G Turner
Have refrained from changing the usage of 'goto' in the PictureDecoder class (decode.cpp) for the time being, as this class is using these in pseudo-x86 code which is complex and should be replaced anyway.
2011-11-03LURE: Fix warningsEugene Sandulenko
2011-09-09LURE: Fix crash caused by trying to talk to a character when an ask action ↵Paul Gilbert
is in progress
2011-06-30JANITORIAL: Silence a couple of "variable set but not used" warnings.eriktorbjorn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-14ALL: colour -> colorMax Horn
2010-11-07LURE: Remove all uses of (f)printf; cleanupMax Horn
svn-id: r54106
2010-10-13LURE: Bugfix for characters getting stuck in Abbey doorwayPaul Gilbert
svn-id: r53402
2010-10-06LURE: Fix for #3062794 - Diermot cannot leave room 7Paul Gilbert
svn-id: r53039
2010-10-05LURE: Bugfix for #3060480 - Ratpouch alternating between roomsPaul Gilbert
svn-id: r53026
2010-04-27Minor bugfix for the shop-keeper sequence when you're viewing through the ↵Paul Gilbert
window - it was supposed to check whether Gwyn, rather than Goewin, is not in the room before sticking his fingers in his ears svn-id: r48812
2010-04-21Fixed GCC warning about 'hotspotId' shadowing a member of 'this'. Let's callTorbjörn Andersson
the variable 'charId' instead, like in the debug messages where it's used. svn-id: r48759
2010-04-20Corrected a debug statement that could use an object field after the object ↵Paul Gilbert
was destroyed svn-id: r48741
2010-04-19Bugfix for correctly returning follower to player when they're blocked from ↵Paul Gilbert
acting svn-id: r48709
2010-04-14Added a default case for characters that don't have a message set, but try ↵Paul Gilbert
to display one svn-id: r48656
2010-04-05Corrected check to ensure return isn't issued if it's already in progressPaul Gilbert
svn-id: r48535
2010-04-05Bugfix for correctly getting a follower to return to player when blocked ↵Paul Gilbert
from exiting a room 5 times svn-id: r48533
2010-03-26Added explicit initialisation of NPC directions in the hotspot constructorsPaul Gilbert
svn-id: r48406
2010-01-19LURE: Remove evil 'using namespace' from header filesMax Horn
svn-id: r47396
2010-01-09Fix for a rare case where the NPC handler for Ewan the shopkeeper can cause ↵Paul Gilbert
an assert when you rejoin Goewin in the Weregate caves. svn-id: r47197
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-10-20LURE: Turn HotspotTickHandlers into a proper class; convert static vars in ↵Max Horn
various of its methods to member vars svn-id: r45285
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-08-24Switched LURE to use a single central RandomSource instance, instead of ↵Johannes Schickel
(sometimes) creating a new RandomSource every function call. svn-id: r43715
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-07-23Bugfix for player blocking room entrance causing NPCs trying to enter ↵Paul Gilbert
getting an excessive number of action entries svn-id: r42676
2009-01-30Bugfix to stop characters changing rooms if the entrance in the other room ↵Paul Gilbert
is blocked by another NPC svn-id: r36144
2009-01-28Bugfix to allow characters to start moving when some other object (such as a ↵Paul Gilbert
door) has marked part of the area the character is standing on as occupied svn-id: r36120
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-29Remove warnings from NDS build.Robin Watts
svn-id: r35172
2008-10-04Bugfix to prevent NPC characters managing to walk beyond room exits without ↵Paul Gilbert
leaving the room, and thus getting stuck svn-id: r34737
2008-04-06Fixed warning. (The 'anim' variable shadowed the anim() function.)Torbjörn Andersson
svn-id: r31421
2008-04-06Replaced ManagedList with Common::SharedPtr in the rest of the lure engineFilippos Karapetis
svn-id: r31420
2008-02-16Bugfix for loading older savegame versionsPaul Gilbert
svn-id: r30879
2008-01-28Changed array of method pointers to case statement to fix compiler error in ↵Paul Gilbert
earlier versions of gcc svn-id: r30672
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664