aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parser_ns.cpp
AgeCommit message (Collapse)Author
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
2007-11-18Cleanup.Nicola Mettifogo
svn-id: r29556
2007-10-21Fixed parseLocation, so that it only tries to parse scripts when they aren't ↵Nicola Mettifogo
already loaded. This fixes bugs like #1816899, caused by the wrong data archive being selected in the Disk object. svn-id: r29240
2007-10-21Cleanup.Nicola Mettifogo
svn-id: r29238
2007-10-14Turned the 'unexpected keyword' warning into a debug message and added a ↵Nicola Mettifogo
nifty line number to aid debugging. svn-id: r29222
2007-10-14Integrated low-level routines into the Script class, turning it into a ↵Nicola Mettifogo
self-contained parser for location, program and table scripts. svn-id: r29221
2007-10-14Made location parser more fault-tolerant, in that it prints out a warning ↵Nicola Mettifogo
message instead of exiting ScummVM when it encounters an unexpected keywords in the scripts. svn-id: r29220
2007-10-06Fixed bug #1808615. An unexpected (but harmless) 'ENDCOMMANDS' statement was ↵Nicola Mettifogo
spotted in the game scripts by the new stricter parser. svn-id: r29158
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-16Split code from parseZoneTypeBlock in specialized parser functions.Nicola Mettifogo
svn-id: r28922
2007-09-16Revised debug levels and added many debug strings for parsers.Nicola Mettifogo
svn-id: r28921
2007-09-15Fixed BRA parser table for scripts.Nicola Mettifogo
svn-id: r28905
2007-08-28Enforced use of character's feet coordinates throughout the walk code.Nicola Mettifogo
svn-id: r28760
2007-08-26Implemented more opcodes.Nicola Mettifogo
svn-id: r28746
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-25Cleanup script routines.Nicola Mettifogo
svn-id: r28718