Max Horn
f3420c6372
DRACI: Reduce header interdependencies; some cleanup
...
svn-id: r46320
2009-12-09 21:03:22 +00:00
Robert Špalek
9dd61159cd
Documented palette shift
...
svn-id: r45825
2009-11-11 00:27:08 +00:00
Robert Špalek
8edfd6b56c
Updated the list of TODOs
...
svn-id: r45768
2009-11-08 22:48:27 +00: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
25b3e687a7
Fix several palette fading bugs.
...
svn-id: r45497
2009-10-29 01:55:06 +00:00
Robert Špalek
c781f01321
Implement palette fading
...
svn-id: r45455
2009-10-28 07:34:17 +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
359d374dc6
Added const's to getPalette() and several uses of getObject()
...
svn-id: r44434
2009-09-28 04:09:03 +00:00
Robert Špalek
431780297e
Added some more const's to the interface of Dragon History
...
svn-id: r44362
2009-09-25 17:33:00 +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
Filippos Karapetis
a74a9c6c01
Silenced some warnings
...
svn-id: r44329
2009-09-25 07:06:55 +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
0ec737db69
Stopped doing a screen update immediately after changing the palette. This caused a noisy effect when changing rooms because the palette was changed before the new scene was loaded.
...
svn-id: r42251
2009-07-08 00:48:03 +00:00
Denis Kasak
36fd17d499
Changed Font::fillScreen() to accept a uint8 instead of a uint16.
...
svn-id: r41780
2009-06-22 20:18:53 +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
adef44e451
* Made the Screen class use the new Surface class.
...
* Added Screen::drawRect() method.
* Added support for updating dirty rectangles.
svn-id: r41657
2009-06-19 00:13:05 +00:00
Eugene Sandulenko
fbec4434e5
Turned constants into enum in order to remove need of prototypes.
...
svn-id: r41623
2009-06-18 05:30:21 +00:00
Denis Kasak
0ff3c1945f
Changed _screenWidth and _screenHeight from member variables to constants because the screen size doesn't change.
...
svn-id: r41620
2009-06-18 00:33:16 +00:00
Denis Kasak
efef9e4eff
Added kNumColours constant and replaced magic numbers with it.
...
svn-id: r41617
2009-06-17 23:11:24 +00:00
Denis Kasak
1712db9112
Added default parameter to Screen::setPaletteEmpty() so it clears all colours by default.
...
svn-id: r41614
2009-06-17 21:29:05 +00:00
Denis Kasak
997b37eff1
Began work on the Screen class. Modified the demo animation to use the it.
...
svn-id: r41604
2009-06-17 04:48:48 +00:00