aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parser_br.cpp
AgeCommit message (Collapse)Author
2009-02-27The engine has now to build the drawing list for the graphic department, ↵Nicola Mettifogo
instead of setting visibility flags; the new field _prog has been added to GfxObj to help sorting the list. The outcome is that cleaning up unused resources on location switches is now easier to manage, and less error prone. svn-id: r38928
2009-02-26Removed null*Ptr dummy objects, using SharedPtr's reset method to null ↵Nicola Mettifogo
pointers instead. svn-id: r38897
2009-02-25Updated all for(;;) loops to use prefix increment on iterators.Nicola Mettifogo
svn-id: r38876
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-23Cleanup.Nicola Mettifogo
svn-id: r38817
2009-02-03Fixed support for walking zones in BRA:Nicola Mettifogo
* patches are not applied if the zone is not visible when loading * when applying a patch, always overwrite the existing data instead of OR'ing svn-id: r36209
2009-01-12Fixed regression from revision 35765. Mask and path patches were destroyed ↵Nicola Mettifogo
before getting a chance to be used. svn-id: r35835
2009-01-07Extended PathBuffer to support BRA.Nicola Mettifogo
svn-id: r35766
2009-01-07* moved more mask management to BackgroundInfoNicola Mettifogo
* simplified mask management for client code * reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp * preparation for the full implementation of BRA's PathBuffer svn-id: r35765
2009-01-04Implemented counters in BRA. Only valid answer options are shown, and ↵Nicola Mettifogo
counter calculations in scripts are performed. svn-id: r35723
2009-01-03Dropped the script preprocessor introduced to fix the broken scripts. The ↵Nicola Mettifogo
parser has evolved in the meantime and can deal with it accordingly. svn-id: r35700
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-14Removed some unused code.Nicola Mettifogo
svn-id: r35357
2008-11-08* cleanupNicola Mettifogo
* moved find routines from Parallaction to Location svn-id: r34940
2008-08-22Fixed error in parsing.Nicola Mettifogo
svn-id: r34093
2008-08-15Implemented raster operation for masks and postponed blitting of zones after ↵Nicola Mettifogo
everything in the location has been loaded. This fixes the remaining problems with animations not being masked by items. svn-id: r33903
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-15Disabled lip syncing code in BRA, since I couldn't find any scripts actually ↵Nicola Mettifogo
using it. Some warnings have been added as a sentinel. svn-id: r33890
2008-08-15Simplified handling of script variables (especially locals).Nicola Mettifogo
svn-id: r33889
2008-08-02Fixed issues detected by DrMcCoy's obnoxious compiler. ;)Nicola Mettifogo
svn-id: r33511
2008-08-02* Added a preprocessor to deal with the crappy location scripts in BRA.Nicola Mettifogo
* Added some comments on how the parser and related code should be changed to make things smoother. svn-id: r33509
2008-07-31* Removed references to the current _backgroundInfo from parser code.Nicola Mettifogo
* Re-enabled masks (in BRA DOS). svn-id: r33474
2008-07-31Made changing of background more flexible, in that the engine can now ↵Nicola Mettifogo
configure its BackgroundInfo before passing it to Gfx. svn-id: r33469
2008-07-31Changed Gfx::_backgroundInfo to be a pointer. This temporarily kills all ↵Nicola Mettifogo
z-buffering. svn-id: r33468
2008-07-28Tiny readability aid for parser code.Nicola Mettifogo
svn-id: r33369
2008-07-28Correct character name set by character location parser.Travis Howell
svn-id: r33361
2008-07-26BRA now parses path data from the scripts.Nicola Mettifogo
svn-id: r33295
2008-07-03Fix for bug #2008054: Parallaction engine doesn't compile under MSVC9Eugene Sandulenko
svn-id: r32879
2008-06-04* Implemented character change opcodes in BRANicola Mettifogo
* Fixed loading of dialogue characters in BRA svn-id: r32529
2008-06-01Got rid of the static arrays for initialization of parsers and exec opcodes, ↵Nicola Mettifogo
to make returning to launcher easier. The code has been borrowed by Kyra, after suggestion by LordHoto. svn-id: r32465
2008-05-11Renamed some parallaction member vars to have a leading underscore (besides ↵Max Horn
being part of our code formatting conventions, this fixes various name clash warnings) svn-id: r32041
2008-05-11Cleanup of parsing code.Nicola Mettifogo
svn-id: r31999
2008-05-10Extracted script parsing code to its own class.Nicola Mettifogo
svn-id: r31972
2008-05-09Moved location parsing out of the engines, to LocationParser_ns and ↵Nicola Mettifogo
LocationParser_br. svn-id: r31958
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-05-04Added new Parser class, which will gradually grow to include all parsing ↵Nicola Mettifogo
code from the engine class. svn-id: r31865
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
2008-02-05Fixes to make BRA introduction run:Nicola Mettifogo
- fixed location command parser - implemented stop command - temporary disabled speak zones (audio is not yet supported) svn-id: r30796
2008-02-03- Character is now initialized when needed (for the moment only by NS)Nicola Mettifogo
- Forward lists are now bigger since BRA scripts are larger svn-id: r30769
2008-02-03Programs are now handled in their own list, instead of being accessed via ↵Nicola Mettifogo
the referring Animation. svn-id: r30768
2008-02-02Subtitles are now displayed in the intro for BRA, though in wrong color (and ↵Nicola Mettifogo
I don't know why). svn-id: r30747
2008-02-02BRA now loads and displays location backgrounds (at least in the intro).Nicola Mettifogo
svn-id: r30740
2008-02-02Some more integration of background code into BackgroundInfo.Nicola Mettifogo
svn-id: r30731
2008-01-28Move low level background management into Gfx.Nicola Mettifogo
svn-id: r30681
2008-01-28All interactive objects are now drawn in the framebuffer instead of using ↵Nicola Mettifogo
the old kBitBack/kBitFront buffers. Animation are not sorted yet, so they can overlap in an inconsistent fashion for the time being. svn-id: r30673