aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
AgeCommit message (Collapse)Author
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-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
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-16Revised debug levels and added many debug strings for parsers.Nicola Mettifogo
svn-id: r28921
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-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-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-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-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 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-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-12Pushed menu handling into Parallaction_ns.Nicola Mettifogo
svn-id: r28556
2007-08-11Moved cursor handling from Gfx to engine subclasses.Nicola Mettifogo
svn-id: r28534
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-07Turned StaticCnv struct into stock Graphics::Surface, and changed all ↵Nicola Mettifogo
relevant code. svn-id: r28484
2007-08-07MaskBuffer and PathBuffer are now correctly freed before they are ↵Nicola Mettifogo
deallocated, and so is background Surface. svn-id: r28483
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-29Oops. Last cleanup left out one very important line.Nicola Mettifogo
svn-id: r28317
2007-07-29Cleanup.Nicola Mettifogo
svn-id: r28315
2007-07-29- Added parser strings for Big Red AdventureNicola Mettifogo
- Pushed parser strings initialization down to engine subclasses svn-id: r28295
2007-07-29Cleanup and some new comments.Nicola Mettifogo
svn-id: r28290
2007-07-29Moved specialized initialization code into subclasses.Nicola Mettifogo
svn-id: r28289
2007-07-28Now yielding control to system after updateScreen is invoked to get smoother ↵Nicola Mettifogo
mouse movements. svn-id: r28269
2007-07-28Screen is now refreshed when waiting for left clicks. Solves bug #1762618.Nicola Mettifogo
svn-id: r28265
2007-07-27- Moved disk code for Nippon Safes in new file disk_ns.cpp, adding _ns ↵Nicola Mettifogo
suffix to classes and member functions. - Added function stubs into new file disk_br.cpp for Big Red Adventure [IT STILL CRASHES!]. - Modified engine to create the proper Disk manager object. svn-id: r28246
2007-07-26Made screen size parameters properties of engine instead of compile-time ↵Nicola Mettifogo
constants. svn-id: r28219
2007-07-08Changed inventory graphics update from synchronous to lazy.Nicola Mettifogo
svn-id: r27975
2007-07-08Cleanup inventory code.Nicola Mettifogo
svn-id: r27974
2007-07-08Location background sound (different from music) now implemented.Nicola Mettifogo
svn-id: r27958
2007-07-04Fix introduction in Amiga multi-lingual version. Specifically characters for ↵Travis Howell
the introduction are only available in disk1 svn-id: r27897
2007-06-23Made changeCharacter restore the previous open Archive after completing its ↵Nicola Mettifogo
duties: this fixes known crash when mini-Dino activates robot, and possibly many unknown others. svn-id: r27684
2007-06-23Compare Common::KEYCODE_ against KeyState::keycode, not KeyState::asciiMax Horn
svn-id: r27666
2007-06-23Changed input routine to use KEYCODE.Nicola Mettifogo
svn-id: r27664
2007-06-18Mouse is now properly hidden during dialogues, and is restored after ↵Nicola Mettifogo
load/save dialog boxes are closed. Moreover, kEngineMouse constant has been renamed to better match its meaning. svn-id: r27539
2007-06-16Reduce code duplication.Travis Howell
svn-id: r27459
2007-06-16Fix quit command failing in certain locations (ie character/language ↵Travis Howell
selection) for now. svn-id: r27458
2007-06-15All known versions of Nippon Safes are now enabled with all features except ↵Nicola Mettifogo
for half-brite effects. Please keep an eye out for regression. svn-id: r27437
2007-06-15Add basic support for Amiga version.Travis Howell
svn-id: r27411
2007-06-05Fixed crash on exit (bug #1726185).Nicola Mettifogo
svn-id: r27105
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024