summaryrefslogtreecommitdiff
path: root/engine/r_efxextern.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /engine/r_efxextern.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'engine/r_efxextern.h')
-rw-r--r--engine/r_efxextern.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/engine/r_efxextern.h b/engine/r_efxextern.h
new file mode 100644
index 0000000..93d317c
--- /dev/null
+++ b/engine/r_efxextern.h
@@ -0,0 +1,27 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//=============================================================================//
+#if !defined( R_EFXEXTERNH )
+#define R_EFXEXTERNH
+#ifdef _WIN32
+#pragma once
+#endif
+
+struct dlight_t;
+
+class IMaterial;
+
+int Draw_DecalIndex ( int id );
+int Draw_DecalIndexFromName ( char *name, bool *found );
+void R_DecalShoot ( int textureIndex, int entity, const model_t *model,
+ const Vector& position, const Vector *saxis, int flags, const color32 &rgbaColor, const Vector *pNormal );
+void R_PlayerDecalShoot ( IMaterial *material, void *userdata, int entity, const model_t *model,
+ const Vector& position, const Vector *saxis, int flags, const color32 &rgbaColor );
+dlight_t *CL_AllocDlight ( int key );
+dlight_t *CL_AllocElight ( int key );
+
+#endif \ No newline at end of file