strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
David Turner
c6750a7a65
PARALLACTION: Minor Whitespace and code complexity reduction in walk.*
...
svn-id: r55280
2011-01-17 23:12:59 +00:00
David Turner
3ebf1e5962
PARALLACTION: Some Improvements To Big Red Adventure Walk Code.
...
* 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-17 23:00:52 +00:00
Willem Jan Palenstijn
fe51070977
Fix whitespace
...
svn-id: r48477
2010-04-02 22:14:18 +00:00
Max Horn
f9ecd95d69
Whitespace cleanup: Convert space followed by tab to just tab
...
svn-id: r39203
2009-03-07 19:24:31 +00:00
Nicola Mettifogo
76283e3f73
Merged walk code for NS, and simplified handling.
...
svn-id: r38894
2009-02-26 09:42:08 +00:00
Nicola Mettifogo
6334125d1c
Implemented follower support, except that:
...
* follower is forgotten when location changes (see freeLocation)
* the final walking frame is screwed
svn-id: r38838
2009-02-24 11:20:45 +00:00
Nicola Mettifogo
659c9fb901
Changed interface to walk code, to better handle the differences between games. Moreover:
...
* merged PathBuilder_BR into PathWalker_BR
* implemented checkTrap routine for BRA
svn-id: r38836
2009-02-24 08:42:46 +00:00
Nicola Mettifogo
774773b7cd
Reduced code duplication when manipulating Animations, and cleanup.
...
svn-id: r35408
2008-12-17 11:15:47 +00:00
Nicola Mettifogo
6e4d26fb70
Added rudimental support for location changes when walking through doors. The best part of this commit is that Doug now stops in a normal position.
...
svn-id: r33328
2008-07-27 10:37:54 +00:00
Nicola Mettifogo
b9d0e4dafb
Doug from BRA can now walk in his hotel room. He still stops in bizarre poses, though.
...
svn-id: r33325
2008-07-27 08:35:00 +00:00
Nicola Mettifogo
8245aa42b5
More cleanup.
...
svn-id: r33298
2008-07-26 05:56:39 +00:00
Nicola Mettifogo
34ff51d1c6
Cleanup.
...
svn-id: r33297
2008-07-26 05:37:52 +00:00
Nicola Mettifogo
7950a9183b
* Added walk calculations to BRA (doesn't walk yet, though).
...
* Adapted Character and Animation to handle both versions of the engine.
svn-id: r33296
2008-07-26 04:01:11 +00:00
Nicola Mettifogo
aee1284678
BRA now parses path data from the scripts.
...
svn-id: r33295
2008-07-26 02:09:50 +00:00
Nicola Mettifogo
1174296a66
Changed the remaining references to Nodes into Points.
...
svn-id: r33290
2008-07-25 16:08:10 +00:00
Nicola Mettifogo
3e08d36363
* Changed walk code to use Common::Point instead of the clumsy WalkNode.
...
* Changed walk code to use object copy instead of managing pointers.
svn-id: r33289
2008-07-25 16:01:25 +00:00
Nicola Mettifogo
d4c8d4e18f
Fixed usage of SharedPtr, so that reference counting is proper and there are no more objects that need constructors at global level (helps PalmOS).
...
svn-id: r31533
2008-04-17 09:32:57 +00:00
Nicola Mettifogo
3d1a2e2049
Replaced custom ManagedList with Common::SharedPtr.
...
svn-id: r31415
2008-04-06 05:40:02 +00:00
Nicola Mettifogo
56eed45317
Move low level background management into Gfx.
...
svn-id: r30681
2008-01-28 17:28:16 +00:00
Nicola Mettifogo
cce8e25960
Removed all job routines. Stubs have been left for future reference in the code for BRA.
...
svn-id: r30675
2008-01-28 13:10:49 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Nicola Mettifogo
6471eb84f2
Cleanup.
...
svn-id: r29556
2007-11-18 13:22:38 +00:00
Nicola Mettifogo
d30c3650a3
MaskBuffer and PathBuffer are now correctly freed before they are deallocated, and so is background Surface.
...
svn-id: r28483
2007-08-07 14:53:58 +00:00
Nicola Mettifogo
797f114aac
- Renamed BitBuffer to MaskBuffer
...
- 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
2007-08-06 22:03:17 +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
Nicola Mettifogo
ae63466446
cleanup
...
svn-id: r26834
2007-05-13 14:38:05 +00:00
Nicola Mettifogo
77afb85fcd
Fixed walking bug: random nodes aren't inserted in the walk path anymore.
...
svn-id: r26577
2007-04-23 17:07:09 +00:00
Nicola Mettifogo
a0dbf44ee1
- moved walk code to List<>
...
- some adjustments to #include statements
svn-id: r26424
2007-04-09 10:03:15 +00:00
Nicola Mettifogo
59b1538685
Reduced dependency between project files, and prepared defs.h for deletion as soon as List<>'s usage is implemented.
...
svn-id: r26400
2007-04-07 10:02:59 +00:00
Nicola Mettifogo
594296c3e3
oops forgot to add a file
...
svn-id: r26118
2007-03-12 22:54:04 +00:00