Age | Commit message (Collapse) | Author |
|
when setting a new string. Implemented Text::getLength().
svn-id: r42990
|
|
or scaled)
* Made the Text class internally store a Common::String instead of a byte *
svn-id: r42835
|
|
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
|
|
Sprite and Text.
* Changed some Drawable members from uint16 to uint.
* Added some const qualifiers to methods of Drawable.
svn-id: r42648
|
|
* 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
|
|
* 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
|
|
animation can have a different delay.
svn-id: r42427
|
|
* 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
|
|
svn-id: r42074
|
|
svn-id: r42067
|
|
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
|
|
svn-id: r41999
|
|
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
|
|
they're no longer just C-like struct containers. Implemented getters/setters accordingly and changed existing code that used those classes.
svn-id: r41995
|
|
to use them.
svn-id: r41984
|
|
svn-id: r41982
|
|
svn-id: r41981
|
|
svn-id: r41979
|
|
* Added Surface and Screen docs
* Small documentation fixes
svn-id: r41779
|
|
svn-id: r41654
|
|
svn-id: r41605
|
|
svn-id: r41600
|
|
Modified the test animation to use it.
svn-id: r41509
|