aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/exec_br.cpp
AgeCommit message (Collapse)Author
2009-04-06Removed useless references to the global _vm.Nicola Mettifogo
svn-id: r39879
2009-03-29(Re)link bounding animations after location has been completely parsed. This ↵Nicola Mettifogo
avoids problems due to forward references. svn-id: r39740
2009-03-29Merged CommandData into Command.Nicola Mettifogo
svn-id: r39732
2009-03-28Added workaround for script bug in ticket #2718449.Nicola Mettifogo
svn-id: r39724
2009-03-23Merged GetData, HearData, SpeakData, PathData, ExamineData, MergeData into ↵Nicola Mettifogo
TypeData struct. This simplifies life a bit especially in the parsers. svn-id: r39645
2009-03-23Fix pallete for label font in the Amiga version of BRA.Travis Howell
svn-id: r39632
2009-03-23Implemented all variants of IF script instruction. Program class has been ↵Nicola Mettifogo
changed to store an Array of instruction instead of a List, so that references to instructions are integers. svn-id: r39631
2009-03-23Partly implemented the STOP script instruction.Nicola Mettifogo
svn-id: r39624
2009-03-23Implemented MOVE script instruction.Nicola Mettifogo
svn-id: r39623
2009-03-23Fully implemented scrolling.Nicola Mettifogo
svn-id: r39622
2009-03-02Marked PUT, PRINT and WAIT commands as not used in the scripts of BRA (thus ↵Nicola Mettifogo
they won't be implemented). svn-id: r39075
2009-03-02Implemented 'open', 'close' and 'leave' commands.Nicola Mettifogo
svn-id: r39073
2009-02-26Cleanup of CommandExec and ProgramExec, and pushed down dependencies from ↵Nicola Mettifogo
exec.h. svn-id: r38892
2009-02-25* Rebased Parallaction_br to inherit from Parallaction instead of ↵Nicola Mettifogo
Parallaction_ns * Same as above for CommandExec_br and ProgramExec_br This should finally kill most issues with destruction, at the cost of some code duplication. svn-id: r38877
2009-02-24Implemented follower support, except that:Nicola Mettifogo
* follower is forgotten when location changes (see freeLocation) * the final walking frame is screwed svn-id: r38838
2009-02-24Added preliminary code for following walker support in BRA.Nicola Mettifogo
svn-id: r38837
2009-02-24Changed interface to walk code, to better handle the differences between ↵Nicola Mettifogo
games. Moreover: * merged PathBuilder_BR into PathWalker_BR * implemented checkTrap routine for BRA svn-id: r38836
2009-02-21Fix for bug #2619824. Command list execution is now paused when showing ↵Nicola Mettifogo
credits. This fixes the Amiga demo of Nippon Safes, which would otherwise quit without displaying the credits. svn-id: r38662
2009-01-04Implemented counters in BRA. Only valid answer options are shown, and ↵Nicola Mettifogo
counter calculations in scripts are performed. svn-id: r35723
2008-12-06Implemented horizontal scrolling for BRA, by using a back buffer. Dialogues ↵Nicola Mettifogo
in scrollable locations are a bit messed up for the moment. svn-id: r35253
2008-08-21Removed unused code and structures, and a bit of cleanup.Nicola Mettifogo
svn-id: r34080
2008-08-15Disabled lip syncing code in BRA, since I couldn't find any scripts actually ↵Nicola Mettifogo
using it. Some warnings have been added as a sentinel. svn-id: r33890
2008-08-15Simplified handling of script variables (especially locals).Nicola Mettifogo
svn-id: r33889
2008-08-14More cleanup.Nicola Mettifogo
svn-id: r33861
2008-08-14Cleanup.Nicola Mettifogo
svn-id: r33860
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-28Implemented opcodes for picking up/dropping/opening/closing items.Nicola Mettifogo
svn-id: r33370
2008-07-28Some instrumentation for script debugging.Nicola Mettifogo
svn-id: r33359
2008-07-25* Merged old input management flags into a single mouse status variable.Nicola Mettifogo
* Mouse is now displayed when it is needed, and hidden when it is not ;) svn-id: r33270
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-07-02- Changed labels to be GfxObj's, thus removing the Label object altogether.Nicola Mettifogo
- Changed Item's to be almost GfxObj's, since ownership and destruction of underlying resource is an issue here (got to think some more about it). svn-id: r32873
2008-06-04* Implemented character change opcodes in BRANicola Mettifogo
* Fixed loading of dialogue characters in BRA svn-id: r32529
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-09Tiny cleanup to ease extraction of the program parser code.Nicola Mettifogo
svn-id: r31959
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-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-07Implemented scroll command and added a couple more debug variables.Nicola Mettifogo
svn-id: r30814
2008-02-06Implemented some more opcodes in BRA. Animations should now be visible in ↵Nicola Mettifogo
most locations. svn-id: r30806
2008-02-05Changed main loop to allow BRA to return to menu after intro.Nicola Mettifogo
svn-id: r30798
2008-02-05Fixes to make BRA introduction run:Nicola Mettifogo
- fixed location command parser - implemented stop command - temporary disabled speak zones (audio is not yet supported) svn-id: r30796
2008-02-04Added FIXME comment about wrong color for subtitles in BRA.Nicola Mettifogo
svn-id: r30790
2008-02-03instOp_on and instOp_off are now implemented, so removed warnings.Nicola Mettifogo
svn-id: r30771
2008-02-03Implemented a couple more opcodes and added capability to load/display ↵Nicola Mettifogo
static images in BRA. svn-id: r30770
2008-02-03Programs are now handled in their own list, instead of being accessed via ↵Nicola Mettifogo
the referring Animation. svn-id: r30768