aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/dialogue.cpp
AgeCommit message (Collapse)Author
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
2007-02-17more conventional termination handling. Event loops are going to get merged ↵Nicola Mettifogo
soon, so there are FIXME remainders around there. svn-id: r25655
2007-02-17Some indentation and format changes. Mostly replacing spaces with tabs.Torbjörn Andersson
svn-id: r25654
2007-02-14More skip_whitespace -> Common::ltrim(). For real now.Eugene Sandulenko
svn-id: r25577
2007-02-08fixed bug: dialogue questions don't clutter the screen anymore when user is ↵Nicola Mettifogo
selecting an answer svn-id: r25429
2007-02-08fixed bug in dialogue parsing code: available answers now really depend on ↵Nicola Mettifogo
game flags svn-id: r25427
2007-02-01Used Fingolfin's workaround for a bogus (?) warning produced by some versionsTorbjörn Andersson
of GCC. (Not the one he's using, though, which is why I'm doing this instead.) svn-id: r25327
2007-01-31fixed casting bug as suggested by fingolfin on tracker item #1648325Nicola Mettifogo
svn-id: r25304
2007-01-26fixed out-of-bounds error causing random crashes in dialoguesNicola Mettifogo
svn-id: r25215