halflife25-sdk/cl_dll/tri.cpp
2013-08-30 13:34:05 -07:00

60 lines
1.1 KiB
C++

//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
// Triangle rendering, if any
#include "hud.h"
#include "cl_util.h"
// Triangle rendering apis are in gEngfuncs.pTriAPI
#include "const.h"
#include "entity_state.h"
#include "cl_entity.h"
#include "triangleapi.h"
#include "Exports.h"
#include "particleman.h"
#include "tri.h"
extern IParticleMan *g_pParticleMan;
/*
=================
HUD_DrawNormalTriangles
Non-transparent triangles-- add them here
=================
*/
void CL_DLLEXPORT HUD_DrawNormalTriangles( void )
{
// RecClDrawNormalTriangles();
gHUD.m_Spectator.DrawOverview();
}
#if defined( _TFC )
void RunEventList( void );
#endif
/*
=================
HUD_DrawTransparentTriangles
Render any triangles with transparent rendermode needs here
=================
*/
void CL_DLLEXPORT HUD_DrawTransparentTriangles( void )
{
// RecClDrawTransparentTriangles();
#if defined( _TFC )
RunEventList();
#endif
if ( g_pParticleMan )
g_pParticleMan->Update();
}