aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
AgeCommit message (Collapse)Author
2007-11-01Fix for bug #1822819. Donna now changes her look into Suzy after makeup.Nicola Mettifogo
svn-id: r29361
2007-11-01Added new LocationName class to simplify handling of location switches.Nicola Mettifogo
svn-id: r29353
2007-10-30Fix for bug #1822680.Nicola Mettifogo
svn-id: r29326
2007-10-27Temporarily force quits when user presses exit key combination. A TODO ↵Nicola Mettifogo
comment has been added to places where behavior should be changed to allow the engine to exit gracefully. svn-id: r29270
2007-10-21Relaxed freeZones policy for deciding which zones to preserve across ↵Nicola Mettifogo
location switches. Special zones are now never deleted even if strictly not needed. This will fix some occasional crashes related to inventory management. svn-id: r29241
2007-10-21Added new debug level for inventory routines.Nicola Mettifogo
svn-id: r29239
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-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-22Fixed broken compile on MSVC.Nicola Mettifogo
svn-id: r29026
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