Exemple #1
0
int DLLEXPORT HUD_VidInit( void )
{
	gHUD.VidInit();
	VGui_Startup();

	return 1;
}
Exemple #2
0
int CL_DLLEXPORT HUD_VidInit( void )
{
//	RecClHudVidInit();
	gHUD.VidInit();

	VGui_Startup();

	return 1;
}
Exemple #3
0
int DLLEXPORT HUD_VidInit( void )
{
	gHUD.VidInit();

	VGui_Startup();

//LRCTEMP 1.8	if (CVAR_GET_FLOAT("r_glow") != 0)	 //check the cvar for the glow is on.//AJH Modified to include glow mode (1&2)
//LRCTEMP 1.8		InitScreenGlow(); // glow effect --FragBait0
	return 1;
}
Exemple #4
0
int DLLEXPORT HUD_VidInit( void )
{
	gHUD.VidInit();

#ifndef NO_VGUI
	VGui_Startup();
#endif

	return 1;
}
Exemple #5
0
int HUD_VidInit( void )
{
	if ( g_pParticleSystems )
		g_pParticleSystems->ClearSystems();

	if ( g_pViewRenderBeams )
		g_pViewRenderBeams->ClearBeams();

	if ( g_pParticles )
		g_pParticles->Clear();

	if ( g_pTempEnts )
		g_pTempEnts->Clear();

 	ResetRain ();
	
	gHUD.VidInit();

	return 1;
}
int DLLEXPORT HUD_VidInit( void )
{
	gHUD.VidInit();
#ifdef USE_VGUI_FOR_GOLDSOURCE_SUPPORT
	vgui::Panel* root=(vgui::Panel*)gEngfuncs.VGui_GetPanel();
	if (root) {
		gEngfuncs.Con_Printf( "Root VGUI panel exists\n" );
		root->setBgColor(128,128,0,0);

		if (gViewPort != NULL)
		{
			gViewPort->Initialize();
		}
		else
		{
			gViewPort = new TeamFortressViewport(0,0,root->getWide(),root->getTall());
			gViewPort->setParent(root);
		}
	} else {
		gEngfuncs.Con_Printf( "Root VGUI panel does not exist\n" );
	}
#endif
	return 1;
}
void DLLEXPORT HUD_Reset( void )
{
	gHUD.VidInit();
}
Exemple #8
0
int EXPORT HUD_Reset( void )
{
    gHUD.VidInit();
    return 1;
}
Exemple #9
0
void CL_DLLEXPORT HUD_Reset( void )
{
//	RecClHudReset();

	gHUD.VidInit();
}