aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/script.cpp
AgeCommit message (Expand)Author
2009-08-05Fixed second call to Surface::centerOnX() (should have been centerOnY()).Denis Kasak
2009-08-04Refactored Script::talk() to use the new centering methods.Denis Kasak
2009-08-03Fixed bug in the math expression evaluator; when evaluating operators, operan...Denis Kasak
2009-08-02Implemented the Talk GPL command.Denis Kasak
2009-07-31* Added Game::runGateProgram()Denis Kasak
2009-07-29Removed some garbage I accidentally pasted into a comment.Denis Kasak
2009-07-29* Removed some code I forgot to remove in Game::startPlay() (a call to Animat...Denis Kasak
2009-07-29* Implemented the StartPlay and Play GPL commands properlyDenis Kasak
2009-07-29* Implemented GPL function ActPhase (as Script::funcActPhase())Denis Kasak
2009-07-25* Moved walking code to Game::walkHero().Denis Kasak
2009-07-25Made Script::run() manually mark the last animation index before it executes ...Denis Kasak
2009-07-25Implemented ExecUse, ExecLook and ExecInit GPL commands.Denis Kasak
2009-07-25* Added DraciEngine::_initArchive and made Game use it. Fixes a memory bug be...Denis Kasak
2009-07-25* Added handlers for the ObjStat and ObjStat_On GPL commandsDenis Kasak
2009-07-24Temporary mapped GPL command StartPlay to handler for Start and reenabled gat...Denis Kasak
2009-07-24* Added tracking and deleting animations by index (which represents the order...Denis Kasak
2009-07-17* Added Game::loop()Denis Kasak
2009-07-15* Changed Game members _numMasks, _init, _look, _use and _canUse from uint16 ...Denis Kasak
2009-07-13* Implemented the following GPL functions: IsIcoOn, IcoStat, IsObjOn, IsObjOf...Denis Kasak
2009-07-12Fixed bug in the GPL math evaluator (GPL function results were not pushed ont...Denis Kasak
2009-07-08Made Script::run() seek in SEEK_CUR mode when jumping instead of the default ...Denis Kasak
2009-07-08* Implemented GPL jumpsDenis Kasak
2009-07-07* Made Game::_variables private and, instead, added Game::{get,set}Variable()...Denis Kasak
2009-07-07Implementend F_Not GPL function.Denis Kasak
2009-07-07* From Game::GameObject removed the following _idxSeq, _numSeq, _animObj, _se...Denis Kasak
2009-07-07* Changed Game::_variables to public since the GPL interpreter needs to use i...Denis Kasak
2009-07-07Made GPL interpreter exit on both gplend and exit instructions.Denis Kasak
2009-07-07Added enum constant for the dragon object (kDragonObject) and made Script::st...Denis Kasak
2009-07-06Removed two variables that were committed by mistake.Denis Kasak
2009-07-06Implemented Script::funcRandom (GPL function).Denis Kasak
2009-07-06Set up GPL functions properly (the math evaluator now calls the handler if it...Denis Kasak
2009-07-06Fixed bug where the GPL interpreter left parameters from previous commands on...Denis Kasak
2009-07-06Implemented Script::play() GPL opcode.Denis Kasak
2009-07-06Implemented GPL operators.Denis Kasak
2009-07-04Implemented handler for the Load instruction. Removed Script::dummy().Denis Kasak
2009-07-04Restructured Script so I can start adding callbacks to GPL commands (added Dr...Denis Kasak
2009-06-28Added an offset parameter to Script::run() so we can specify where to start t...Denis Kasak
2009-06-28Changed Script::run() to accept a GPL2Program struct instead of a byte pointe...Denis Kasak
2009-06-27Renamed Script::gpldisasm() to Script::run().Denis Kasak
2009-06-27Put all GPL interpreter related routines inside a Script class.Denis Kasak
2009-06-27Renamed gpldisasm.* to script.* in anticipation of using it as a script intep...Denis Kasak