Commit Graph

14 Commits

Author SHA1 Message Date
Nicola Mettifogo
d18274d0ee Implemented all variants of IF script instruction. Program class has been changed to store an Array of instruction instead of a List, so that references to instructions are integers.
svn-id: r39631
2009-03-23 11:38:09 +00:00
Max Horn
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Nicola Mettifogo
88efc8603e Removed null*Ptr dummy objects, using SharedPtr's reset method to null pointers instead.
svn-id: r38897
2009-02-26 10:44:01 +00:00
Nicola Mettifogo
d5d006bb30 Cleanup of CommandExec and ProgramExec, and pushed down dependencies from exec.h.
svn-id: r38892
2009-02-26 06:16:35 +00:00
Nicola Mettifogo
301e9d73d1 * Rebased Parallaction_br to inherit from Parallaction instead of 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-25 09:15:53 +00:00
Nicola Mettifogo
e088f680a6 Fix for bug #2619824. Command list execution is now paused when showing credits. This fixes the Amiga demo of Nippon Safes, which would otherwise quit without displaying the credits.
svn-id: r38662
2009-02-21 04:44:20 +00:00
Nicola Mettifogo
dc3e9027f4 Removed references to _vm from the engine itself.
svn-id: r35358
2008-12-14 10:32:26 +00:00
Nicola Mettifogo
4447be7102 Cleanup.
svn-id: r33860
2008-08-14 10:04:43 +00:00
Nicola Mettifogo
3dbeeaf8a1 * Unified implementation of flow control opcodes in NS and BRA
* Simplified script execution loop and context

svn-id: r33437
2008-07-30 07:58:25 +00:00
Nicola Mettifogo
f46ee2b70c * Implemented pause/resume of command execution
* Implemented command opcode MOVE (not the script instruction).

svn-id: r33408
2008-07-29 12:59:55 +00:00
Nicola Mettifogo
8d59006bd7 Some instrumentation for script debugging.
svn-id: r33359
2008-07-28 08:25:06 +00:00
Nicola Mettifogo
9c2d96530b Properly implemented the OFF command. The new rendering order for graphics let this mistake finally surface.
svn-id: r33021
2008-07-13 03:30:14 +00:00
Nicola Mettifogo
8ba56e98cf Cleanup.
svn-id: r33006
2008-07-11 13:36:22 +00:00
Nicola Mettifogo
8ed023142a Moved program and command execution code out of the engine, into their own brand new
classes.

svn-id: r33003
2008-07-11 13:06:28 +00:00