aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/walk.cpp
AgeCommit message (Collapse)Author
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
2008-04-06Replaced custom ManagedList with Common::SharedPtr.Nicola Mettifogo
svn-id: r31415
2008-01-28Removed all job routines. Stubs have been left for future reference in the ↵Nicola Mettifogo
code for BRA. svn-id: r30675
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2007-11-19Walk and script handling are now directly handled by the main loop, instead ↵Nicola Mettifogo
of relying on the job list. svn-id: r29568
2007-11-14* centralized kEngineChangeLocation flag handlingNicola Mettifogo
* simplified runGame, moving flags testing into called routines svn-id: r29504
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-02Cleanup: removed unneeded references to engine (_vm).Nicola Mettifogo
svn-id: r28826
2007-09-02Jobs are now members of the engine and are handled with a table, instead of ↵Nicola Mettifogo
being external functions. svn-id: r28824
2007-08-28Enforced use of character's feet coordinates throughout the walk code.Nicola Mettifogo
svn-id: r28760
2007-08-11Cleanup.Nicola Mettifogo
svn-id: r28525
2007-08-11Overhaul of background/mask/path handling:Nicola Mettifogo
- added new BackgroundInfo structure - added helper functions to aid management of BackgroundInfo. Engine is now responsible for allocation/deallocation. - simplified loading and handling of background resources. svn-id: r28524
2007-08-07MaskBuffer and PathBuffer are now correctly freed before they are ↵Nicola Mettifogo
deallocated, and so is background Surface. svn-id: r28483
2007-08-06- Renamed BitBuffer to MaskBufferNicola Mettifogo
- Added PathBuffer to handle 1-bit buffers for walkable areas - Changed relevant walk code to use PathBuffer objects for querying screen dimensions. svn-id: r28478