equal
deleted
inserted
replaced
1 #include "../stdafx.h" |
1 #include "../stdafx.h" |
2 #include "../zoom.hpp" |
2 #include "../zoom.hpp" |
3 #include "../gfx.h" |
3 #include "../gfx.h" |
4 #include "../debug.h" |
4 #include "../debug.h" |
5 #include "../table/sprites.h" |
5 #include "../table/sprites.h" |
|
6 #include "../video/video_driver.hpp" |
6 #include "32bpp_anim.hpp" |
7 #include "32bpp_anim.hpp" |
7 |
8 |
8 static FBlitter_32bppAnim iFBlitter_32bppAnim; |
9 static FBlitter_32bppAnim iFBlitter_32bppAnim; |
9 |
10 |
10 void Blitter_32bppAnim::Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom) |
11 void Blitter_32bppAnim::Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom) |
266 anim++; |
267 anim++; |
267 } |
268 } |
268 } |
269 } |
269 |
270 |
270 /* Make sure the backend redraws the whole screen */ |
271 /* Make sure the backend redraws the whole screen */ |
271 _video_driver->make_dirty(0, 0, _screen.width, _screen.height); |
272 _video_driver->MakeDirty(0, 0, _screen.width, _screen.height); |
272 } |
273 } |
273 |
274 |
274 Blitter::PaletteAnimation Blitter_32bppAnim::UsePaletteAnimation() |
275 Blitter::PaletteAnimation Blitter_32bppAnim::UsePaletteAnimation() |
275 { |
276 { |
276 return Blitter::PALETTE_ANIMATION_BLITTER; |
277 return Blitter::PALETTE_ANIMATION_BLITTER; |