src/blitter/32bpp_anim.cpp
changeset 7170 923946ec324f
parent 7138 67f99b0cc527
child 7552 56aa62dba204
equal deleted inserted replaced
7169:314b046af3a1 7170:923946ec324f
     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 "../hal.h"
       
     6 #include "../table/sprites.h"
     5 #include "../table/sprites.h"
       
     6 #include "../video/video_driver.hpp"
     7 #include "32bpp_anim.hpp"
     7 #include "32bpp_anim.hpp"
     8 
     8 
     9 static FBlitter_32bppAnim iFBlitter_32bppAnim;
     9 static FBlitter_32bppAnim iFBlitter_32bppAnim;
    10 
    10 
    11 void Blitter_32bppAnim::Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom)
    11 void Blitter_32bppAnim::Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom)
   267 			anim++;
   267 			anim++;
   268 		}
   268 		}
   269 	}
   269 	}
   270 
   270 
   271 	/* Make sure the backend redraws the whole screen */
   271 	/* Make sure the backend redraws the whole screen */
   272 	_video_driver->make_dirty(0, 0, _screen.width, _screen.height);
   272 	_video_driver->MakeDirty(0, 0, _screen.width, _screen.height);
   273 }
   273 }
   274 
   274 
   275 Blitter::PaletteAnimation Blitter_32bppAnim::UsePaletteAnimation()
   275 Blitter::PaletteAnimation Blitter_32bppAnim::UsePaletteAnimation()
   276 {
   276 {
   277 	return Blitter::PALETTE_ANIMATION_BLITTER;
   277 	return Blitter::PALETTE_ANIMATION_BLITTER;