aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/font.h
AgeCommit message (Collapse)Author
2014-02-18DRACI: Make GPL headers consistent in themselves.Johannes Schickel
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-14ALL: colour -> colorMax Horn
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2009-12-09DRACI: Reduce header interdependencies; some cleanupMax Horn
svn-id: r46320
2009-11-08Removed almost all TODOs from the header filesRobert Špalek
svn-id: r45765
2009-10-30Remove most of default parameter values.Robert Špalek
Also, add comments to the last commit. svn-id: r45511
2009-09-30Remove trailing whitespacesMax Horn
svn-id: r44493
2009-09-30- Adapt parts of the Draci code to match our code formatting guidelinesJohannes 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-28get rid of static Common::String'sRobert Špalek
svn-id: r44432
2009-09-25Added some more const's to the interface of Dragon HistoryRobert Špalek
svn-id: r44362
2009-08-14Sped up the game during dialogues by not updating every drawn char ↵Denis Kasak
separately but the whole string at once. Also removed the markDirty parameter from Font::drawChar() since it's not needed anymore. svn-id: r43368
2009-08-11Added dialogue support.Denis Kasak
svn-id: r43253
2009-08-05* Added kTitleColour = 255 enum constant used in the following item.Denis Kasak
* Added proper colouring of the title animation fonts * Added Game::getEscRoom(). svn-id: r43063
2009-08-04* Added Font::getLineWidth()Denis Kasak
* Changed Font::getStringWidth() and Font::getStringHeight() to return uint instead of int. * Made the Font::drawString() overload which accepts a Common::String the "default" one. The overload accepting a (byte *) now calls that one (it was the other way around before). * Added proper line centering to the Font::drawString() routine. svn-id: r43053
2009-07-27* Added Font::getStringHeight()Denis Kasak
* Made Font::getStringWidth() calculate the width of the string properly now that handling of multi-row strings is in * Fixed bug which caused the last column of pixels in the last letter of a string to linger on the screen svn-id: r42832
2009-07-15Renamed Font::setFont() to loadFont(). Removed DraciEngine::_font and added ↵Denis Kasak
_smallFont and _bigFont so each font can be handled separately. svn-id: r42514
2009-07-03Added 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-01Added Font::drawString overload that takes in a pointer to a byte buffer and ↵Denis Kasak
a length instead of a Common::String. Changed the former drawString to be a wrapper for the new one. svn-id: r41980
2009-06-22* Expanded docs for the Sprite classDenis Kasak
* Added Surface and Screen docs * Small documentation fixes svn-id: r41779
2009-06-19Added support for the new Surface class to Font (transparency, marking dirty ↵Denis Kasak
rectangles). svn-id: r41656
2009-06-17Added prefices to safeguard defines in order to minimize risk of name clash.Eugene Sandulenko
svn-id: r41605
2009-06-15Added const to reference parameters of Font::drawString() and ↵Denis Kasak
Font::getStringWidth(). svn-id: r41530
2009-06-15Converted default font colours from static members of Font to constants. ↵Denis Kasak
Moved the initializer list of the Font constructor to the constructor body (for readability). svn-id: r41529
2009-06-14Added a Font _font variable to the engine instance. Fixed font colour ↵Denis Kasak
handling by replacing the appropriate colours before drawing. Added Font::setColour() method for changing the current font colour. Added include guards to draci/font.h. Moved kFontBig and kFontSmall constants to draci/font.cpp to prevent redefinition errors. svn-id: r41524
2009-06-14Renamed DraciFont class to Font to be more consistent with the rest of the ↵Denis Kasak
classes and other engines. svn-id: r41523
2009-06-14Changed DraciFont API to accept const Strings when loading fonts and added ↵Denis Kasak
constants for font types. svn-id: r41522
2009-06-14Reworded DraciFont docs (with regards to mentioning ASCII).Denis Kasak
svn-id: r41511
2009-06-12Made DraciFont::drawString() take a String reference instead of a copy.Denis Kasak
svn-id: r41472
2009-06-12Properly documented everything (including the new DraciFont class). ↵Denis Kasak
Reshuffled some old comments. svn-id: r41467
2009-06-11Implemented font handling via the DraciFont class. Reprogrammed the test ↵Denis Kasak
animation to use the original game fonts. Removed the old drawString() hack. svn-id: r41454