aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/walk.cpp
AgeCommit message (Collapse)Author
2014-02-18PARALLACTION: Make GPL headers consistent in themselves.Johannes Schickel
2012-09-27PARALLACTION: Clean up global variables a bit.Alyssa Milburn
2011-08-24PARALLACTION: Correct Previous Commit to Coding Conventions.D G Turner
2011-08-24PARALLACTION: Improve safety of PathBuffer Accesses in Pathfinding.D G Turner
2011-06-20ALL: Remove trailing whitespacesMax Horn
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-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-01-21PARALLACTION: Minor Whitespace fixup in walk.cppDavid Turner
svn-id: r55392
2011-01-18PARALLACTION: Fix Big Red Adventure Walking To Stop On Path Build Failure.David Turner
Walking now works correctly, with no valgrind issues, lockups or assertions. svn-id: r55281
2011-01-17PARALLACTION: Minor Whitespace and code complexity reduction in walk.*David Turner
svn-id: r55280
2011-01-17PARALLACTION: Some Improvements To Big Red Adventure Walk Code.David Turner
* Renamed and retyped "int _fieldC" to "bool _stillWalkingTowardsNode" to aid readability and clarity of code. Thanks to fuzzie for naming. * Added assertion to prevent use of invalid memory as reported by Valgrind when walk point p is constructed from an empty list. * Added code to stop walk if buildPath fails, though this causes an assertion instead currently. svn-id: r55279
2011-01-13PARALLACTION: Fixed Limit Values in Big Red Adventure Walker Code.David Turner
This corrects the Valgrind invalid reads associated with the IS_PATH_CLEAR() check reading beyond the data buffer and probably improves the pathfinding behaviour. Thanks to fuzzie for suggesting this patch. svn-id: r55231
2011-01-13PARALLACTION: Fix for Valgrind Uninitialized Error in Big Red Adventure Walk ↵David Turner
Code. svn-id: r55221
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-06-13Keep the balloon from getting stuck in an infinite loop when floating near ↵Nicola Mettifogo
the borders of the screen. See the detailed explanation in walk.cpp. svn-id: r49619
2010-06-13Improved debug output of BRA walk code.Nicola Mettifogo
svn-id: r49618
2010-04-28Make sure walk coordinate are valid before checking path buffer.Nicola Mettifogo
svn-id: r48846
2010-04-02Fix whitespaceWillem Jan Palenstijn
svn-id: r48477
2009-03-23Merged GetData, HearData, SpeakData, PathData, ExamineData, MergeData into ↵Nicola Mettifogo
TypeData struct. This simplifies life a bit especially in the parsers. svn-id: r39645
2009-03-23Implemented MOVE script instruction.Nicola Mettifogo
svn-id: r39623
2009-03-23Fully implemented scrolling.Nicola Mettifogo
svn-id: r39622
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-03-02Enabled walking delay for follower animation.Nicola Mettifogo
svn-id: r39067
2009-02-26Removed null*Ptr dummy objects, using SharedPtr's reset method to null ↵Nicola Mettifogo
pointers instead. svn-id: r38897
2009-02-26Merged walk code for NS, and simplified handling.Nicola Mettifogo
svn-id: r38894
2009-02-26Cleanup of CommandExec and ProgramExec, and pushed down dependencies from ↵Nicola Mettifogo
exec.h. svn-id: r38892
2009-02-25Updated all for(;;) loops to use prefix increment on iterators.Nicola Mettifogo
svn-id: r38876
2009-02-24Fixed shadowed name.Nicola Mettifogo
svn-id: r38841
2009-02-24Implemented follower support, except that:Nicola Mettifogo
* follower is forgotten when location changes (see freeLocation) * the final walking frame is screwed svn-id: r38838
2009-02-24Changed interface to walk code, to better handle the differences between ↵Nicola Mettifogo
games. Moreover: * merged PathBuilder_BR into PathWalker_BR * implemented checkTrap routine for BRA svn-id: r38836
2009-02-03Removed newlines from debug statements.Nicola Mettifogo
svn-id: r36208
2009-01-07Extended PathBuffer to support BRA.Nicola Mettifogo
svn-id: r35766
2009-01-07* moved more mask management to BackgroundInfoNicola Mettifogo
* simplified mask management for client code * reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp * preparation for the full implementation of BRA's PathBuffer svn-id: r35765
2008-12-17Reduced code duplication when manipulating Animations, and cleanup.Nicola Mettifogo
svn-id: r35408
2008-12-14Removed some unused code.Nicola Mettifogo
svn-id: r35357
2008-12-06Implemented horizontal scrolling for BRA, by using a back buffer. Dialogues ↵Nicola Mettifogo
in scrollable locations are a bit messed up for the moment. svn-id: r35253
2008-08-15Made coordinates and frame number protected into Zone and Animation, and ↵Nicola Mettifogo
changed client code to use get/set. This will allow various simplifications (e.g. when calculating Z), and is a step towards correct handling of interactive zones of Zone/Animation in BRA. svn-id: r33892
2008-07-28Enforcing use of nullZonePtr only for nulling out pointers, as it is useless ↵Nicola Mettifogo
for comparisons. svn-id: r33384
2008-07-27Added rudimental support for location changes when walking through doors. ↵Nicola Mettifogo
The best part of this commit is that Doug now stops in a normal position. svn-id: r33328
2008-07-27Doug from BRA can now walk in his hotel room. He still stops in bizarre ↵Nicola Mettifogo
poses, though. svn-id: r33325
2008-07-26More cleanup.Nicola Mettifogo
svn-id: r33298
2008-07-26Cleanup.Nicola Mettifogo
svn-id: r33297
2008-07-26* Added walk calculations to BRA (doesn't walk yet, though).Nicola Mettifogo
* Adapted Character and Animation to handle both versions of the engine. svn-id: r33296
2008-07-25Changed the remaining references to Nodes into Points.Nicola Mettifogo
svn-id: r33290
2008-07-25* Changed walk code to use Common::Point instead of the clumsy WalkNode.Nicola Mettifogo
* Changed walk code to use object copy instead of managing pointers. svn-id: r33289
2008-07-14Fixed regression in walk code. Now standing frames are correctly selected ↵Nicola Mettifogo
when the character encounters an unexpected blocking object in his/her path. svn-id: r33053
2008-07-13More refactoring of walk code.Nicola Mettifogo
svn-id: r33033
2008-07-13Cleanup of walk code.Nicola Mettifogo
svn-id: r33023
2008-07-11Moved program and command execution code out of the engine, into their own ↵Nicola Mettifogo
brand new classes. svn-id: r33003
2008-05-05- Moved some members from the engine class to Location, since they belong there.Nicola Mettifogo
- Cleaned up usage of location flags by using accessor functions. svn-id: r31872
2008-04-17Fixed usage of SharedPtr, so that reference counting is proper and there are ↵Nicola Mettifogo
no more objects that need constructors at global level (helps PalmOS). svn-id: r31533