aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/surface.cpp
AgeCommit message (Collapse)Author
2009-10-03Fixed positioning and update of the title under the mouse pointer.Robert Špalek
Clamping on the border of the screen works precisely. When switched to the inventory, titles of game items are displayed instead of a (sticky) title of the last object before entering the inventory. Put some const's where appropriate. svn-id: r44550
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-27Fix rounding coordinates at the edge of the screen.Robert Špalek
svn-id: r44430
2009-09-26draci: Fixed bug in Surface::centerOn{X,Y}() which made it return a negative ↵Denis Kasak
coordinate for strings that are too long. Resolves the crash caused by the English data files containing strings which are improperly line-breaked. Ideally, the engine should do the line-breaking itself when the string does not fit. svn-id: r44376
2009-09-25Add const's to many interfaces of engines/draci/Robert Špalek
svn-id: r44331
2009-08-08Implemented Surface::getRect().Denis Kasak
svn-id: r43109
2009-08-04Added Surface methods centerOnX() and centerOnY().Denis Kasak
svn-id: r43051
2009-07-13Added Surface::fill() method and made Screen::fillScreen() use that instead ↵Denis Kasak
of filling the surface manually. Changed Surface to use uint instead of uint8 throughout. svn-id: r42447
2009-06-22* Expanded docs for the Sprite classDenis Kasak
* Added Surface and Screen docs * Small documentation fixes svn-id: r41779
2009-06-18Added Surface class.Denis Kasak
svn-id: r41653