diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /engine/decal.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'engine/decal.h')
| -rw-r--r-- | engine/decal.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/engine/decal.h b/engine/decal.h new file mode 100644 index 0000000..bb9d69c --- /dev/null +++ b/engine/decal.h @@ -0,0 +1,32 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//===========================================================================// + +#ifndef DECAL_H +#define DECAL_H + +#ifdef _WIN32 +#pragma once +#endif + +#include "gl_model_private.h" + +#ifndef DRAW_H +#include "draw.h" +#endif + + +void Decal_Init( void ); +void Decal_Shutdown( void ); +IMaterial *Draw_DecalMaterial( int index ); +int Draw_DecalIndexFromName( char *name, bool *found ); +const char * Draw_DecalNameFromIndex( int index ); +void Draw_DecalSetName( int decal, char *name ); +void R_DecalShoot( int textureIndex, int entity, const model_t *model, const Vector &position, const float *saxis, int flags, const color32 &rgbaColor ); +int Draw_DecalMax( void ); + +#endif // DECAL_H |