aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/location.cpp
AgeCommit message (Collapse)Author
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-27Refactored music code for dos version and added music to Amiga versions.Nicola Mettifogo
svn-id: r26619
2007-04-23Fonts have been taking care of them being proportional for some time now, so ↵Nicola Mettifogo
it's time to remove old flags. svn-id: r26585
2007-04-23Tiny fix for missing text in slides.Nicola Mettifogo
svn-id: r26579
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-11- Moved Zone and Animation to List<>.Nicola Mettifogo
- Removed any reference to Node from codebase. svn-id: r26452
2007-04-09Cleanup of Zone/Animation removal code. Only the good god of void pointers ↵Nicola Mettifogo
knows how it managed to work until now. svn-id: r26430
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-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-28Overhaul of palette management to bring it back to its original form. Gfx ↵Nicola Mettifogo
palette code has been updated, and _c_endComment (callable from scripts) has been implemented. As a by-product, palette cycling now finally works! svn-id: r26314
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-24- fixed regression bug: one free/delete mismatchNicola Mettifogo
- added needed virtual destructors to structs svn-id: r26292
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-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-18converted DoorData and Zone to Common::PointNicola Mettifogo
svn-id: r26215
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-17oops forgot to commit changes for CommandNicola Mettifogo
svn-id: r26165
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-15moved remaining background related functions to disk.cpp, and changed Gfx ↵Nicola Mettifogo
accordingly svn-id: r26145
2007-03-13enforced use of Common::Rect on all graphic routinesNicola Mettifogo
svn-id: r26128
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-11fixed bug: now considering Array's ability to shift values when removing ↵Nicola Mettifogo
elements svn-id: r26086
2007-03-11wrapped active location data into a new structureNicola Mettifogo
svn-id: r26085
2007-03-11changed changeLocation to use StringList instead of multiple nested if'sNicola Mettifogo
svn-id: r26084
2007-03-11some simplification for changeLocationNicola Mettifogo
svn-id: r26083
2007-03-11added comment to changeLocationNicola Mettifogo
svn-id: r26081
2007-03-11some refactoring for music managementNicola Mettifogo
svn-id: r26080
2007-03-10some refactoringNicola Mettifogo
svn-id: r26072
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-04no more overloading for loadBackgroundNicola Mettifogo
svn-id: r25971
2007-03-04hid mask and path loading details from the engine, so it is now independent ↵Nicola Mettifogo
from background management svn-id: r25970
2007-03-04separated slide from scenery loading to take care of filename aliasesNicola Mettifogo
svn-id: r25969
2007-03-04moved background loading into disk.cppNicola Mettifogo
svn-id: r25968
2007-03-04replaced memAlloc/memFree with standard malloc/freeNicola Mettifogo
svn-id: r25962
2007-03-03corrected parsing of LOCATION commandNicola Mettifogo
svn-id: r25947