Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-18 | DRACI: Make GPL headers consistent in themselves. | Johannes Schickel | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-04-14 | ALL: colour -> color | Max Horn | |
2010-03-22 | Patch #2973290: Semicolon cleanup | Max Horn | |
svn-id: r48359 | |||
2009-12-09 | DRACI: Reduce header interdependencies; some cleanup | Max Horn | |
svn-id: r46320 | |||
2009-11-23 | Fixed breaking long lines instead of using smaller font (which is sometimes ↵ | Robert Špalek | |
not enough) svn-id: r46101 | |||
2009-11-08 | Removed almost all TODOs from the header files | Robert Špalek | |
svn-id: r45765 | |||
2009-11-01 | Get rid of doubling memory allocation and a lot of copying. | Robert Špalek | |
The Sprite class points to the original buffer (which is cached in the memory thanks to BArchive machinery) instead of allocating its own buffer and copying the source there. svn-id: r45594 | |||
2009-10-30 | Moved all one-line getters/setters to the header files | Robert Špalek | |
svn-id: r45524 | |||
2009-10-30 | Remove most of default parameter values. | Robert Špalek | |
Also, add comments to the last commit. svn-id: r45511 | |||
2009-10-08 | Change doxygen inline comments from "//!" to "///" as proposed on -devel | Max Horn | |
svn-id: r44802 | |||
2009-09-30 | Remove trailing whitespaces | Max Horn | |
svn-id: r44493 | |||
2009-09-30 | - Adapt parts of the Draci code to match our code formatting guidelines | Johannes Schickel | |
- Remove use of tabs for formatting, now in nearly all cases tabs are only used for indentation - Use "uint" instead of "unsigned int" in the whole engine for consistency's sake - Strip some trailing tabs and leading whitespaces svn-id: r44478 | |||
2009-09-27 | Improved the interface of Sprite and Animation concerning relative ↵ | Robert Špalek | |
coordinates and scaling. It is no longer needed to modify the underlying animations when drawing them on the screen or testing pixels in them. Read access is enough, because the displacement of the object is passed as a parameter. Added some more const's where they logically belong. svn-id: r44419 | |||
2009-09-25 | Added some more const's to the interface of Dragon History | Robert Špalek | |
svn-id: r44362 | |||
2009-09-25 | Add const's to many interfaces of engines/draci/ | Robert Špalek | |
svn-id: r44331 | |||
2009-08-09 | Added Text::setFont(). | Denis Kasak | |
svn-id: r43159 | |||
2009-08-02 | Calculate the character length of Text objects (without the '|' separators) ↵ | Denis Kasak | |
when setting a new string. Implemented Text::getLength(). svn-id: r42990 | |||
2009-07-27 | * Added Sprite::getPixel() (takes into account whether a sprite is mirrored ↵ | Denis Kasak | |
or scaled) * Made the Text class internally store a Common::String instead of a byte * svn-id: r42835 | |||
2009-07-26 | * Removed friend declarations in Drawable for Sprite and Text, and made ↵ | Denis Kasak | |
Drawable's private members protected so they can access them * Added Text::drawScaled() and altered Text::getRect() so Text instances can be accessed through a Drawable pointer. Scaling text is planned for later because it's not essential. svn-id: r42789 | |||
2009-07-22 | * Removed some unnecessary virtual qualifiers from methods in Drawable, ↵ | Denis Kasak | |
Sprite and Text. * Changed some Drawable members from uint16 to uint. * Added some const qualifiers to methods of Drawable. svn-id: r42648 | |||
2009-07-22 | * Moved scaling support from Animation to Sprite | Denis Kasak | |
* Now each Sprite (and hence frame in an animation) can have a separate zoom (which is needed for some animations in the game) * Scale factors are not stored any more; instead, we only store scaled dimensions (since these are stored in the data files) and calculate the factors from those. svn-id: r42647 | |||
2009-07-20 | * Added scaling support | Denis Kasak | |
* Made the dragon scale when it is in different parts of the room * Added getters for relative coordinates (Animation::getRelativeX() and Animation::getRelativeY()) * Commented Game::loop() and Sprite::draw*() methods in more detail svn-id: r42627 | |||
2009-07-12 | Moved the delay mechanism from Animation to Drawable since each frame in an ↵ | Denis Kasak | |
animation can have a different delay. svn-id: r42427 | |||
2009-07-04 | * Removed tracking of Z coordinates in Drawable since it's not used | Denis Kasak | |
* Made columnwise parameter mandatory * Made Sprite coordinates signed (the engine sometimes uses negative coordinates) * Prevented overflow when drawing sprites in some cases svn-id: r42100 | |||
2009-07-03 | Added Sprite::getRect() and Text::getRect(). | Denis Kasak | |
svn-id: r42074 | |||
2009-07-03 | Added support for mirrored sprites. | Denis Kasak | |
svn-id: r42067 | |||
2009-07-03 | Added bool parameter markDirty to Sprite::draw() and Text::draw() to specify ↵ | Denis Kasak | |
whether to mark a dirty rect for a particular draw (also added such support to the Font class since it's needed by Text). Made spacing parameters for Text instances mandatory. svn-id: r42066 | |||
2009-07-01 | Added Text::setSpacing() method. | Denis Kasak | |
svn-id: r41999 | |||
2009-07-01 | Made coordinate specification mandatory when constructing objects of type ↵ | Denis Kasak | |
Sprite and Class. Made transforming from columnwise a default (since it was done most of the time anyway). Changed coordinates to use uint instead of uint16. svn-id: r41996 | |||
2009-07-01 | Modified Sprite, Text and Drawable to handle data hiding properly since ↵ | Denis Kasak | |
they're no longer just C-like struct containers. Implemented getters/setters accordingly and changed existing code that used those classes. svn-id: r41995 | |||
2009-07-01 | Added Text::setText() and Text::setColour() methods. Changed demo animation ↵ | Denis Kasak | |
to use them. svn-id: r41984 | |||
2009-07-01 | Added text position specification to Text constructor. | Denis Kasak | |
svn-id: r41982 | |||
2009-07-01 | Added Text as a subclass of Drawable. Fixed syntax error in font.cpp | Denis Kasak | |
svn-id: r41981 | |||
2009-06-30 | Added the Drawable abstract base class and made Sprite inherit from it. | Denis Kasak | |
svn-id: r41979 | |||
2009-06-22 | * Expanded docs for the Sprite class | Denis Kasak | |
* Added Surface and Screen docs * Small documentation fixes svn-id: r41779 | |||
2009-06-19 | Added Sprite::draw() method for drawing sprites to a Surface. | Denis Kasak | |
svn-id: r41654 | |||
2009-06-17 | Added prefices to safeguard defines in order to minimize risk of name clash. | Eugene Sandulenko | |
svn-id: r41605 | |||
2009-06-17 | Added include guards. | Denis Kasak | |
svn-id: r41600 | |||
2009-06-14 | Added a Sprite class for handling sprites in the Draci format transparently. ↵ | Denis Kasak | |
Modified the test animation to use it. svn-id: r41509 |