aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
AgeCommit message (Collapse)Author
2007-09-17* moved Table handling to objects.cpp Nicola Mettifogo
* added helper functions to load tables from files * fixed occasional lock-ups on location change because of broken Table deallocation svn-id: r28933
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-09-11Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME ↵Max Horn
comments; and some other related cleanup svn-id: r28890
2007-09-10Lots of source code formatting correctionsMax Horn
svn-id: r28887
2007-09-02More support for subtitles in BRA.Nicola Mettifogo
svn-id: r28829
2007-09-02Simplified global label management and added subtitles for BRA.Nicola Mettifogo
svn-id: r28828
2007-09-02fixed some warningsMax Horn
svn-id: r28827
2007-09-02Cleanup: removed unneeded references to engine (_vm).Nicola Mettifogo
svn-id: r28826
2007-09-02Jobs are now members of the engine and are handled with a table, instead of ↵Nicola Mettifogo
being external functions. svn-id: r28824
2007-08-31Pushed current save/load code from Parallaction down to Parallaction_ns.Nicola Mettifogo
svn-id: r28775
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 implementation for most parser and exec opcodes in BRA.Nicola Mettifogo
svn-id: r28735
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-25Fix build.Nicola Mettifogo
svn-id: r28729
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
2007-08-24First step in restructuring engine code:Nicola Mettifogo
- code has been consolidated in fewer files - new table-driven parsers/execution - some functions has been pushed down the engine hierarchy - Parallaction_br now inherits from Parallaction_ns svn-id: r28711
2007-08-19Fixed bug #1777058.Nicola Mettifogo
svn-id: r28666
2007-08-16Now using stacks to keep track of multiple levels when parsing location scripts.Nicola Mettifogo
svn-id: r28639
2007-08-16Changed more parsing routines to use tables instead of switch statements.Nicola Mettifogo
svn-id: r28637
2007-08-14Oops oops. This fixes the bug fix.Nicola Mettifogo
svn-id: r28623
2007-08-14Oops. Removed debug code.Nicola Mettifogo
svn-id: r28622
2007-08-14Fixed bug (array-overflow) in NS introduction. This randomly caused the ↵Nicola Mettifogo
intro to crash during sketching. svn-id: r28621
2007-08-14Defined new Table for location scripts level-0 statements, and changed ↵Nicola Mettifogo
parseLocation to use a function pointer array instead of a big switch statement. svn-id: r28620
2007-08-14Fixed a couple of mistyped strings, solving a crash in the introduction of ↵Nicola Mettifogo
BS and a soon-to-be-spotted issue in BRA. svn-id: r28619
2007-08-14Partially reverting commit 28568, so now engine is back in charge for ↵Nicola Mettifogo
parsing locations. I'm going to convert this if/else/else hell into smaller opcode-like routines to achieve more flexibility first, and then assign version-specific opcodes to subclasses. svn-id: r28609
2007-08-14GCC doesn't like the extra qualifier when DECLARE_COMMAND_PARSER() etc. areTorbjörn Andersson
used within the class definition. Added macros for the unqualified form. Feel free to give them a less cumbersome name -- I just wanted to be able to compile ScummVM again. :-) svn-id: r28608
2007-08-13Added invalid opcode entries in slot 0 of opcode lists, and adjusted indices ↵Nicola Mettifogo
to avoid small decrements. svn-id: r28603
2007-08-13Moved opcode initialization to new routine.Nicola Mettifogo
svn-id: r28602
2007-08-13Changed instruction parsing to array of function pointers.Nicola Mettifogo
svn-id: r28601
2007-08-13Changed Table to return 0 instead of -1 when lookup fails. Lookup already ↵Nicola Mettifogo
yields 1-based values when the item is found. svn-id: r28600
2007-08-13Changed Command parsing/execution and Instruction execution from switch ↵Nicola Mettifogo
statements into arrays of function pointers. svn-id: r28599
2007-08-13Fix linking errors.Eugene Sandulenko
svn-id: r28587
2007-08-13Switch Parallaction back to single gameid (to be compatible with 0.10.x), andEugene Sandulenko
made it use new AdvancedDetector features. svn-id: r28585
2007-08-12Fix build.Nicola Mettifogo
svn-id: r28569
2007-08-12Added preliminary support for loading locations in BRA: Nicola Mettifogo
- changed parseLocation to invoke subclasses for version-specific keywords. - implemented loading of background resources (backgrounds should be visible) svn-id: r28568
2007-08-12Changed signature of disk routines for backgrounds to something resembling ↵Nicola Mettifogo
revisions prior to 28524, yet keeping the new useful BackgroundInfo struct. Those routines can now be used to fill specific fields of the struct, instead of having them create a new one at each call. This feature is needed by BRA, since background, mask and path are specified by different instructions in the script. svn-id: r28566
2007-08-12Fixed location retrieval.Nicola Mettifogo
svn-id: r28565
2007-08-12Added first location selection for each part.Nicola Mettifogo
svn-id: r28564
2007-08-12Added more resource loading.Nicola Mettifogo
svn-id: r28563
2007-08-12BRA now loads tables and correctly selects episode (part) for resource loading.Nicola Mettifogo
svn-id: r28562
2007-08-12Disk can now load tables for BRA.Nicola Mettifogo
svn-id: r28561
2007-08-12Added simple game loop to BRA. The game still crashes after menu.Nicola Mettifogo
svn-id: r28560
2007-08-12Oops. Buffers are now initialized properly.Nicola Mettifogo
svn-id: r28559
2007-08-12Change BRA to default to 1x scaler.Travis Howell
svn-id: r28558
2007-08-12Fix BRA regressions.Travis Howell
svn-id: r28557
2007-08-12Pushed menu handling into Parallaction_ns.Nicola Mettifogo
svn-id: r28556