aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/exec_br.cpp
AgeCommit message (Collapse)Author
2010-06-27Prevent execution of the STOP script command when its Zone does not exist. ↵Nicola Mettifogo
Patch #3021744 by fuzzie with some comments. svn-id: r50363
2010-06-19Implemented PART command for BRA, largely based on patch #3005434 by fuzzie.Nicola Mettifogo
svn-id: r50039
2010-05-22Apply patch 3004991 by fuzzie: don't try and run dialogues for SPEAK zones ↵Nicola Mettifogo
without dialogue, but run the command list anyway. svn-id: r49140
2010-04-27Fix bug 2969257 (labels) and hopefully plug all the leaks.Nicola Mettifogo
svn-id: r48811
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-10-16Rollback additional file committed in r45147.Nicola Mettifogo
svn-id: r45148
2009-10-16Start the correct music inside the Hot Sushi. This fixes the part of ticket ↵Nicola Mettifogo
2879793 that is actually a bug. svn-id: r45147
2009-09-30* Added secondary inventories for BRA.Nicola Mettifogo
* Added comments where code must be added/updated to support multiple inventories. svn-id: r44476
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
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