aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/objects.h
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-01-29PARALLACTION: Cleanup dialogue code.Nicola Mettifogo
Hide mood and balloon winding extraction into Question and Answer objects. svn-id: r55606
2011-01-29PARALLACTION: Simplify text comparisons in dialogue code.Nicola Mettifogo
Encapsulate text comparison into string owners and removed some ugly double negative logic. svn-id: r55605
2010-05-22Added descriptions for kFlagsSelfuse and kFlagsYourself. See patch 3003626.Nicola Mettifogo
svn-id: r49136
2010-05-19Add a parser for HEAR zones in BRA, and handle the relative MUSIC command. ↵Nicola Mettifogo
Patch 3003382 by fuzzie, with enhancements. svn-id: r49105
2010-04-27Fix bug 2969257 (labels) and hopefully plug all the leaks.Nicola Mettifogo
svn-id: r48811
2009-04-29Refactoring.Nicola Mettifogo
svn-id: r40210
2009-03-30PARALLACTION: Commit of parentheses patch from salty-horse. (from -devel ↵Johannes Schickel
"Enabling -Wparentheses in the Makefile"). svn-id: r39760
2009-03-29(Re)link bounding animations after location has been completely parsed. This ↵Nicola Mettifogo
avoids problems due to forward references. svn-id: r39740
2009-03-29Commands now evaluate their reference Zone at runtime, thus handling of ↵Nicola Mettifogo
forward references in the parser is no more needed. svn-id: r39738
2009-03-29Merged CommandData into Command.Nicola Mettifogo
svn-id: r39732
2009-03-28Added initialization for _index and _locationIndex in Zone objects.Nicola Mettifogo
svn-id: r39723
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-23Turned ZoneTypes into a regular numeric id (no more a bitfield).Nicola Mettifogo
svn-id: r39648
2009-03-23Oops.Nicola Mettifogo
svn-id: r39646
2009-03-23Merged GetData, HearData, SpeakData, PathData, ExamineData, MergeData into ↵Nicola Mettifogo
TypeData struct. This simplifies life a bit especially in the parsers. svn-id: r39645
2009-03-23Implemented all variants of IF script instruction. Program class has been ↵Nicola Mettifogo
changed to store an Array of instruction instead of a List, so that references to instructions are integers. svn-id: r39631
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-03-02Initialize and save zones flags and follower position when a location switch ↵Nicola Mettifogo
occurs. svn-id: r39064
2009-02-26Removed null*Ptr dummy objects, using SharedPtr's reset method to null ↵Nicola Mettifogo
pointers instead. svn-id: r38897
2009-02-24Implemented follower support, except that:Nicola Mettifogo
* follower is forgotten when location changes (see freeLocation) * the final walking frame is screwed svn-id: r38838
2009-02-24Changed interface to walk code, to better handle the differences between ↵Nicola Mettifogo
games. Moreover: * merged PathBuilder_BR into PathWalker_BR * implemented checkTrap routine for BRA svn-id: r38836
2009-02-23Cleanup.Nicola Mettifogo
svn-id: r38817
2009-02-23Rewrote the sarcophagus puzzle in Nippon Safes, since I finally understood ↵Nicola Mettifogo
how it was implemented in the original! svn-id: r38816
2009-01-20Adapted fixed-sized arrays to cope with the larger dialogues in BRA. Maybe ↵Nicola Mettifogo
they should be turned into dynamic data structures... svn-id: r35944
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-26Fixed selection of invalid frame numbers. This means that most locations can ↵Nicola Mettifogo
be switched to and don't crash up anymore! svn-id: r35550
2008-12-24Questions in dialogues can have up to 10 answers in BRA.Nicola Mettifogo
svn-id: r35524
2008-12-20Moved mask creation/handling to Gfx.Nicola Mettifogo
svn-id: r35447
2008-12-17Reduced code duplication when manipulating Animations, and cleanup.Nicola Mettifogo
svn-id: r35408
2008-12-13* Replaced char* with Common::String in the parser.Nicola Mettifogo
* Enforced const-correctness on related routines. svn-id: r35326
2008-08-26Cleanup.Nicola Mettifogo
svn-id: r34185
2008-08-15Added routines to load and handle item masks: animation are now correctly ↵Nicola Mettifogo
hidden when they are behind any object. The masks of items that are not explicitly activated (even if visible) still are handled (e.g. the crown in the museum is not visible in the foreground). svn-id: r33900
2008-08-15Updated layer calculation: animations are now hidden properly by background ↵Nicola Mettifogo
elements (but not items yet). svn-id: r33894
2008-08-15Made coordinates and frame number protected into Zone and Animation, and ↵Nicola Mettifogo
changed client code to use get/set. This will allow various simplifications (e.g. when calculating Z), and is a step towards correct handling of interactive zones of Zone/Animation in BRA. svn-id: r33892
2008-08-15Made scripts access Animation fields via accessors and mutators, instead of ↵Nicola Mettifogo
using raw pointers. svn-id: r33891
2008-08-15Simplified handling of script variables (especially locals).Nicola Mettifogo
svn-id: r33889
2008-07-29* Added flexible verb configuration for both NS and BRA.Nicola Mettifogo
* Objects can now be really opened and closed in BRA. svn-id: r33405
2008-07-28Preliminary code for traps.Nicola Mettifogo
svn-id: r33364
2008-07-28Added a post processing step to runScripts, so that Animation can be ↵Nicola Mettifogo
validated after buggy scripts have been executed. svn-id: r33363
2008-07-26BRA now parses path data from the scripts.Nicola Mettifogo
svn-id: r33295
2008-07-02- Changed labels to be GfxObj's, thus removing the Label object altogether.Nicola Mettifogo
- Changed Item's to be almost GfxObj's, since ownership and destruction of underlying resource is an issue here (got to think some more about it). svn-id: r32873
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-22Added constructor and destructor to Dialogue, thus fixing a long standing leak.Nicola Mettifogo
svn-id: r32757
2008-05-09Tiny cleanup to ease extraction of the program parser code.Nicola Mettifogo
svn-id: r31959
2008-05-08Reverted commit 31928 by Buddha_, and defined kFlagsAll as 0xFFFFFFFFU in ↵Nicola Mettifogo
the enum, as suggested by Fingolfin. svn-id: r31939
2008-05-07A (temporary?) fix for the signed/unsigned issues with enum CommandFlags usage.Kari Salminen
svn-id: r31928
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-04-06Replaced custom ManagedList with Common::SharedPtr.Nicola Mettifogo
svn-id: r31415
2008-02-09More refactoring for command parsing/execution.Nicola Mettifogo
svn-id: r30841