diff options
Diffstat (limited to 'engine/gl_drawlights.h')
| -rw-r--r-- | engine/gl_drawlights.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/engine/gl_drawlights.h b/engine/gl_drawlights.h new file mode 100644 index 0000000..c040986 --- /dev/null +++ b/engine/gl_drawlights.h @@ -0,0 +1,28 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// $NoKeywords: $ +//=============================================================================// + +#ifndef GL_DRAWLIGHTS_H +#define GL_DRAWLIGHTS_H + +#ifdef _WIN32 +#pragma once +#endif + +// Should we draw light sprites over visible lights? +bool ActivateLightSprites( bool bActive ); + +// Draws sprites over all visible lights +void DrawLightSprites( void ); + +// Draws lighting debugging information +void DrawLightDebuggingInfo( void ); + +float ComputeLightRadius( dworldlight_t *pLight, bool bIsHDR ); + +#endif // GL_DRAWLIGHTS_H |