File diff r6888:f2ab5d0e6596 → r6889:9eefa1ce35c6
src/blitter/8bpp_debug.cpp
Show inline comments
 
@@ -35,6 +35,16 @@ void Blitter_8bppDebug::Draw(Blitter::Bl
 
	}
 
}
 

	
 
void Blitter_8bppDebug::DrawColorMappingRect(void *dst, int width, int height, int pal)
 
{
 
	const uint8 *ctab = GetNonSprite(pal) + 1;
 

	
 
	do {
 
		for (int i = 0; i != width; i++) _screen.renderer->SetPixel(dst, i, 0, ctab[((uint8 *)dst)[i]]);
 
		dst = _screen.renderer->MoveTo(dst, 0, 1);
 
	} while (height--);
 
}
 

	
 
Sprite *Blitter_8bppDebug::Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator)
 
{
 
	Sprite *dest_sprite;