Johannes Schickel
a2a22980d8
DRACI: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
2011-04-17 16:26:07 +02:00
Max Horn
84184aabc0
ALL: colour -> color
2011-04-14 14:12:35 +02:00
Robert Špalek
6411125f39
Moved all one-line getters/setters to the header files
...
svn-id: r45524
2009-10-30 06:11:04 +00:00
Robert Špalek
c778efaca5
Remove most of default parameter values.
...
Also, add comments to the last commit.
svn-id: r45511
2009-10-30 01:41:57 +00:00
Robert Špalek
43f84746bf
Fixed positioning and update of the title under the mouse pointer.
...
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-10-03 05:16:19 +00:00
Max Horn
cc54ad650d
Remove trailing whitespaces
...
svn-id: r44493
2009-09-30 16:04:21 +00:00
Johannes Schickel
c9ca057ae2
- Adapt parts of the Draci code to match our code formatting guidelines
...
- 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-30 10:45:14 +00:00
Robert Špalek
d0db596311
Fix rounding coordinates at the edge of the screen.
...
svn-id: r44430
2009-09-27 23:57:39 +00:00
Denis Kasak
27a638fa82
draci: Fixed bug in Surface::centerOn{X,Y}() which made it return a negative 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-26 13:47:32 +00:00
Robert Špalek
f51c81f344
Add const's to many interfaces of engines/draci/
...
svn-id: r44331
2009-09-25 08:13:39 +00:00
Denis Kasak
fc6ff00cbc
Implemented Surface::getRect().
...
svn-id: r43109
2009-08-08 03:17:18 +00:00
Denis Kasak
561d55ff4d
Added Surface methods centerOnX() and centerOnY().
...
svn-id: r43051
2009-08-04 19:07:12 +00:00
Denis Kasak
224d8c087a
Added Surface::fill() method and made Screen::fillScreen() use that instead of filling the surface manually. Changed Surface to use uint instead of uint8 throughout.
...
svn-id: r42447
2009-07-13 19:08:04 +00:00
Denis Kasak
f5e39fa61d
* Expanded docs for the Sprite class
...
* Added Surface and Screen docs
* Small documentation fixes
svn-id: r41779
2009-06-22 20:13:25 +00:00
Denis Kasak
a6355466d0
Added Surface class.
...
svn-id: r41653
2009-06-18 23:55:35 +00:00