Example #1
0
static void DrvDraw()
{
	BurnTransferClear();
	DrvCalcPalette();
	
	DrvRenderTileALayer();
	BurnTransferCopy(DrvPalette);
}
Example #2
0
static int TmntDraw()
{
	BurnTransferClear();
	TmntPalUpdate(bTmntRecalcPal); // Recalc whole pal if needed
	bTmntRecalcPal=0;
	BurnClearScreen();
	TmntTileDraw();
	BurnTransferCopy(TmntPal);
	return 0;
}
static int DrvDraw()
{
	if (DrvRecalc) {
		for (int i = 0; i < 0x1000; i++) {
			int rgb = Palette[i];
			DrvPalette[i] = BurnHighCol(rgb >> 16, rgb >> 8, rgb, 0);
		}
	}

	BurnTransferClear();
	draw_layer();

	draw_sprites();

	BurnTransferCopy(DrvPalette);

	return 0;
}