diff -r 1ac8aac92385 -r e79cd19772dd src/blitter/8bpp_debug.cpp --- a/src/blitter/8bpp_debug.cpp Wed Jun 13 12:05:56 2007 +0000 +++ b/src/blitter/8bpp_debug.cpp Tue Jun 19 07:21:01 2007 +0000 @@ -1,3 +1,7 @@ +/* $Id$ */ + +/** @file 8bpp_debug.cpp */ + #include "../stdafx.h" #include "../zoom.hpp" #include "../gfx.h" @@ -8,12 +12,12 @@ void Blitter_8bppDebug::Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom) { - const byte *src, *src_line; - Pixel8 *dst, *dst_line; + const uint8 *src, *src_line; + uint8 *dst, *dst_line; /* Find where to start reading in the source sprite */ - src_line = (const byte *)bp->sprite + (bp->skip_top * bp->sprite_width + bp->skip_left) * ScaleByZoom(1, zoom); - dst_line = (Pixel8 *)bp->dst + bp->top * bp->pitch + bp->left; + src_line = (const uint8 *)bp->sprite + (bp->skip_top * bp->sprite_width + bp->skip_left) * ScaleByZoom(1, zoom); + dst_line = (uint8 *)bp->dst + bp->top * bp->pitch + bp->left; for (int y = 0; y < bp->height; y++) { dst = dst_line;