Beispiel #1
0
void VW_SetDefaultColors(void)
{
#if GRMODE == EGAGR
	colors[3][16] = bordercolor;
	BE_ST_EGASetPaletteAndBorder((id0_byte_t *)&colors[3]);
	screenfaded = false;
#endif
}
Beispiel #2
0
void VW_SetDefaultColors(void)
{
	if (GRMODE != EGAGR)
		return;
	// REFKEEN - Patch for 2015 port, use either colors[3] or fakecgacolors
	id0_char_t *palette = fakecgamode ? fakecgacolors : colors[3];
	palette[16] = bordercolor;
	BE_ST_EGASetPaletteAndBorder((id0_byte_t *)palette);
	screenfaded = false;
}
Beispiel #3
0
void VW_FadeDown(void)
{
#if GRMODE == EGAGR
	id0_int_t i;

	for (i=5;i>2;i--)
	{
	  colors[i][16] = bordercolor;
	  BE_ST_EGASetPaletteAndBorder((id0_byte_t *)&colors[i]);
	  VW_WaitVBL(6);
	}
	screenfaded = false;
#endif
}
Beispiel #4
0
void VW_FadeUp(void)
{
#if GRMODE == EGAGR
	id0_int_t i;

	for (i=3;i<6;i++)
	{
	  colors[i][16] = bordercolor;
	  BE_ST_EGASetPaletteAndBorder((id0_byte_t *)&colors[i]);
	  VW_WaitVBL(6);
	}
	screenfaded = true;
#endif
}
Beispiel #5
0
void VW_FadeDown(void)
{
	if ((GRMODE != EGAGR) || fakecgamode) // REFKEEN - Patch for 2015 port
		return;
	id0_int_t i;

	for (i=5;i>2;i--)
	{
	  colors[i][16] = bordercolor;
	  BE_ST_EGASetPaletteAndBorder((id0_byte_t *)&colors[i]);
	  VW_WaitVBL(6);
	}
	screenfaded = false;
}