aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parser_ns.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-23Cleanup.Nicola Mettifogo
svn-id: r38817
2009-01-20Replacement an immediate with the appropriate #define constant.Nicola Mettifogo
svn-id: r35950
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-08Don't assert anymore when a command flag doesn't exist, but ignore it and ↵Nicola Mettifogo
print a warning instead. Some location scripts in BRA are totally broken. svn-id: r35783
2009-01-04Made sure to display labels on animations.Nicola Mettifogo
svn-id: r35726
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-21Added a stub to dialogue parser, so that dialogue lines controlled by ↵Nicola Mettifogo
counters are displayed. svn-id: r35465
2008-12-17Reduced code duplication when manipulating Animations, and cleanup.Nicola Mettifogo
svn-id: r35408
2008-12-14Removed references to _vm from the engine itself.Nicola Mettifogo
svn-id: r35358
2008-12-13* Replaced char* with Common::String in the parser.Nicola Mettifogo
* Enforced const-correctness on related routines. svn-id: r35326
2008-11-13Update to the low level parser:Nicola Mettifogo
* made it detect buffer overflows * removed unused code paths * general simplification svn-id: r35047
2008-11-12Fixed default zone flags, so that labels in BRA are only shown on zones ↵Nicola Mettifogo
which have one. svn-id: r35012
2008-11-09Enabled flags parsing for all commands in location script. Most of them ↵Nicola Mettifogo
don't need it, but some commands have been enhanced in BRA. svn-id: r34944
2008-11-08* cleanupNicola Mettifogo
* moved find routines from Parallaction to Location svn-id: r34940
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-08-14Some variable renamed to make more sense.Nicola Mettifogo
svn-id: r33864
2008-07-28Tiny readability aid for parser code.Nicola Mettifogo
svn-id: r33369
2008-07-28Preliminary code for traps.Nicola Mettifogo
svn-id: r33364
2008-07-25Changed the remaining references to Nodes into Points.Nicola Mettifogo
svn-id: r33290
2008-07-25* Changed walk code to use Common::Point instead of the clumsy WalkNode.Nicola Mettifogo
* Changed walk code to use object copy instead of managing pointers. svn-id: r33289
2008-07-03Fix for bug #2008054: Parallaction engine doesn't compile under MSVC9Eugene Sandulenko
svn-id: r32879
2008-06-05Merged revisions ↵Christopher Page
32507-32513,32516,32518,32520-32521,32523-32524,32526-32548,32550-32562 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r32563
2008-06-04Script instructions referencing unexisting animations are now skipped, ↵Nicola Mettifogo
instead of crashing the engine. svn-id: r32524
2008-06-03PARA: Fixed some memory leaksChristopher Page
svn-id: r32519
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-17Fixed usage of SharedPtr, so that reference counting is proper and there are ↵Nicola Mettifogo
no more objects that need constructors at global level (helps PalmOS). svn-id: r31533
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-03Programs are now handled in their own list, instead of being accessed via ↵Nicola Mettifogo
the referring Animation. svn-id: r30768
2008-01-28Removed all job routines. Stubs have been left for future reference in the ↵Nicola Mettifogo
code for BRA. svn-id: r30675
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
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-08Restructured label handling and moved all related code to Gfx.Nicola Mettifogo
svn-id: r30345
2008-01-08Added a proper _name member to Zone, instead of using the label text.Nicola Mettifogo
svn-id: r30343
2008-01-06Indent with tabs instead of spaces.Torbjörn Andersson
svn-id: r30312
2007-12-09Going back to uncached mode for graphics resources of Examine zones. This ↵Nicola Mettifogo
prevents engine to crash when trying to cache a resource out of the currently selected archive. svn-id: r29798
2007-12-04Broke up parseDialogue into more manageable and focused short routines.Nicola Mettifogo
svn-id: r29716
2007-11-22* added adapter from Graphics::Surface to FramesNicola Mettifogo
* changed all Disk routines to return Frames* instead of Graphics::Surface* * changed displayItemComment to use new gfx routines * merged code for Examine zones into displayComment svn-id: r29615