aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/walk.cpp
AgeCommit message (Collapse)Author
2007-07-29Cleanup.Nicola Mettifogo
svn-id: r28315
2007-07-27- Moved disk code for Nippon Safes in new file disk_ns.cpp, adding _ns ↵Nicola Mettifogo
suffix to classes and member functions. - Added function stubs into new file disk_br.cpp for Big Red Adventure [IT STILL CRASHES!]. - Modified engine to create the proper Disk manager object. svn-id: r28246
2007-07-26Made screen size parameters properties of engine instead of compile-time ↵Nicola Mettifogo
constants. svn-id: r28219
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-13cleanupNicola Mettifogo
svn-id: r26834
2007-04-23Fixed paths. (Short comment for big achievement).Nicola Mettifogo
svn-id: r26586
2007-04-23Fixed walking bug: random nodes aren't inserted in the walk path anymore.Nicola Mettifogo
svn-id: r26577
2007-04-15Fixed some memory leaks.Nicola Mettifogo
svn-id: r26483
2007-04-11- Moved Zone and Animation to List<>.Nicola Mettifogo
- Removed any reference to Node from codebase. svn-id: r26452
2007-04-09- moved walk code to List<>Nicola Mettifogo
- some adjustments to #include statements svn-id: r26424
2007-04-07Explicit constructor invoked when instancing WalkNode.Nicola Mettifogo
svn-id: r26406
2007-04-07Reduced dependency between project files, and prepared defs.h for deletion ↵Nicola Mettifogo
as soon as List<>'s usage is implemented. svn-id: r26400
2007-04-07Turned free___() routines into proper destructors for Zone, Animation and ↵Nicola Mettifogo
Program, and added memo comments for porting the engine to Common::List<>. svn-id: r26399
2007-03-24made more functions members of ParallactionNicola Mettifogo
svn-id: r26294
2007-03-22unrolled loop in buildWalkPath and renamed some variablesNicola Mettifogo
svn-id: r26276
2007-03-21- moved buildWalkPath inner loop into a new functionNicola Mettifogo
- renamed some variables in buildWalkPath - deleted an old extern for buildWalkPath svn-id: r26272
2007-03-21got rid of cryptic pseudo-boolean variable in buildWalkPathNicola Mettifogo
svn-id: r26269
2007-03-20replaced some x,y/left,top pairs with Common::PointNicola Mettifogo
svn-id: r26262
2007-03-20some refactoring for walking codeNicola Mettifogo
svn-id: r26260
2007-03-19made Animation a subclass of Zone (finally!)Nicola Mettifogo
svn-id: r26244
2007-03-18- added constructors for most structsNicola Mettifogo
- structs are now allocated via new instead of malloc's - respective free's have been replaced with delete svn-id: r26228
2007-03-18changed code to use WalkNode constructorsNicola Mettifogo
svn-id: r26227
2007-03-18- Made global Node's (_zones, _animations, _helperNode) and the functions ↵Nicola Mettifogo
using them members of the engine. - Added a constructor for Node svn-id: r26226
2007-03-18hidden _cnv member of Animation from callersNicola Mettifogo
svn-id: r26217
2007-03-18converted DoorData and Zone to Common::PointNicola Mettifogo
svn-id: r26215
2007-03-18converted walk routines to use Common::PointNicola Mettifogo
svn-id: r26213
2007-03-17added getters for width and height in Zone and AnimationNicola Mettifogo
svn-id: r26183
2007-03-17split Zone::_oldPosition in two membersNicola Mettifogo
svn-id: r26182
2007-03-17Flattened anonymous union in Zone. Its members have been partially merged.Nicola Mettifogo
svn-id: r26181
2007-03-17- Made Node a superclass for Zone, WalkNode, Command, Instruction, Program ↵Nicola Mettifogo
and Job. - Moved Job list management inside Parallaction (because constructors for global variables are not always invoked on some platforms) svn-id: r26164
2007-03-17some renaming to shorten linesNicola Mettifogo
svn-id: r26159
2007-03-17gathered character related stuff into a new struct Character, and modified ↵Nicola Mettifogo
calling code accordingly svn-id: r26158
2007-03-12moved background path buffer management into walk.cppNicola Mettifogo
svn-id: r26117
2007-03-12renamed Graphics class to Gfx and Parallaction::_graphics to ↵Nicola Mettifogo
Parallaction::_gfx to shorten lines and avoid aliasing with framework's Graphics svn-id: r26111
2007-03-12The only uses for StaticCnv::_data2 were by Get and Door zones, so a new ↵Nicola Mettifogo
field has been added to those structure and _data2 has been deleted. Some graphic routines has been renamed to better reflect this change, too. svn-id: r26107
2007-03-11wrapped active location data into a new structureNicola Mettifogo
svn-id: r26085
2007-03-04replaced memAlloc/memFree with standard malloc/freeNicola Mettifogo
svn-id: r25962
2007-02-17Some indentation and format changes. Mostly replacing spaces with tabs.Torbjörn Andersson
svn-id: r25654
2007-01-18fixed walk bug: characters now walk along complex pathsNicola Mettifogo
svn-id: r25117
2007-01-17fixed broken tab widthsNicola Mettifogo
svn-id: r25111
2007-01-16added first debug messagesNicola Mettifogo
svn-id: r25106
2007-01-14Initial import of Parallaction engineEugene Sandulenko
svn-id: r25083