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"
|
2023-07-20 18:11:37 +00:00
|
|
|
|
#include "Exports.h"
|
2000-06-05 00:00:00 +00:00
|
|
|
|
|
2023-07-20 18:11:37 +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
|
|
|
|
|
=================
|
|
|
|
|
*/
|
2023-07-20 18:11:37 +00:00
|
|
|
|
void CL_DLLEXPORT HUD_DrawNormalTriangles( void )
|
2000-06-05 00:00:00 +00:00
|
|
|
|
{
|
2023-07-20 18:11:37 +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
|
|
|
|
}
|
|
|
|
|
|
2023-07-20 18:11:37 +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
|
|
|
|
|
=================
|
|
|
|
|
*/
|
2023-07-20 18:11:37 +00:00
|
|
|
|
void CL_DLLEXPORT HUD_DrawTransparentTriangles( void )
|
2000-06-05 00:00:00 +00:00
|
|
|
|
{
|
2023-07-20 18:11:37 +00:00
|
|
|
|
// RecClDrawTransparentTriangles();
|
2000-06-05 00:00:00 +00:00
|
|
|
|
|
2023-07-20 18:11:37 +00:00
|
|
|
|
#if defined( _TFC )
|
|
|
|
|
RunEventList();
|
2000-06-05 00:00:00 +00:00
|
|
|
|
#endif
|
2023-07-20 18:11:37 +00:00
|
|
|
|
|
|
|
|
|
if ( g_pParticleMan )
|
|
|
|
|
g_pParticleMan->Update();
|
|
|
|
|
}
|