aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/zone.cpp
AgeCommit message (Collapse)Author
2007-07-29Cleanup.Nicola Mettifogo
svn-id: r28315
2007-07-28Should fix bug #1762614. There is a chance some regression glitches appear ↵Nicola Mettifogo
in locations where animations are displayed together with character comments. svn-id: r28272
2007-07-26Made screen size parameters properties of engine instead of compile-time ↵Nicola Mettifogo
constants. svn-id: r28219
2007-07-15Screen update is no more triggered automatically when performing full ↵Nicola Mettifogo
screen-size blits on Front buffer. Menu code has been changed accordingly to retain consistency. svn-id: r28097
2007-07-02Removed special displayBalloonString routine.Nicola Mettifogo
svn-id: r27850
2007-07-01Introduced new flatBlitCnv to reduce code duplication.Nicola Mettifogo
svn-id: r27833
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-20Fixed embarrassing - and old as time - mistake preventing some items from ↵Nicola Mettifogo
being deleted from the screen when picked up. svn-id: r26889
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-06Added embryonic debugger, and some adjustments to make basic commands work.Nicola Mettifogo
svn-id: r26755
2007-05-01Fix compilation (sigh).Nicola Mettifogo
svn-id: r26724
2007-05-01Implemented a IFF (Interchange File Format) parser and added subclasses to ↵Nicola Mettifogo
parse graphics (ILBM, PBM) and audio (8SVX), thus replacing old decoding routines. SAGA and Parallaction have been adjusted to work with the new code. svn-id: r26719
2007-04-21- Implemented Amiga halfbrite mode in palette code, though usage is limited ↵Nicola Mettifogo
to displayItemComment() for the moment. - Some changes to palette routines to make them fit with the new scheme. svn-id: r26553
2007-04-16Now handling fonts with brand-new Font hierarchy. Amiga font have been ↵Nicola Mettifogo
implemented for dialogues/descriptions, but not for labels yet. svn-id: r26530
2007-04-15- Fonts are now preloaded at start.Nicola Mettifogo
- Replaced font string names with enums. - Some slight simplification to Disk. svn-id: r26518
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-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-07Implemented destructors for Question and Answer.Nicola Mettifogo
svn-id: r26405
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-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-19made Animation a subclass of Zone (finally!)Nicola Mettifogo
svn-id: r26244
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-18Made loadFrames return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26231
2007-03-18changed DoorData::_cnv to be a pointer, in view of changes to Disk::loadFrames()Nicola Mettifogo
svn-id: r26230
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-18converted DoorData and Zone to Common::PointNicola Mettifogo
svn-id: r26215
2007-03-18Made loadHead return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26200
2007-03-18Made loadTalk return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26199
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 getRect() to Zone to slightly simplify hitZone condition checkNicola Mettifogo
svn-id: r26186
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-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-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-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-10character loading/freeing routines now also handle Heads and Talks, instead ↵Nicola Mettifogo
of having scattered code around svn-id: r26059