aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
AgeCommit message (Collapse)Author
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
2007-08-12Added menu options enum to BRA and some refactoring.Nicola Mettifogo
svn-id: r28554
2007-08-12Moved intro hack routines to Parallaction_ns callables, where they belonged ↵Nicola Mettifogo
from the beginning. svn-id: r28541
2007-08-12Even better large background support. Now internal buffers aren't ↵Nicola Mettifogo
reallocated if not background size stays the same across location switches. svn-id: r28540
2007-08-12Better support for large backgrounds.Nicola Mettifogo
svn-id: r28539
2007-08-12Added very basic support for backgrounds larger than screen:Nicola Mettifogo
- background surfaces are now reallocated for every location - screen is copied according to _scrollX/Y position svn-id: r28538
2007-08-11Added partial cursor support for Big Red Adventure. Small adjustments to ↵Nicola Mettifogo
generalize disk code for multiple cursors. svn-id: r28537
2007-08-11Moved cursor handling from Gfx to engine subclasses.Nicola Mettifogo
svn-id: r28534
2007-08-11Fixed warning.Torbjörn Andersson
svn-id: r28533
2007-08-11Main menu in Big Red Adventure is now available. Cursor is still ScummVM stock.Nicola Mettifogo
svn-id: r28531
2007-08-11Moved core font management from Gfx to engine. Gfx still retains features ↵Nicola Mettifogo
related to displaying text on screen. svn-id: r28530
2007-08-11Added preliminary font support for Big Red Adventure.Nicola Mettifogo
svn-id: r28529
2007-08-11Since splash screen graphics will be called slides (like in Nippon Safes), ↵Nicola Mettifogo
loading code has been moved to loadSlide. Related code in engine has been refactored as well. svn-id: r28527
2007-08-11Deleted some rotten comments.Nicola Mettifogo
svn-id: r28526
2007-08-11Cleanup.Nicola Mettifogo
svn-id: r28525