Ejemplo n.º 1
0
void F_Drawer(void)
{
	UpdateState |= I_FULLSCRN;
	if (!finalestage)
		F_TextWrite ();
	else
	{
		switch (gameepisode)
		{
		case 1:
			if (shareware)
			  V_DrawRawScreen((BYTE_REF) WR_CacheLumpName("ORDER", PU_CACHE));
			else
			  V_DrawRawScreen((BYTE_REF) WR_CacheLumpName("CREDIT", PU_CACHE));
			break;
		case 2:
			F_DrawUnderwater();
			break;
		case 3:
			F_DemonScroll();
			break;
		case 4: /* Just show credits screen for extended episodes */
		case 5:
			V_DrawRawScreen((BYTE_REF) WR_CacheLumpName("CREDIT", PU_CACHE));
			break;
		}
	}
}
Ejemplo n.º 2
0
void MN_DrawInfo(void)
{
    I_SetPalette(W_CacheLumpName("PLAYPAL", PU_CACHE));
    V_DrawRawScreen(W_CacheLumpNum(W_GetNumForName("TITLE") + InfoType,
                                   PU_CACHE));
//      V_DrawPatch(0, 0, W_CacheLumpNum(W_GetNumForName("TITLE")+InfoType,
//              PU_CACHE));
}
Ejemplo n.º 3
0
static void PageDrawer(void)
{
    V_DrawRawScreen(W_CacheLumpName(pagename, PU_CACHE));
    if (demosequence == 1)
    {
        V_DrawPatch(4, 160, W_CacheLumpName("ADVISOR", PU_CACHE));
    }
    UpdateState |= I_FULLSCRN;
}
Ejemplo n.º 4
0
static void F_DrawUnderwater(void)
{
	switch (finalestage)
	{
	case 1:
		paused = false;
		MenuActive = false;
		askforquit = false;

		if (!underwater_init)
		{
			underwater_init = true;
			F_InitUnderWater();
			/* draw underwater picture only once during finalestage 1,
			 * no need to update it thereafter. */
			V_DrawRawScreen((byte *)W_CacheLumpName("E2END", PU_CACHE));
		}
		break;

	case 2:
		V_DrawRawScreen((byte *) W_CacheLumpName("TITLE", PU_CACHE));
		break;
	}
}