diff options
author | peter1138 <peter1138@openttd.org> | 2007-07-05 12:23:54 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-07-05 12:23:54 +0000 |
commit | 68c6add8ccd9aa32eb799a433aa8a3b05ec84a57 (patch) | |
tree | 52e0cc5b1e4eb6cf9aed8556873ee6833662e11f /src/blitter | |
parent | b5079071762021ebfbb66a14eaa598e48d6a3234 (diff) | |
download | openttd-68c6add8ccd9aa32eb799a433aa8a3b05ec84a57.tar.xz |
(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
Diffstat (limited to 'src/blitter')
-rw-r--r-- | src/blitter/32bpp_anim.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blitter/32bpp_anim.cpp b/src/blitter/32bpp_anim.cpp index 5d3f32800..9dbc19fba 100644 --- a/src/blitter/32bpp_anim.cpp +++ b/src/blitter/32bpp_anim.cpp @@ -2,8 +2,8 @@ #include "../zoom.hpp" #include "../gfx.h" #include "../debug.h" -#include "../hal.h" #include "../table/sprites.h" +#include "../video/video_driver.hpp" #include "32bpp_anim.hpp" static FBlitter_32bppAnim iFBlitter_32bppAnim; @@ -269,7 +269,7 @@ void Blitter_32bppAnim::PaletteAnimate(uint start, uint count) } /* Make sure the backend redraws the whole screen */ - _video_driver->make_dirty(0, 0, _screen.width, _screen.height); + _video_driver->MakeDirty(0, 0, _screen.width, _screen.height); } Blitter::PaletteAnimation Blitter_32bppAnim::UsePaletteAnimation() |