aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/dialogue.cpp
AgeCommit message (Collapse)Author
2007-11-17Refactored main input code.Nicola Mettifogo
svn-id: r29532
2007-10-27Temporarily force quits when user presses exit key combination. A TODO ↵Nicola Mettifogo
comment has been added to places where behavior should be changed to allow the engine to exit gracefully. svn-id: r29270
2007-10-13Decoupled password request from actual rendering of the dialogue screen, ↵Nicola Mettifogo
thus making it possible to fix bug #1765300. This bug was present in the original game, causing garbled text to appear when asking for password (only in the English version). svn-id: r29213
2007-09-22Refactored a lot of Character-related code and put it into the Character class.Nicola Mettifogo
svn-id: r29025
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-16Revised debug levels and added many debug strings for parsers.Nicola Mettifogo
svn-id: r28921
2007-08-25Added an abstract base class for representing multiple-frames for ↵Nicola Mettifogo
animations. Changed user code to rely on the new interface. Cnv has been turned into an implementation of the new interface, and it is now known as a concrete class only to Disk and Font code for Nippon Safes. svn-id: r28734
2007-08-25Merged most parser contexts into a single structure, added some new fields ↵Nicola Mettifogo
to support BRA. svn-id: r28727
2007-08-24First step in restructuring engine code:Nicola Mettifogo
- code has been consolidated in fewer files - new table-driven parsers/execution - some functions has been pushed down the engine hierarchy - Parallaction_br now inherits from Parallaction_ns svn-id: r28711
2007-08-16Changed more parsing routines to use tables instead of switch statements.Nicola Mettifogo
svn-id: r28637
2007-08-13Changed Table to return 0 instead of -1 when lookup fails. Lookup already ↵Nicola Mettifogo
yields 1-based values when the item is found. svn-id: r28600
2007-08-11Moved core font management from Gfx to engine. Gfx still retains features ↵Nicola Mettifogo
related to displaying text on screen. svn-id: r28530
2007-08-07Turned StaticCnv struct into stock Graphics::Surface, and changed all ↵Nicola Mettifogo
relevant code. svn-id: r28484
2007-08-06User can now quit (using shortcuts) when asked for ingame protection code.Nicola Mettifogo
svn-id: r28468
2007-08-06Fixes bug #1766217 (flickering monk), and prevents animations from stepping ↵Nicola Mettifogo
back one frame when a dialogue starts. This is part of the regression introduced when screen refreshes were cut down. svn-id: r28467
2007-08-04Fixes bug #1765310. Counter needs to be reset at the beginning of each ↵Nicola Mettifogo
iteration. svn-id: r28451
2007-07-29Cleanup.Nicola Mettifogo
svn-id: r28315
2007-07-08Changed inventory graphics update from synchronous to lazy.Nicola Mettifogo
svn-id: r27975
2007-07-08Cleanup inventory code.Nicola Mettifogo
svn-id: r27974
2007-07-08The mouse cursor is shown during dialogues in the Amiga versions (Demo and ↵Travis Howell
Multi-lingual). svn-id: r27955
2007-07-05Fix incorrect face frame been shown during dialogs, due to regression in ↵Travis Howell
revision 27834. svn-id: r27917
2007-07-03Changed Dialogue from a typedef for an implicit n-tree of Questions to a ↵Nicola Mettifogo
plain-vanilla array. This greatly simplify management and doesn't require obscure flagging of tree leaves. svn-id: r27887
2007-07-03Some cheap renaming and cleanup.Nicola Mettifogo
svn-id: r27886
2007-07-02Removed special displayBalloonString routine.Nicola Mettifogo
svn-id: r27850
2007-07-02Fixed glitch: protection code appearing over prompt.Nicola Mettifogo
svn-id: r27848
2007-07-01Applied new flatBlitCnv and little refactoring to dialogue code.Nicola Mettifogo
svn-id: r27834
2007-07-01Wrapped dialogue functions into a new DialogueManager, and some basic ↵Nicola Mettifogo
refactoring. svn-id: r27827
2007-06-220xD -> Common::KEYCODE_RETURNMax Horn
svn-id: r27639
2007-06-18Mouse is now properly hidden during dialogues, and is restored after ↵Nicola Mettifogo
load/save dialog boxes are closed. Moreover, kEngineMouse constant has been renamed to better match its meaning. svn-id: r27539
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-15Fixed bug when typing protection code.Nicola Mettifogo
svn-id: r26847
2007-05-13cleanupNicola Mettifogo
svn-id: r26834
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-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