aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/dialogue.cpp
AgeCommit message (Collapse)Author
2007-04-09Fixed regression bug in dialogue code.Nicola Mettifogo
svn-id: r26422
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-07Fixed incomplete implementation of Command lists.Nicola Mettifogo
svn-id: r26408
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-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-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-19final version of runDialogueNicola Mettifogo
svn-id: r26251
2007-03-19applied De Morgan's law to an expression to expose similaritiesNicola Mettifogo
svn-id: r26250
2007-03-19fixed bug from first decompileNicola Mettifogo
svn-id: r26249
2007-03-19refactoring of the main loop of runDialogue, now in a decent shapeNicola Mettifogo
svn-id: r26247
2007-03-19a bit of refactoring for dialogue codeNicola Mettifogo
svn-id: r26246
2007-03-19removed most useless (paranoid) debugCNicola Mettifogo
svn-id: r26245
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-18Made loadTalk return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26199
2007-03-18Removed old and commented hack code for Dino in the museum location.Nicola Mettifogo
svn-id: r26198
2007-03-18extracted more code from runDialogue and renamed some key variablesNicola Mettifogo
svn-id: r26197
2007-03-18removed unused parameter from Gfx::flatBlitCnvNicola Mettifogo
svn-id: r26195
2007-03-18more formattingNicola Mettifogo
svn-id: r26194
2007-03-18formattingNicola Mettifogo
svn-id: r26193
2007-03-18broke down huge runDialogue in more manageable chunksNicola Mettifogo
svn-id: r26192
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-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-13made hi-level graphics routine use Common::Rect instead of (x,y,w,h) t-uplesNicola Mettifogo
svn-id: r26121
2007-03-12removed useless routines (maybe leftovers from the amiga conversion)Nicola Mettifogo
svn-id: r26116
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-11wrapped active location data into a new structureNicola Mettifogo
svn-id: r26085
2007-03-11should stop Q's Visual Studio from complainingNicola Mettifogo
svn-id: r26079
2007-03-11more refactoringNicola Mettifogo
svn-id: r26076
2007-03-10some refactoringNicola Mettifogo
svn-id: r26072
2007-03-10commented nasty hack in the original codeNicola Mettifogo
svn-id: r26071
2007-03-10character loading/freeing routines now also handle Heads and Talks, instead ↵Nicola Mettifogo
of having scattered code around svn-id: r26059
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-02enforced convention on loader names: load[ItemType]Nicola Mettifogo
svn-id: r25937
2007-03-02changed every font name to be platform independent, added font loader routineNicola Mettifogo
svn-id: r25935
2007-03-02added openTalk as loader for talk resourcesNicola Mettifogo
svn-id: r25931
2007-02-27changed font handling:Nicola Mettifogo
- engine doesn't see font as a low-level Cnv anymore - the Graphics class takes care of freeing memory on font changes svn-id: r25900
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-20made hi-level parsing routines (Zone, Commands, Dialogue, Animation) rely on ↵Nicola Mettifogo
Script objects for input. svn-id: r25743
2007-02-19first step in parser simplificationNicola Mettifogo
svn-id: r25733
2007-02-17Changed spaces to tabs again.Torbjörn Andersson
svn-id: r25656