aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parser_ns.cpp
AgeCommit message (Collapse)Author
2009-07-26Moved parser functions arrays to file scope, as they were tripping up the ↵Nicola Mettifogo
obsolete gcc used for the BeOS/Haiku port. If anybody can work out a better solution please apply it, because this makes me sick. svn-id: r42793
2009-04-03Moved Nippon Safes specific code from Parallaction to Parallaction_ns and ↵Nicola Mettifogo
adapted client code. svn-id: r39813
2009-04-03PARALLACTION: Fix silly Mingw 'shadowed declaration' warningsMax Horn
svn-id: r39809
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-24Removed paranoia check.Nicola Mettifogo
svn-id: r39656
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-23Refactored the zone type parsers.Nicola Mettifogo
svn-id: r39650
2009-03-23Turned ZoneTypes into a regular numeric id (no more a bitfield).Nicola Mettifogo
svn-id: r39648
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-23Pushed down dependencies from parser.hNicola Mettifogo
svn-id: r39636
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-14Fixed building on 64-bit architectures.Nicola Mettifogo
svn-id: r39395
2009-03-14* Added a generic sound manager that hides engine-specific managers and ↵Nicola Mettifogo
allows accessing them through a simplified command/parameter interface. * Updated client code to use the new manager. * Moved Nippon Safes sound code from sound.cpp to sound_ns.cpp. svn-id: r39394
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