hl2_src-leak-2017/src/public/r_efx.h
BotoX 60f625f414 import hl2_src from full.7z
source: magnet:?xt=urn:btih:21DDA6847DDE983F2F8063739249D2D1D09A5DDA
2020-12-25 16:26:23 +01:00

38 lines
1.4 KiB
C++

//========= 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