aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
AgeCommit message (Collapse)Author
2007-05-01Fix compilation (sigh).Nicola Mettifogo
svn-id: r26724
2007-04-27Refactored music code for dos version and added music to Amiga versions.Nicola Mettifogo
svn-id: r26619
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-10Moved Jobs to ManagedList. Since Jobs must be ordered according to their ↵Nicola Mettifogo
priority, a new insertSorted method has been added to the implementation. svn-id: r26451
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-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-04-06Enabled lazy removal for Job instances.Nicola Mettifogo
svn-id: r26396
2007-04-04Characters now only store the set of frames they actually need. Basically, ↵Nicola Mettifogo
mini characters and normal characters are now completely separated. svn-id: r26381
2007-04-01Added GF_DEMO flag and ability to load the correct location at start.Nicola Mettifogo
svn-id: r26340
2007-04-01Function changeCharacter is now responsible for loading character specific ↵Nicola Mettifogo
Zones and such svn-id: r26339
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-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-27engine can now handle amiga and dos splash screensNicola Mettifogo
svn-id: r26312
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-24started infrastructure for amiga demo:Nicola Mettifogo
- added Disk skeleton - adapted Archive to handle different structure for archives - moved Disk creation from engine constructor into init() [still sub-optimal] svn-id: r26293
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-18changed remaining stuff to Common::Point and got rid of custom Point and RectNicola Mettifogo
svn-id: r26216
2007-03-18converted DoorData and Zone to Common::PointNicola Mettifogo
svn-id: r26215
2007-03-18converted input and labels to Common::PointNicola Mettifogo
svn-id: r26214
2007-03-18Made loadObjects return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26202
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-18Bug fixed: inventory wasn't refreshed when loading a savegame if character ↵Nicola Mettifogo
was not switched. To make things clearer, character are now forced to reload all of their data on switch/load. svn-id: r26190
2007-03-18fixed usage of reference operatorNicola Mettifogo
svn-id: r26189
2007-03-17Flattened anonymous union in Zone. Its members have been partially merged.Nicola Mettifogo
svn-id: r26181
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again svn-id: r26180
2007-03-17cleanupNicola Mettifogo
svn-id: r26179
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-17minor cleanupNicola Mettifogo
svn-id: r26161
2007-03-17renamed freeCharacterFrames() to freeCharacter() for consistencyNicola Mettifogo
svn-id: r26160
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-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-03-15moved remaining background related functions to disk.cpp, and changed Gfx ↵Nicola Mettifogo
accordingly svn-id: r26145
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-11removed some dead code and formattingNicola Mettifogo
svn-id: r26089
2007-03-11wrapped active location data into a new structureNicola Mettifogo
svn-id: r26085
2007-03-11some simplification for changeLocationNicola Mettifogo
svn-id: r26083
2007-03-11some refactoring for music managementNicola Mettifogo
svn-id: r26080