Denis Kasak
|
f4ba64d2e4
|
Implemented GPL operators.
svn-id: r42183
|
2009-07-06 17:25:34 +00:00 |
|
Denis Kasak
|
fdf9eb84d6
|
Implemented handler for the Load instruction. Removed Script::dummy().
svn-id: r42102
|
2009-07-04 18:36:45 +00:00 |
|
Denis Kasak
|
885ce59ce8
|
Restructured Script so I can start adding callbacks to GPL commands (added DraciEngine * member to Script, added Script::setupCommandList() which initialises the command list array, added Script::dummy() callback for the Load command for testing).
svn-id: r42090
|
2009-07-04 14:48:36 +00:00 |
|
Denis Kasak
|
6a78781889
|
Added an offset parameter to Script::run() so we can specify where to start the GPL program execution. Also, the init script for the dragon object is now run inside Game::Game().
svn-id: r41928
|
2009-06-28 16:28:16 +00:00 |
|
Denis Kasak
|
f61b2d289d
|
Changed Script::run() to accept a GPL2Program struct instead of a byte pointer and a length. Also, Script::run() now executes the GPL program until a gplend instruction rather than to the end of the whole program. Modified GameObject according to the new changes.
svn-id: r41927
|
2009-06-28 16:19:10 +00:00 |
|
Denis Kasak
|
4c524f5e0a
|
Renamed Script::gpldisasm() to Script::run().
svn-id: r41920
|
2009-06-27 15:19:03 +00:00 |
|
Denis Kasak
|
97dde5e1ed
|
Put all GPL interpreter related routines inside a Script class.
svn-id: r41919
|
2009-06-27 15:17:26 +00:00 |
|
Denis Kasak
|
2e30fae261
|
Renamed gpldisasm.* to script.* in anticipation of using it as a script intepreter.
svn-id: r41918
|
2009-06-27 15:00:14 +00:00 |
|