1
0
Fork 0
forked from valve/halflife-sdk
halflife-sdk-steam/cl_dll/tri.cpp

61 lines
1.2 KiB
C++
Raw Normal View History

2002-12-23 00:00:00 +00:00
//========= Copyright <20> 1996-2002, Valve LLC, All rights reserved. ============
2001-11-08 00:00:00 +00:00
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
2000-06-05 00:00:00 +00:00
// 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"
2000-06-05 00:00:00 +00:00
#include "particleman.h"
#include "tri.h"
extern IParticleMan *g_pParticleMan;
2000-06-05 00:00:00 +00:00
/*
=================
HUD_DrawNormalTriangles
Non-transparent triangles-- add them here
=================
*/
void CL_DLLEXPORT HUD_DrawNormalTriangles( void )
2000-06-05 00:00:00 +00:00
{
// RecClDrawNormalTriangles();
2000-06-05 00:00:00 +00:00
2001-08-29 00:00:00 +00:00
gHUD.m_Spectator.DrawOverview();
2000-06-05 00:00:00 +00:00
}
#if defined( _TFC )
void RunEventList( void );
#endif
2000-06-05 00:00:00 +00:00
/*
=================
HUD_DrawTransparentTriangles
Render any triangles with transparent rendermode needs here
=================
*/
void CL_DLLEXPORT HUD_DrawTransparentTriangles( void )
2000-06-05 00:00:00 +00:00
{
// RecClDrawTransparentTriangles();
2000-06-05 00:00:00 +00:00
#if defined( _TFC )
RunEventList();
2000-06-05 00:00:00 +00:00
#endif
if ( g_pParticleMan )
g_pParticleMan->Update();
}