aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/dialogue.cpp
AgeCommit message (Collapse)Author
2009-01-06Fixed broken condition check for displaying dialogue balloons.Nicola Mettifogo
svn-id: r35748
2009-01-04Fixed warningMax Horn
svn-id: r35730
2009-01-04Implemented counters in BRA. Only valid answer options are shown, and ↵Nicola Mettifogo
counter calculations in scripts are performed. svn-id: r35723
2008-12-21Moved more GfxObj management to Gfx object.Nicola Mettifogo
svn-id: r35466
2008-12-14Removed references to _vm from the engine itself.Nicola Mettifogo
svn-id: r35358
2008-12-13Restructuring of rendering code.Nicola Mettifogo
svn-id: r35342
2008-12-13* Replaced char* with Common::String in the parser.Nicola Mettifogo
* Enforced const-correctness on related routines. svn-id: r35326
2008-08-16Extended balloon manager to handle color constants and fixed color of text ↵Nicola Mettifogo
in balloons for BRA. svn-id: r33940
2008-08-14Some variable renamed to make more sense.Nicola Mettifogo
svn-id: r33864
2008-07-29* Fixed positioning of balloons and faces in BRA (dos, at least).Nicola Mettifogo
* Adapted loading of faces. svn-id: r33392
2008-07-22Fix build.Nicola Mettifogo
svn-id: r33193
2008-07-22Fixed regression in dialogue code: certain commands weren't executed anymore ↵Nicola Mettifogo
after dialogue ended. svn-id: r33191
2008-07-21Massive refactoring of dialogue code, which is now implemented as a finite ↵Nicola Mettifogo
state machine. Related code in other files has been updated has well. svn-id: r33162
2008-07-17Fixed regression bug in dialogue, which de-facto allowed user to skip ↵Nicola Mettifogo
in-game protection. svn-id: r33086
2008-07-11Moved program and command execution code out of the engine, into their own ↵Nicola Mettifogo
brand new classes. svn-id: r33003
2008-07-04- Moved dialogue balloon management code from Gfx to its own classNicola Mettifogo
- Added a class to draw balloons in BRA (still without text and with wrong placement) svn-id: r32902
2008-06-29Changed all remaining code to use the GfxObj class to keep frames data. This ↵Nicola Mettifogo
allows for more uniform processing during rendering, and also fixes the display of dialogue faces for BRA. svn-id: r32833
2008-06-22Fixed 2 MSVC warnings (potentially undefined behavior and possibly ↵Filippos Karapetis
uninitialized variable used) svn-id: r32758
2008-06-02PARA: Got rid of calls to system->quit() so that the Parallaction engine can ↵Christopher Page
return to the launcher. Also fixed a couple of memory leaks. svn-id: r32504
2008-05-14- Moved input code to its own class.Nicola Mettifogo
- Slightly simplified inventory highlight code thanks to changes in input code. svn-id: r32115
2008-05-05- Moved some members from the engine class to Location, since they belong there.Nicola Mettifogo
- Cleaned up usage of location flags by using accessor functions. svn-id: r31872
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-09Turned Gfx::setFont into a protected member, since now Gfx can automatically ↵Nicola Mettifogo
detect which font to use. Gfx still needs setFont internally to select fonts. The font shadowing introduced in revision 30221 has been removed as well, since the new approach handles it better. svn-id: r30361
2008-01-07Fixed an MSVC warningFilippos Karapetis
svn-id: r30319
2008-01-06Fixes wrong type.Nicola Mettifogo
svn-id: r30313
2008-01-06Indent with tabs instead of spaces.Torbjörn Andersson
svn-id: r30312
2008-01-06Moved balloons management into Gfx, which is now responsible for positioning ↵Nicola Mettifogo
and drawing. All balloons are now drawn on a different layer than the game graphics, thus simplifying screen management. Dialogue code has undergone a major revision, and the superior implementation of answer selection in the Amiga version is now used in place of the poor PC one. Other bits (where some changes had already been introduced) have been updated, too. svn-id: r30311
2008-01-02Fix for bug #1829409. Character now changes expression accordingly with ↵Nicola Mettifogo
available dialogue answers. svn-id: r30171
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