aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/zone.h
AgeCommit message (Collapse)Author
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-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-07Changed Commands to use List<>Nicola Mettifogo
svn-id: r26407
2007-04-07Implemented destructors for Question and Answer.Nicola Mettifogo
svn-id: r26405
2007-04-07New struct Answer introduced.Nicola Mettifogo
svn-id: r26404
2007-04-07change Program to use a List<> of Instructions instead of a homebrew linked listNicola Mettifogo
svn-id: r26401
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-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-24made more functions members of ParallactionNicola Mettifogo
svn-id: r26294
2007-03-22Fix warningsMax Horn
svn-id: r26274
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-19added member initializationNicola Mettifogo
svn-id: r26243
2007-03-18Made loadStatic return a new StaticCnv instead of accepting a parameter. All ↵Nicola Mettifogo
disk functions now accept only a resource name as their parameter. svn-id: r26232
2007-03-18changed DoorData::_cnv to be a pointer, in view of changes to Disk::loadFrames()Nicola Mettifogo
svn-id: r26230
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-17added getRect() to Zone to slightly simplify hitZone condition checkNicola Mettifogo
svn-id: r26186
2007-03-17added translate() to ZoneNicola Mettifogo
svn-id: r26185
2007-03-17renamed structures to be more generalNicola Mettifogo
svn-id: r26184
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-17cleanupNicola Mettifogo
svn-id: r26179
2007-03-17cleanupNicola Mettifogo
svn-id: r26166
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-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-02-20made hi-level parsing routines (Zone, Commands, Dialogue, Animation) rely on ↵Nicola Mettifogo
Script objects for input. svn-id: r25743
2007-02-04changed handling of zone labels to match original engineNicola Mettifogo
svn-id: r25376
2007-01-14Initial import of Parallaction engineEugene Sandulenko
svn-id: r25083