diff options
| author | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
| commit | 39ed87570bdb2f86969d4be821c94b722dc71179 (patch) | |
| tree | abc53757f75f40c80278e87650ea92808274aa59 /sp/src/public/r_efx.h | |
| download | source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip | |
First version of the SOurce SDK 2013
Diffstat (limited to 'sp/src/public/r_efx.h')
| -rw-r--r-- | sp/src/public/r_efx.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sp/src/public/r_efx.h b/sp/src/public/r_efx.h new file mode 100644 index 00000000..ee102f5f --- /dev/null +++ b/sp/src/public/r_efx.h @@ -0,0 +1,38 @@ +//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//===========================================================================//
+#if !defined ( EFXH )
+#define EFXH
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "iefx.h"
+
+class IMaterial;
+struct dlight_t;
+
+class CVEfx : public IVEfx
+{
+public:
+ virtual ~CVEfx() {}
+
+ virtual int Draw_DecalIndexFromName ( char *name );
+ virtual void DecalShoot ( int textureIndex, int entity, const model_t *model, const Vector& model_origin, const QAngle& model_angles, const Vector& position, const Vector *saxis, int flags);
+ virtual void DecalColorShoot ( int textureIndex, int entity, const model_t *model, const Vector& model_origin, const QAngle& model_angles, const Vector& position, const Vector *saxis, int flags, const color32 &rgbaColor);
+ virtual void PlayerDecalShoot ( IMaterial *material, void *userdata, int entity, const model_t *model, const Vector& model_origin, const QAngle& model_angles,
+ const Vector& position, const Vector *saxis, int flags, const color32 &rgbaColor );
+ virtual dlight_t *CL_AllocDlight ( int key );
+ virtual dlight_t *CL_AllocElight ( int key );
+ virtual int CL_GetActiveDLights ( dlight_t *pList[MAX_DLIGHTS] );
+ virtual const char *Draw_DecalNameFromIndex ( int nIndex );
+ virtual dlight_t *GetElightByKey ( int key );
+};
+
+extern CVEfx *g_pEfx;
+
+#endif
\ No newline at end of file |