aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
AgeCommit message (Collapse)Author
2008-01-09Replaced the remaining old string code with the new label code. All the text ↵Nicola Mettifogo
is now drawn in the framebuffer instead of being blitted onto the internal game screen buffer. svn-id: r30360
2008-01-08Restructured label handling and moved all related code to Gfx.Nicola Mettifogo
svn-id: r30345
2008-01-08Added a proper _name member to Zone, instead of using the label text.Nicola Mettifogo
svn-id: r30343
2008-01-06Indent with tabs instead of spaces.Torbjörn Andersson
svn-id: r30312
2008-01-06Moved balloons management into Gfx, which is now responsible for positioning ↵Nicola Mettifogo
and drawing. All balloons are now drawn on a different layer than the game graphics, thus simplifying screen management. Dialogue code has undergone a major revision, and the superior implementation of answer selection in the Amiga version is now used in place of the poor PC one. Other bits (where some changes had already been introduced) have been updated, too. svn-id: r30311
2007-11-28Update mouse coordinates onn *all* mouse events, i.e. also after click eventsMax Horn
svn-id: r29657
2007-11-22* added adapter from Graphics::Surface to FramesNicola Mettifogo
* changed all Disk routines to return Frames* instead of Graphics::Surface* * changed displayItemComment to use new gfx routines * merged code for Examine zones into displayComment svn-id: r29615
2007-11-22* added (incomplete) explicit state machine handling in engine class (see ↵Nicola Mettifogo
_inputMode) * added service routines to Gfx * changed displayCharacterComment to work with the new state machine and gfx routines svn-id: r29613
2007-11-21* moved label drawing into Gfx, to be drawn directly in the framebufferNicola Mettifogo
* changed low level blitting function to accept Graphics::Surface to ease development * temporarily disabled labels/subtitles in BRA svn-id: r29593
2007-11-19* made engine use Inventory and InventoryRendererNicola Mettifogo
* inventory drawing is now performed directly in the framebuffer instead of using the game screen buffer * specialized jobs to handle inventory drawing have been deleted as they had become obsolete svn-id: r29571
2007-11-19Walk and script handling are now directly handled by the main loop, instead ↵Nicola Mettifogo
of relying on the job list. svn-id: r29568
2007-11-18Cleanup.Nicola Mettifogo
svn-id: r29562
2007-11-18Partly decoupled rendering from game data update. Graphics routines to ↵Nicola Mettifogo
draw/erase animations and labels are now invoked explicitly instead of being handled in the job list. svn-id: r29561
2007-11-18Removed other paranoia code from the original engine (as in revision 29505).Nicola Mettifogo
svn-id: r29558
2007-11-18Cleanup.Nicola Mettifogo
svn-id: r29556
2007-11-17Refactored main input code.Nicola Mettifogo
svn-id: r29532
2007-11-14Removed an unclear (paranoid?) continue statement from the original engine. ↵Nicola Mettifogo
We are just doing a screen update more than the original this way. If this is bad, then we can go back, but for now, let the execution flow. svn-id: r29505
2007-11-14* centralized kEngineChangeLocation flag handlingNicola Mettifogo
* simplified runGame, moving flags testing into called routines svn-id: r29504
2007-11-06Fixed regression: loading from the start screens was messing up game flags.Nicola Mettifogo
svn-id: r29439
2007-11-04* Pushed specific code from base class down to Nippon Safes.Nicola Mettifogo
* Some refactoring of the main loop. svn-id: r29407
2007-11-03Patch #1825276: "DETECTION: advanced detector engine simplification"Eugene Sandulenko
svn-id: r29386
2007-11-02Fixed overflow after fadeout in the last game location (bug #1824026).Nicola Mettifogo
svn-id: r29374
2007-11-01Donna now returns to her normal outfit after swimming.Nicola Mettifogo
svn-id: r29373
2007-11-01Made debug console available when displaying slides (like intermissions and ↵Nicola Mettifogo
menu). svn-id: r29370
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