aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/game.cpp
AgeCommit message (Expand)Author
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
2009-08-06Enabled skipping the current line of text if a mouse click occurs.Denis Kasak
2009-08-06Moved walkHero() (in the main loop) to the appropriate place (in anticipation...Denis Kasak
2009-08-06Turn off mouse cursor and disable titles when running look / use scripts.Denis Kasak
2009-08-06Made the game behave properly and safe when clicking on objects multiple time...Denis Kasak
2009-08-05* Made some type changes to struct/class members in game.cpp (uint -> int and...Denis Kasak
2009-08-05* Added kTitleColour = 255 enum constant used in the following item.Denis Kasak
2009-08-05* Changed title text to use the small instead of the big fontDenis Kasak
2009-08-04* Reverted change that subtracts 1 from font colour indexes for various speak...Denis Kasak
2009-08-03* Fixed bug which made characters talk with the wrong colour; the colour inde...Denis Kasak
2009-08-02* Fixed bug when reading in persons data. I was reading in coordinates as byt...Denis Kasak
2009-08-02Added a dedicated animation for speech text.Denis Kasak
2009-08-01* Made the engine set the appropriate loop status before running a gate progr...Denis Kasak
2009-08-01When changing rooms, set the first two game variables to the new room and gat...Denis Kasak
2009-08-01* Added support for loop substatusDenis Kasak