aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/exec_ns.cpp
AgeCommit message (Collapse)Author
2008-07-30* Unified implementation of flow control opcodes in NS and BRANicola Mettifogo
* Simplified script execution loop and context svn-id: r33437
2008-07-29* Implemented pause/resume of command executionNicola Mettifogo
* Implemented command opcode MOVE (not the script instruction). svn-id: r33408
2008-07-29* Fixed positioning of balloons and faces in BRA (dos, at least).Nicola Mettifogo
* Adapted loading of faces. svn-id: r33392
2008-07-28Enforcing use of nullZonePtr only for nulling out pointers, as it is useless ↵Nicola Mettifogo
for comparisons. svn-id: r33384
2008-07-28Moved validation step from revision 33363, so that it is executed for all ↵Nicola Mettifogo
animations. svn-id: r33376
2008-07-28Added a post processing step to runScripts, so that Animation can be ↵Nicola Mettifogo
validated after buggy scripts have been executed. svn-id: r33363
2008-07-28Some instrumentation for script debugging.Nicola Mettifogo
svn-id: r33359
2008-07-22Changed comment display code so that input polling is integrated into the ↵Nicola Mettifogo
main loop, instead of being performed in a blocking way from a separate routine. svn-id: r33188
2008-07-21Massive refactoring of dialogue code, which is now implemented as a finite ↵Nicola Mettifogo
state machine. Related code in other files has been updated has well. svn-id: r33162
2008-07-13Cleanup and improved debugging output for CommandExec::run()Nicola Mettifogo
svn-id: r33022
2008-07-13Properly implemented the OFF command. The new rendering order for graphics ↵Nicola Mettifogo
let this mistake finally surface. svn-id: r33021
2008-07-11Cleanup.Nicola Mettifogo
svn-id: r33006
2008-07-11Moved program and command execution code out of the engine, into their own ↵Nicola Mettifogo
brand new classes. svn-id: r33003
2008-07-04- Moved dialogue balloon management code from Gfx to its own classNicola Mettifogo
- Added a class to draw balloons in BRA (still without text and with wrong placement) svn-id: r32902
2008-06-02Merged revisions ↵Christopher Page
32348-32349,32351-32356,32358-32411,32413-32441,32443-32445,32449,32453-32454,32456-32457,32459-32462,32464-32465,32467-32492,32494-32503 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r32505
2008-06-02PARA: Got rid of calls to system->quit() so that the Parallaction engine can ↵Christopher Page
return to the launcher. Also fixed a couple of memory leaks. svn-id: r32504
2008-06-01Got rid of the static arrays for initialization of parsers and exec opcodes, ↵Nicola Mettifogo
to make returning to launcher easier. The code has been borrowed by Kyra, after suggestion by LordHoto. svn-id: r32465
2008-05-14- Moved input code to its own class.Nicola Mettifogo
- Slightly simplified inventory highlight code thanks to changes in input code. svn-id: r32115
2008-05-10Extracted script parsing code to its own class.Nicola Mettifogo
svn-id: r31972
2008-05-09Tiny cleanup to ease extraction of the program parser code.Nicola Mettifogo
svn-id: r31959
2008-05-09Moved location parsing out of the engines, to LocationParser_ns and ↵Nicola Mettifogo
LocationParser_br. svn-id: r31958
2008-05-05- Moved some members from the engine class to Location, since they belong there.Nicola Mettifogo
- Cleaned up usage of location flags by using accessor functions. svn-id: r31872
2008-04-17Fixed usage of SharedPtr, so that reference counting is proper and there are ↵Nicola Mettifogo
no more objects that need constructors at global level (helps PalmOS). svn-id: r31533
2008-04-06Replaced custom ManagedList with Common::SharedPtr.Nicola Mettifogo
svn-id: r31415
2008-02-09More refactoring for command parsing/execution.Nicola Mettifogo
svn-id: r30841
2008-02-09Added new debug command to dump scripts execution status.Nicola Mettifogo
svn-id: r30840
2008-02-03Programs are now handled in their own list, instead of being accessed via ↵Nicola Mettifogo
the referring Animation. svn-id: r30768
2008-02-02Subtitles are now displayed in the intro for BRA, though in wrong color (and ↵Nicola Mettifogo
I don't know why). svn-id: r30747
2008-02-02BRA now loads and displays location backgrounds (at least in the intro).Nicola Mettifogo
svn-id: r30740
2008-02-02Some more integration of background code into BackgroundInfo.Nicola Mettifogo
svn-id: r30731
2008-01-30Fix shadowing warningFilippos Karapetis
svn-id: r30710
2008-01-29Fixed regression when displaying animation: the issue could only be noticed ↵Nicola Mettifogo
when characters appeared out of their sketches in the intro. svn-id: r30696
2008-01-28Removed usage of kBitFront and kBitBack. Only the old kBit2 buffer is kept ↵Nicola Mettifogo
to store the background picture. svn-id: r30687
2008-01-28Fixed animation sorting: everything should be drawn like before revision ↵Nicola Mettifogo
30673 now. Character may still disappear when changing location because of wrong resource management, though. svn-id: r30680
2008-01-28Removed all job routines. Stubs have been left for future reference in the ↵Nicola Mettifogo
code for BRA. svn-id: r30675
2008-01-28All interactive objects are now drawn in the framebuffer instead of using ↵Nicola Mettifogo
the old kBitBack/kBitFront buffers. Animation are not sorted yet, so they can overlap in an inconsistent fashion for the time being. svn-id: r30673
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-12Added function to encapsulate/protect manipulation of background.Nicola Mettifogo
svn-id: r30441
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-12-09Going back to uncached mode for graphics resources of Examine zones. This ↵Nicola Mettifogo
prevents engine to crash when trying to cache a resource out of the currently selected archive. svn-id: r29798
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-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-18Muting the compiler :PSven Hesse
svn-id: r29563
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-18Cleanup.Nicola Mettifogo
svn-id: r29556