aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/game.cpp
AgeCommit message (Expand)Author
2009-07-16* Added WalkingMaps classDenis Kasak
2009-07-16Fixed loading the location's walking map index (needed to subtract 1).Denis Kasak
2009-07-16Added proper cursor state handling (when in rooms that don't use the mouse). ...Denis Kasak
2009-07-15* Changed Game members _numMasks, _init, _look, _use and _canUse from uint16 ...Denis Kasak
2009-07-14Adjusted levels for some Game debug messages and added some new ones.Denis Kasak
2009-07-14Renamed GameInfo::_currentRoom to _startRoom to better reflect its purpose.Denis Kasak
2009-07-14Made Game allocate its _info member statically instead of dinamically.Denis Kasak
2009-07-13* Implemented the following GPL functions: IsIcoOn, IcoStat, IsObjOn, IsObjOf...Denis Kasak
2009-07-13Renamed Game::_itemStatus to _iconStatus. Added an assert to check if the num...Denis Kasak
2009-07-12Moved the delay mechanism from Animation to Drawable since each frame in an a...Denis Kasak
2009-07-12Enabled clearing the screen when the room changes since some rooms do not dra...Denis Kasak
2009-07-08Made the engine clear some more caches when it changes rooms (room, sprites a...Denis Kasak
2009-07-07* Made Game::_variables private and, instead, added Game::{get,set}Variable()...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-07Removed testing hack from Game::init() that displayed the dragon in the upper...Denis Kasak
2009-07-07Added enum constant for the dragon object (kDragonObject) and made Script::st...Denis Kasak
2009-07-07Stopped running the room init scripts twice.Denis Kasak
2009-07-07mplemented changing rooms properly (overlays and objects' animations are dele...Denis Kasak
2009-07-06* Fixed extracting visibility and location of object from its status byteDenis Kasak
2009-07-05Renaming Animation -> AnimationManager and AnimObj -> Animation in light of t...Denis Kasak
2009-07-05* API change for Animation and AnimObj; AnimObj is now a proper class and eac...Denis Kasak
2009-07-04Rewrote Sprite::draw() to draw overflowing sprites correctly. Stopped playing...Denis Kasak
2009-07-04* Added Game::init() and moved some functionality from Game::Game to it (load...Denis Kasak
2009-07-04* Split code from Game::changeRoom() into Game::loadRoom() and game::loadOver...Denis Kasak
2009-07-03Made Game::changeRoom() clear the overlaysArchive cache when it's done loadin...Denis Kasak
2009-07-03Enabled loading room number 1 as a test.Denis Kasak
2009-07-03Added support for loading room overlays to Game::changeRoom().Denis Kasak
2009-07-02Added Game::changeRoom() method and Game::_currentRoom.Denis Kasak
2009-07-02Added rooms and overlays archives.Denis Kasak
2009-07-02DraciEngine now opens and stores pointers to essential archives. Changed code...Denis Kasak
2009-07-02Merged the info available from _objectStatus with the GameObject struct. Made...Denis Kasak
2009-06-29Changed some data members in Draci::GameInfo from uint32 to uint16 (previousl...Denis Kasak
2009-06-29Account for endianess properly when reading in game variables.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-28Added struct GameObject (such structs are stored in OBJEKTY.DFW and used for ...Denis Kasak
2009-06-27Extended Game to load all info from INIT.DFW (general game info, dialog offse...Denis Kasak
2009-06-27Added Game's constructor. Added the Person struct and made Game constructor r...Denis Kasak
2009-06-26Added empty Game class.Denis Kasak