aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.h
AgeCommit message (Collapse)Author
2007-10-13Decoupled password request from actual rendering of the dialogue screen, ↵Nicola Mettifogo
thus making it possible to fix bug #1765300. This bug was present in the original game, causing garbled text to appear when asking for password (only in the English version). svn-id: r29213
2007-10-07Added beep sound to Nippon Safes for Amiga.Nicola Mettifogo
svn-id: r29171
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-23Moved most of inventory-related code inside classes Inventory and ↵Nicola Mettifogo
InventoryRenderer. Shift is not completed, as new code doesn't handle selections yet (falling back to existent code). svn-id: r29060
2007-09-22Refactored a lot of Character-related code and put it into the Character class.Nicola Mettifogo
svn-id: r29025
2007-09-19Modified patch #1738058: "Action recorder".Eugene Sandulenko
svn-id: r28968
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-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-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-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-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-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-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-12Added first location selection for each part.Nicola Mettifogo
svn-id: r28564
2007-08-12BRA now loads tables and correctly selects episode (part) for resource loading.Nicola Mettifogo
svn-id: r28562
2007-08-12Added simple game loop to BRA. The game still crashes after menu.Nicola Mettifogo
svn-id: r28560
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-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-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-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-11Cleanup.Nicola Mettifogo
svn-id: r28525
2007-08-11Overhaul of background/mask/path handling:Nicola Mettifogo
- added new BackgroundInfo structure - added helper functions to aid management of BackgroundInfo. Engine is now responsible for allocation/deallocation. - simplified loading and handling of background resources. svn-id: r28524
2007-08-09Added code to load and display splash screens for BRA. The game crashes ↵Nicola Mettifogo
afterwards. svn-id: r28511
2007-08-07Turned StaticCnv struct into stock Graphics::Surface, and changed all ↵Nicola Mettifogo
relevant code. svn-id: r28484
2007-08-06- Renamed BitBuffer to MaskBufferNicola Mettifogo
- Added PathBuffer to handle 1-bit buffers for walkable areas - Changed relevant walk code to use PathBuffer objects for querying screen dimensions. svn-id: r28478
2007-08-06Removed useless mask width and size data members from engine.Nicola Mettifogo
svn-id: r28474
2007-07-29Refactored allegedly ugly code.Nicola Mettifogo
svn-id: r28318