summaryrefslogtreecommitdiff
path: root/engine/decal.h
diff options
context:
space:
mode:
Diffstat (limited to 'engine/decal.h')
-rw-r--r--engine/decal.h32
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