Age | Commit message (Collapse) | Author |
|
* Added WalkingMap::isWalkable()
* Renamed remaining _priority identifiers to _z which were left by mistake in the previous commit
svn-id: r42546
|
|
to int
* Modified Game::loadRoom to load gates and execute their scripts
* The first room loaded is now Game::_info._startRoom instead of 0
* Fixed reading of _pers0 and _persStep from the data files (they are 6 instead of 12 bytes)
* Added more debug info to Script and Game
svn-id: r42515
|
|
IsObjOff, IsObjAway
* Changed GameObject::_location to an int since we sometimes use location -1.
* Some more uint <-> int changes to prevent comparisons between signed and unsigned.
svn-id: r42452
|
|
onto the evaluation stack).
svn-id: r42424
|
|
SEEK_SET. It also now checks whether there is a non-zero jump value set before doing the jump.
svn-id: r42254
|
|
* Implemented c_If, c_Goto and c_Let opcodes
* Changed the interpreter to work with signed ints instead of uints (the interpreter uses negative values sometimes)
* Fixed documentation of Script::run() which said it is a disassembler (forgot to change it earlier)
svn-id: r42249
|
|
Game::{get,set}Variable() methods.
* Removed obsolete comment about the cyclic field not being used in Game::loadAnimation()
svn-id: r42246
|
|
svn-id: r42245
|
|
_seqTab (not used anymore), added Common::Array<int> _anims.
* Handled cylic animations properly
* Handled the Z coordinate properly
svn-id: r42244
|
|
it and made it int instead of uint16
* Implemented variable accessing by the math evaluator
* Fixed bug from previous commit (should have used && when checking for ending instructions, not ||)
svn-id: r42242
|
|
svn-id: r42241
|
|
Script::start() a bit more readable.
svn-id: r42236
|
|
svn-id: r42193
|
|
svn-id: r42191
|
|
its implemented).
svn-id: r42188
|
|
on the stack.
svn-id: r42185
|
|
svn-id: r42184
|
|
svn-id: r42183
|
|
svn-id: r42102
|
|
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
|
|
the GPL program execution. Also, the init script for the dragon object is now run inside Game::Game().
svn-id: r41928
|
|
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
|
|
svn-id: r41920
|
|
svn-id: r41919
|
|
intepreter.
svn-id: r41918
|