aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/game.cpp
AgeCommit message (Expand)Author
2009-10-12Dragon looks into the requested direction.Robert Špalek
2009-10-12Implemented GPL commands JustTalk and JustStay.Robert Špalek
2009-10-12Fix indexing of the dragon's animations.Robert Špalek
2009-10-12Reduced huge code duplication by introducing Game::stopObjectAnimations()Robert Špalek
2009-10-12Disambiguated _anims.Robert Špalek
2009-10-11Implemented a few more harmless GPL2 commandsRobert Špalek
2009-10-11Loading and caching sound samples in memory.Robert Špalek
2009-10-04Fixed two bugs concerning loading:Robert Špalek
2009-10-04Hack Game::_shouldExitLoop.Robert Špalek
2009-10-04Load inventory items properly after loading the game.Robert Špalek
2009-10-04Implemented rudimentary game loading/saving.Robert Špalek
2009-10-03Fixed positioning and update of the title under the mouse pointer.Robert Špalek
2009-10-01Fixed event handling. ValGrind fixups.Robert Špalek
2009-10-01Clean up room changing code and support returning from the map.Robert Špalek
2009-09-30Fix 2 ValGrind warnings.Robert Špalek
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ...Max Horn
2009-09-30Remove trailing whitespacesMax Horn
2009-09-30- Adapt parts of the Draci code to match our code formatting guidelinesJohannes Schickel
2009-09-30Implemented the map room, entered when 'm' is pressed.Robert Špalek
2009-09-29Rewrite from scratch drawReScaled() and cropping now works well.Robert Špalek
2009-09-29Clean up and unify positioning dragon's animationsRobert Špalek
2009-09-29draci:Denis Kasak
2009-09-28draci: Added methods Game::positionAnimAsHero(), Game::getHeroX() and Game::g...Denis Kasak
2009-09-28Fix a memory leakRobert Špalek
2009-09-28Added const's to getPalette() and several uses of getObject()Robert Špalek
2009-09-28Make getFile() return a const pointer and clean-up all uses of it.Robert Špalek
2009-09-27Fix rounding coordinates at the edge of the screen.Robert Špalek
2009-09-27Reduce code duplication when cleaning animationsRobert Špalek
2009-09-25Created a macro for lround(), for non-C99 compilers, and used that in places ...Filippos Karapetis
2009-09-25Add const's to many interfaces of engines/draci/Robert Špalek
2009-09-25Replaced the C99 lround() with floor(), to get draci to compile under non-C99...Filippos Karapetis
2009-08-17Removed public data variables of Game concerning dialogues and added getters/...Denis Kasak
2009-08-17Added inventory and item handling support (monster patch, sorry). Items were ...Denis Kasak
2009-08-15Removed _roomChange hack since it's no longer needed.Denis Kasak
2009-08-15* Implemented LoadPalette, SetPalette and BlackPalette GPL commands.Denis Kasak
2009-08-12Fixed dialogues logic (some indexes were calculated erroneously +/- 1).Denis Kasak
2009-08-12Moved setting inactive dialogue option colour to an else branch.Denis Kasak
2009-08-12Removed unnecessary else branch in the part of the loop handling substatus Talk.Denis Kasak
2009-08-12Fixed erroneous comment mentioning gates in Game::runDialogueProg().Denis Kasak
2009-08-12* When setting the first two game variables (room and gate), first convert th...Denis Kasak
2009-08-12Whenever we enter the top-level loop, disable exiting by default (fixes the h...Denis Kasak
2009-08-12* Split loop status and substatus into two different enums since they are two...Denis Kasak
2009-08-12Added some debug info for loop statuses and dialogues.Denis Kasak
2009-08-11Added dialogue selection colouring.Denis Kasak
2009-08-11Added dialogue support.Denis Kasak
2009-08-09Moved cursor state setting (when entering a new room) from Game::loadRoom() t...Denis Kasak
2009-08-09* Implemented Game::loadWalkingMap().Denis Kasak
2009-08-08* Test whether an object can be used by evaluating its canUse script (warning...Denis Kasak
2009-08-08Removed TODO concerning the nearest walkable point feature and reworded some ...Denis Kasak
2009-08-08* Implemented WalkingMap::findNearestWalkable() which mimics a heuristic from...Denis Kasak