Add SDK
This commit is contained in:
60
src/sdk/cl_dll/tri.cpp
Normal file
60
src/sdk/cl_dll/tri.cpp
Normal file
@@ -0,0 +1,60 @@
|
||||
//========= Copyright <20> 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();
|
||||
}
|
||||
Reference in New Issue
Block a user