aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/animation.cpp
AgeCommit message (Collapse)Author
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-18Reverting my last change.Nicola Mettifogo
svn-id: r26866
2007-05-16Replaced explicit bitmasks with function calls.Nicola Mettifogo
svn-id: r26855
2007-05-13cleanupNicola Mettifogo
svn-id: r26834
2007-05-13New debug messages.Nicola Mettifogo
svn-id: r26832
2007-05-12New debug strings and levels.Nicola Mettifogo
svn-id: r26812
2007-05-01Fix compilation (sigh).Nicola Mettifogo
svn-id: r26724
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-07Added new ManagedList class to handle Instruction and Command lists. The ↵Nicola Mettifogo
same class will be used to hold Zone, Animation and WalkNode lists. svn-id: r26410
2007-04-07cleanupNicola Mettifogo
svn-id: r26409
2007-04-07Changed Commands to use List<>Nicola Mettifogo
svn-id: r26407
2007-04-07oops forgot to deallocate List nodes after usageNicola Mettifogo
svn-id: r26403
2007-04-07change Program to use a List<> of Instructions instead of a homebrew linked listNicola Mettifogo
svn-id: r26401
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-04-06Made Program hold an explicit reference to its set of Instruction(s) instead ↵Nicola Mettifogo
of simply being a Node chained with them. svn-id: r26393
2007-03-29- implemented destructor for Cnv, thus removing calls to Gfx::freeCnv()Nicola Mettifogo
- enforced use of getFramePtr instead of Cnv::_array member svn-id: r26317
2007-03-24Added new class Table, and updated Disk accordingly. Tables can be populated ↵Nicola Mettifogo
after their creation or wrapped around existing arrays. Thus, the old functions (initTable, freeTable and searchTable) have been removed. svn-id: r26295
2007-03-24made more functions members of ParallactionNicola Mettifogo
svn-id: r26294
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-20replaced some x,y/left,top pairs with Common::PointNicola Mettifogo
svn-id: r26262
2007-03-19made Animation a subclass of Zone (finally!)Nicola Mettifogo
svn-id: r26244
2007-03-18Made loadFrames return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26231
2007-03-18changed Animation::_cnv to be a pointer, in view of changes to ↵Nicola Mettifogo
Disk::loadFrames() svn-id: r26229
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-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-18removed unused parameter from Gfx::flatBlitCnvNicola Mettifogo
svn-id: r26195
2007-03-18fixed usage of reference operatorNicola Mettifogo
svn-id: r26189
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-14removed explicit references to kMask0 since there is only 1 mask availableNicola Mettifogo
svn-id: r26140
2007-03-13made hi-level graphics routine use Common::Rect instead of (x,y,w,h) t-uplesNicola Mettifogo
svn-id: r26121
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-11should stop Q's Visual Studio from complainingNicola Mettifogo
svn-id: r26079
2007-03-10changed kEngineMiniDonna to a more appropriate kEngineTransformedDonnaNicola Mettifogo
svn-id: r26075
2007-03-04made loadScript and loadLocation benefit from Script's ability to dispose of ↵Nicola Mettifogo
its input buffer svn-id: r25976
2007-03-04wrapped loader routines into a new class named Disk. The new class is also ↵Nicola Mettifogo
responsible for handling Archives in place of the Parallaction engine. svn-id: r25972
2007-03-04replaced memAlloc/memFree with standard malloc/freeNicola Mettifogo
svn-id: r25962
2007-03-02added loaders for static images like pickable items and for characters framesNicola Mettifogo
svn-id: r25940
2007-03-02added Script loader routineNicola Mettifogo
svn-id: r25938
2007-02-25made Archive inherit from Common::File, added some methods to comply to ↵Nicola Mettifogo
interface, changed callers to exploit readByte capabilities svn-id: r25868
2007-02-25made Archive behave more like Common::File, preparing for inheritanceNicola Mettifogo
svn-id: r25867
2007-02-25wrapped archive routines into a new class named Archive. File-level static ↵Nicola Mettifogo
variables have been made members of the new class. svn-id: r25866
2007-02-25got rid of ArchievedFile. Since only one single file is being read from the ↵Nicola Mettifogo
archives at every moment, the ArchivedFile structure used for bookkeeping is useless. svn-id: r25864