aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/sprite.cpp
AgeCommit message (Expand)Author
2009-10-30Moved all one-line getters/setters to the header filesRobert Špalek
2009-10-30Remove most of default parameter values.Robert Špalek
2009-10-30Move WalkingMap into new module.Robert Špalek
2009-09-30Remove trailing whitespacesMax Horn
2009-09-30- Adapt parts of the Draci code to match our code formatting guidelinesJohannes Schickel
2009-09-29Rewrite from scratch drawReScaled() and cropping now works well.Robert Špalek
2009-09-27Improved the interface of Sprite and Animation concerning relative coordinate...Robert Špalek
2009-09-25Added some more const's to the interface of Dragon HistoryRobert Š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-09Added Text::setFont().Denis Kasak
2009-08-02Calculate the character length of Text objects (without the '|' separators) w...Denis Kasak
2009-07-27* Added Sprite::getPixel() (takes into account whether a sprite is mirrored o...Denis Kasak
2009-07-26* Removed friend declarations in Drawable for Sprite and Text, and made Drawa...Denis Kasak
2009-07-25Simplified rectangle height and width calculation in Sprite::drawScaled() (us...Denis Kasak
2009-07-22Fixed scaled mirrored sprite drawing. This change enables the NoSense logo an...Denis Kasak
2009-07-22* Moved scaling support from Animation to SpriteDenis Kasak
2009-07-20* Added scaling supportDenis Kasak
2009-07-12Moved the delay mechanism from Animation to Drawable since each frame in an a...Denis Kasak
2009-07-07Added const keyword to "transparent" local variable in Sprite::draw() and rem...Denis Kasak
2009-07-06Cache the transparent colour instead of calling a function for every pixel.Denis Kasak
2009-07-04Rewrote Sprite::draw() to draw overflowing sprites correctly. Stopped playing...Denis Kasak
2009-07-04* Removed tracking of Z coordinates in Drawable since it's not usedDenis Kasak
2009-07-03Added Sprite::getRect() and Text::getRect().Denis Kasak
2009-07-03Added support for mirrored sprites.Denis Kasak
2009-07-03Added bool parameter markDirty to Sprite::draw() and Text::draw() to specify ...Denis Kasak
2009-07-01Added Text::setSpacing() method.Denis Kasak
2009-07-01Made Text objects calculate their widths and heights properly.Denis Kasak
2009-07-01Made coordinate specification mandatory when constructing objects of type Spr...Denis Kasak
2009-07-01Added Text::setText() and Text::setColour() methods. Changed demo animation t...Denis Kasak
2009-07-01Added text position specification to Text constructor.Denis Kasak
2009-07-01Added Text as a subclass of Drawable. Fixed syntax error in font.cppDenis Kasak
2009-06-30Added the Drawable abstract base class and made Sprite inherit from it.Denis Kasak
2009-06-25Added transformToRows() static method to Sprite. Modified Sprite constructors...Denis Kasak
2009-06-22* Expanded docs for the Sprite classDenis Kasak
2009-06-19Added Sprite::draw() method for drawing sprites to a Surface.Denis Kasak
2009-06-14Removed superfluous return from the Sprite constructor.Denis Kasak
2009-06-14Whitespce fixesEugene Sandulenko
2009-06-14Added a Sprite class for handling sprites in the Draci format transparently. ...Denis Kasak