Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-29 | PARALLACTION: Cleanup dialogue code. | Nicola Mettifogo | |
Shorten long lines to increase readability. svn-id: r55610 | |||
2011-01-29 | PARALLACTION: Add default case to silence GCC warning. | Torbjörn Andersson | |
Not that I understand exactly what this function does, but since it's a piece of debug code I figure I don't really have to. svn-id: r55608 | |||
2011-01-29 | PARALLACTION: Cleanup dialogue code. | Nicola Mettifogo | |
Turned 'no answer selected' into a constant. svn-id: r55607 | |||
2011-01-29 | PARALLACTION: Cleanup dialogue code. | Nicola Mettifogo | |
Hide mood and balloon winding extraction into Question and Answer objects. svn-id: r55606 | |||
2011-01-29 | PARALLACTION: Simplify text comparisons in dialogue code. | Nicola Mettifogo | |
Encapsulate text comparison into string owners and removed some ugly double negative logic. svn-id: r55605 | |||
2011-01-29 | PARALLACTION: Clarify strategy for choosing (answer) dialogue paths. | Nicola Mettifogo | |
svn-id: r55604 | |||
2011-01-29 | PARALLACTION: Don't show 'null' answers in dialogues. | Nicola Mettifogo | |
Skip a 'runanswer' state when the text of the only answer available is 'null'. svn-id: r55603 | |||
2011-01-29 | PARALLACTION: Improve dialogue debug output. | Nicola Mettifogo | |
Print out the current question or the available answers when debug level is 9. svn-id: r55602 | |||
2011-01-29 | PARALLACTION: encapsulate dialogue state changes to aid debugging. | Nicola Mettifogo | |
svn-id: r55601 | |||
2011-01-28 | PARALLACTION: Flexible monologues in BRA (patch #3021740 by fuzzie) | Nicola Mettifogo | |
Some dialogue answers are set to the literal 'null', which is used in NS to simulate a fixed monologue ('null' instructs the engine to jump to the first entry in the list of available questions, which is always made of a single item in this case). BRA has flexible monologues that depend on the game state, so this patch goes and checks all the available branches before picking the correct one. svn-id: r55591 | |||
2011-01-28 | Replaced char* with Common::String in balloon code. | Nicola Mettifogo | |
svn-id: r55590 | |||
2010-05-22 | Make sure a dialogue is valid before entering dialogue mode. | Nicola Mettifogo | |
svn-id: r49139 | |||
2010-05-18 | Fix missing dialogue index. | Willem Jan Palenstijn | |
This is the BR case of the NS fix in r45053. Patch by fuzzie@fuzzie.org . svn-id: r49072 | |||
2010-05-12 | Changed the last global objects to class members. | Nicola Mettifogo | |
svn-id: r49011 | |||
2010-04-28 | Make sure dialogue manager is destroyed on quit. | Nicola Mettifogo | |
svn-id: r48847 | |||
2010-04-02 | Fix whitespace | Willem Jan Palenstijn | |
svn-id: r48477 | |||
2010-01-25 | Strip trailing spaces/tabs. | Johannes Schickel | |
svn-id: r47541 | |||
2009-10-15 | Fixed bug 2879785. Dialogue commands were partly executed too early: see ↵ | Nicola Mettifogo | |
comment at line 480 in dialogue.cpp. svn-id: r45120 | |||
2009-10-14 | Fixed regression bug #2874229. Regression had happened in r39878, when the ↵ | Nicola Mettifogo | |
dialogue code was refactored. svn-id: r45053 | |||
2009-04-06 | Removed useless references to the global _vm. | Nicola Mettifogo | |
svn-id: r39879 | |||
2009-04-06 | Cleanup of Balloon and Dialogue code: | Nicola Mettifogo | |
* moved version-specific code into DialogueManager's derivatives * reworked construction of BalloonManager's derivatives * moved a couple of globals used in dialogues (NS specific) to engine svn-id: r39878 | |||
2009-03-31 | Fixed dialogue balloon appearing in the wrong position after commit 39772. | Nicola Mettifogo | |
svn-id: r39774 | |||
2009-03-31 | There have been subclasses of DialogueManager for a while, so now we use ↵ | Nicola Mettifogo | |
their constructors for something. svn-id: r39772 | |||
2009-03-24 | * Pushed evaluation of 'following question' from dialogue parsing to ↵ | Nicola Mettifogo | |
dialogue execution. * Removed all the question forwards declaration code svn-id: r39654 | |||
2009-03-23 | Merged GetData, HearData, SpeakData, PathData, ExamineData, MergeData into ↵ | Nicola Mettifogo | |
TypeData struct. This simplifies life a bit especially in the parsers. svn-id: r39645 | |||
2009-02-26 | Removed null*Ptr dummy objects, using SharedPtr's reset method to null ↵ | Nicola Mettifogo | |
pointers instead. svn-id: r38897 | |||
2009-02-26 | Cleanup of CommandExec and ProgramExec, and pushed down dependencies from ↵ | Nicola Mettifogo | |
exec.h. svn-id: r38892 | |||
2009-01-06 | Fixed broken condition check for displaying dialogue balloons. | Nicola Mettifogo | |
svn-id: r35748 | |||
2009-01-04 | Fixed warning | Max Horn | |
svn-id: r35730 | |||
2009-01-04 | Implemented counters in BRA. Only valid answer options are shown, and ↵ | Nicola Mettifogo | |
counter calculations in scripts are performed. svn-id: r35723 | |||
2008-12-21 | Moved more GfxObj management to Gfx object. | Nicola Mettifogo | |
svn-id: r35466 | |||
2008-12-14 | Removed references to _vm from the engine itself. | Nicola Mettifogo | |
svn-id: r35358 | |||
2008-12-13 | Restructuring 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-16 | Extended balloon manager to handle color constants and fixed color of text ↵ | Nicola Mettifogo | |
in balloons for BRA. svn-id: r33940 | |||
2008-08-14 | Some 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-22 | Fix build. | Nicola Mettifogo | |
svn-id: r33193 | |||
2008-07-22 | Fixed regression in dialogue code: certain commands weren't executed anymore ↵ | Nicola Mettifogo | |
after dialogue ended. svn-id: r33191 | |||
2008-07-21 | Massive 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-17 | Fixed regression bug in dialogue, which de-facto allowed user to skip ↵ | Nicola Mettifogo | |
in-game protection. svn-id: r33086 | |||
2008-07-11 | Moved 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 class | Nicola Mettifogo | |
- Added a class to draw balloons in BRA (still without text and with wrong placement) svn-id: r32902 | |||
2008-06-29 | Changed 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-22 | Fixed 2 MSVC warnings (potentially undefined behavior and possibly ↵ | Filippos Karapetis | |
uninitialized variable used) svn-id: r32758 | |||
2008-06-02 | PARA: 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-28 | Fixed the spaces before tabs. | Jordi Vilalta Prat | |
svn-id: r30667 | |||
2008-01-09 | Turned 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 |