Nuclide
Software Development Kit for id Tech
background.qc File Reference

Classes

struct  backResource_t
 

Macros

#define BACKGROUND_IMG   "gfx/background"
 

Enumerations

enum  bgMode_t { BACK_AUTO = 0 , BACK_MATERIAL , BACK_VGUI1 , BACK_WON }
 

Functions

void Background_RendererRestarted (void)
 
void drawpic_flip (vector pos, string mat, vector size, vector color, float alpha)
 
void Background_WON (vector vecPos, vector vecSize)
 
void Background_Steam (vector vecPos, vector vecSize)
 
void Background_Draw2 (vector vecPos, vector vecSize)
 
void Background_Draw (vector vecPos, vector vecSize)
 

Variables

var bgMode_t g_bgMode
 
var float autocvar_menu_forceBGMode = 0
 
backResource_t g_back800 []
 

Macro Definition Documentation

◆ BACKGROUND_IMG

#define BACKGROUND_IMG   "gfx/background"

Enumeration Type Documentation

◆ bgMode_t

enum bgMode_t
Enumerator
BACK_AUTO 
BACK_MATERIAL 
BACK_VGUI1 
BACK_WON 

Function Documentation

◆ Background_Draw()

void Background_Draw ( vector  vecPos,
vector  vecSize 
)

◆ Background_Draw2()

void Background_Draw2 ( vector  vecPos,
vector  vecSize 
)

◆ Background_RendererRestarted()

void Background_RendererRestarted ( void  )

◆ Background_Steam()

void Background_Steam ( vector  vecPos,
vector  vecSize 
)

◆ Background_WON()

void Background_WON ( vector  vecPos,
vector  vecSize 
)

◆ drawpic_flip()

void drawpic_flip ( vector  pos,
string  mat,
vector  size,
vector  color,
float  alpha 
)

Variable Documentation

◆ autocvar_menu_forceBGMode

var float autocvar_menu_forceBGMode = 0

◆ g_back800

backResource_t g_back800[]
Initial value:
=
{
{"resource/background/800_1_a_loading",[256,256,0],[0,0,0]},
{"resource/background/800_1_b_loading",[256,256,0],[256,0,0]},
{"resource/background/800_1_c_loading",[256,256,0],[512,0,0]},
{"resource/background/800_1_d_loading",[32,256,0],[768,0,0]},
{"resource/background/800_2_a_loading",[256,256,0],[0,256,0]},
{"resource/background/800_2_b_loading",[256,256,0],[256,256,0]},
{"resource/background/800_2_c_loading",[256,256,0],[512,256,0]},
{"resource/background/800_2_d_loading",[32,256,0],[768,256,0]},
{"resource/background/800_3_a_loading",[256,88,0],[0,512,0]},
{"resource/background/800_3_b_loading",[256,88,0],[256,512,0]},
{"resource/background/800_3_c_loading",[256,88,0],[512,512,0]},
{"resource/background/800_3_d_loading",[32,88,0],[768,512,0]}
}

◆ g_bgMode

var bgMode_t g_bgMode