aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/game.cpp
AgeCommit message (Expand)Author
2009-07-22* Moved scaling support from Animation to SpriteDenis Kasak
2009-07-20Made 'show walking map overlay' setting persist when changing rooms.Denis Kasak
2009-07-20* Added scaling supportDenis Kasak
2009-07-19* Used ldexp() in real_to_double() instead of doing the calculation manuallyDenis Kasak
2009-07-19Added capability for reading in Pascal 6-byte floats and made Game::loadRoom(...Denis Kasak
2009-07-18Made the engine handle the Z coordinate for the hero properly.Denis Kasak
2009-07-18Made the engine stop the dragon animation when the room changes.Denis Kasak
2009-07-18Fixed a bug where the cursor was not shown when the first room is loaded and ...Denis Kasak
2009-07-18* Added support for "walking" with the hero (i.e. moving the sprite to locati...Denis Kasak
2009-07-17* Made Game::changeRoom() clear some more archivesDenis Kasak
2009-07-17* Renamed Room::_numMasks to _numOverlays for consistency.Denis Kasak
2009-07-17* Added Game::loop()Denis Kasak
2009-07-16Renamed GameObject::_priority to _z.Denis Kasak
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