@ -117,58 +117,58 @@ typedef struct efx_api_s efx_api_t;
@@ -117,58 +117,58 @@ typedef struct efx_api_s efx_api_t;
struct efx_api_s
{
particle_t * ( * R_AllocParticle ) ( void ( * callback ) ( struct particle_s * particle , float frametime ) ) ;
void ( * R_BlobExplosion ) ( float * org ) ;
void ( * R_Blood ) ( float * org , float * dir , int pcolor , int speed ) ;
void ( * R_BloodSprite ) ( float * org , int colorindex , int modelIndex , int modelIndex2 , float size ) ;
void ( * R_BloodStream ) ( float * org , float * dir , int pcolor , int speed ) ;
void ( * R_BreakModel ) ( float * pos , float * size , float * dir , float random , float life , int count , int modelIndex , char flags ) ;
void ( * R_Bubbles ) ( float * mins , float * maxs , float height , int modelIndex , int count , float speed ) ;
void ( * R_BubbleTrail ) ( float * start , float * end , float height , int modelIndex , int count , float speed ) ;
void ( * R_BulletImpactParticles ) ( float * pos ) ;
void ( * R_BlobExplosion ) ( const float * org ) ;
void ( * R_Blood ) ( const float * org , const float * dir , int pcolor , int speed ) ;
void ( * R_BloodSprite ) ( const float * org , int colorindex , int modelIndex , int modelIndex2 , float size ) ;
void ( * R_BloodStream ) ( const float * org , const float * dir , int pcolor , int speed ) ;
void ( * R_BreakModel ) ( const float * pos , const float * size , const float * dir , float random , float life , int count , int modelIndex , char flags ) ;
void ( * R_Bubbles ) ( const float * mins , const float * maxs , float height , int modelIndex , int count , float speed ) ;
void ( * R_BubbleTrail ) ( const float * start , const float * end , float height , int modelIndex , int count , float speed ) ;
void ( * R_BulletImpactParticles ) ( const float * pos ) ;
void ( * R_EntityParticles ) ( struct cl_entity_s * ent ) ;
void ( * R_Explosion ) ( float * pos , int model , float scale , float framerate , int flags ) ;
void ( * R_FizzEffect ) ( struct cl_entity_s * pent , int modelIndex , int density ) ;
void ( * R_FireField ) ( float * org , int radius , int modelIndex , int count , int flags , float life ) ;
void ( * R_FlickerParticles ) ( float * org ) ;
void ( * R_FunnelSprite ) ( float * org , int modelIndex , int reverse ) ;
void ( * R_Implosion ) ( float * end , float radius , int count , float life ) ;
void ( * R_LargeFunnel ) ( float * org , int reverse ) ;
void ( * R_LavaSplash ) ( float * org ) ;
void ( * R_MultiGunshot ) ( float * org , float * dir , float * noise , int count , int decalCount , int * decalIndices ) ;
void ( * R_MuzzleFlash ) ( float * pos1 , int type ) ;
void ( * R_ParticleBox ) ( float * mins , float * maxs , unsigned char r , unsigned char g , unsigned char b , float life ) ;
void ( * R_ParticleBurst ) ( float * pos , int size , int color , float life ) ;
void ( * R_ParticleExplosion ) ( float * org ) ;
void ( * R_ParticleExplosion2 ) ( float * org , int colorStart , int colorLength ) ;
void ( * R_ParticleLine ) ( float * start , float * end , unsigned char r , unsigned char g , unsigned char b , float life ) ;
void ( * R_FlickerParticles ) ( const float * org ) ;
void ( * R_FunnelSprite ) ( const float * org , int modelIndex , int reverse ) ;
void ( * R_Implosion ) ( const float * end , float radius , int count , float life ) ;
void ( * R_LargeFunnel ) ( const float * org , int reverse ) ;
void ( * R_LavaSplash ) ( const float * org ) ;
void ( * R_MultiGunshot ) ( const float * org , const float * dir , const float * noise , int count , int decalCount , int * decalIndices ) ;
void ( * R_MuzzleFlash ) ( const float * pos1 , int type ) ;
void ( * R_ParticleBox ) ( const float * mins , const float * maxs , unsigned char r , unsigned char g , unsigned char b , float life ) ;
void ( * R_ParticleBurst ) ( const float * pos , int size , int color , float life ) ;
void ( * R_ParticleExplosion ) ( const float * org ) ;
void ( * R_ParticleExplosion2 ) ( const float * org , int colorStart , int colorLength ) ;
void ( * R_ParticleLine ) ( const float * start , const float * end , unsigned char r , unsigned char g , unsigned char b , float life ) ;
void ( * R_PlayerSprites ) ( int client , int modelIndex , int count , int size ) ;
void ( * R_Projectile ) ( float * origin , float * velocity , int modelIndex , int life , int owner , void ( * hitcallback ) ( struct tempent_s * ent , struct pmtrace_s * ptr ) ) ;
void ( * R_RicochetSound ) ( float * pos ) ;
void ( * R_RicochetSprite ) ( float * pos , struct model_s * pmodel , float duration , float scale ) ;
void ( * R_RocketFlare ) ( float * pos ) ;
void ( * R_Projectile ) ( const float * origin , const float * velocity , int modelIndex , int life , int owner , void ( * hitcallback ) ( struct tempent_s * ent , struct pmtrace_s * ptr ) ) ;
void ( * R_RicochetSound ) ( const float * pos ) ;
void ( * R_RicochetSprite ) ( const float * pos , struct model_s * pmodel , float duration , float scale ) ;
void ( * R_RocketFlare ) ( const float * pos ) ;
void ( * R_RocketTrail ) ( float * start , float * end , int type ) ;
void ( * R_RunParticleEffect ) ( float * org , float * dir , int color , int count ) ;
void ( * R_ShowLine ) ( float * start , float * end ) ;
void ( * R_SparkEffect ) ( float * pos , int count , int velocityMin , int velocityMax ) ;
void ( * R_SparkShower ) ( float * pos ) ;
void ( * R_SparkStreaks ) ( float * pos , int count , int velocityMin , int velocityMax ) ;
void ( * R_Spray ) ( float * pos , float * dir , int modelIndex , int count , int speed , int spread , int rendermode ) ;
void ( * R_RunParticleEffect ) ( const float * org , const float * dir , int color , int count ) ;
void ( * R_ShowLine ) ( const float * start , const float * end ) ;
void ( * R_SparkEffect ) ( const float * pos , int count , int velocityMin , int velocityMax ) ;
void ( * R_SparkShower ) ( const float * pos ) ;
void ( * R_SparkStreaks ) ( const float * pos , int count , int velocityMin , int velocityMax ) ;
void ( * R_Spray ) ( const float * pos , const float * dir , int modelIndex , int count , int speed , int spread , int rendermode ) ;
void ( * R_Sprite_Explode ) ( TEMPENTITY * pTemp , float scale , int flags ) ;
void ( * R_Sprite_Smoke ) ( TEMPENTITY * pTemp , float scale ) ;
void ( * R_Sprite_Spray ) ( float * pos , float * dir , int modelIndex , int count , int speed , int iRand ) ;
void ( * R_Sprite_Spray ) ( const float * pos , const float * dir , int modelIndex , int count , int speed , int iRand ) ;
void ( * R_Sprite_Trail ) ( int type , float * start , float * end , int modelIndex , int count , float life , float size , float amplitude , int renderamt , float speed ) ;
void ( * R_Sprite_WallPuff ) ( TEMPENTITY * pTemp , float scale ) ;
void ( * R_StreakSplash ) ( float * pos , float * dir , int color , int count , float speed , int velocityMin , int velocityMax ) ;
void ( * R_TracerEffect ) ( float * start , float * end ) ;
void ( * R_StreakSplash ) ( const float * pos , const float * dir , int color , int count , float speed , int velocityMin , int velocityMax ) ;
void ( * R_TracerEffect ) ( const float * start , const float * end ) ;
void ( * R_UserTracerParticle ) ( float * org , float * vel , float life , int colorIndex , float length , unsigned char deathcontext , void ( * deathfunc ) ( struct particle_s * particle ) ) ;
particle_t * ( * R_TracerParticles ) ( float * org , float * vel , float life ) ;
void ( * R_TeleportSplash ) ( float * org ) ;
void ( * R_TempSphereModel ) ( float * pos , float speed , float life , int count , int modelIndex ) ;
TEMPENTITY * ( * R_TempModel ) ( float * pos , float * dir , float * angles , float life , int modelIndex , int soundtype ) ;
TEMPENTITY * ( * R_DefaultSprite ) ( float * pos , int spriteIndex , float framerate ) ;
TEMPENTITY * ( * R_TempSprite ) ( float * pos , float * dir , float scale , int modelIndex , int rendermode , int renderfx , float a , float life , int flags ) ;
void ( * R_TeleportSplash ) ( const float * org ) ;
void ( * R_TempSphereModel ) ( const float * pos , float speed , float life , int count , int modelIndex ) ;
TEMPENTITY * ( * R_TempModel ) ( const float * pos , const float * dir , const float * angles , float life , int modelIndex , int soundtype ) ;
TEMPENTITY * ( * R_DefaultSprite ) ( const float * pos , int spriteIndex , float framerate ) ;
TEMPENTITY * ( * R_TempSprite ) ( float * pos , const float * dir , float scale , int modelIndex , int rendermode , int renderfx , float a , float life , int flags ) ;
int ( * Draw_DecalIndex ) ( int id ) ;
int ( * Draw_DecalIndexFromName ) ( char * name ) ;
int ( * Draw_DecalIndexFromName ) ( const char * name ) ;
void ( * R_DecalShoot ) ( int textureIndex , int entity , int modelIndex , float * position , int flags ) ;
void ( * R_AttachTentToPlayer ) ( int client , int modelIndex , float zoffset , float life ) ;
void ( * R_KillAttachedTents ) ( int client ) ;
@ -182,14 +182,14 @@ struct efx_api_s
@@ -182,14 +182,14 @@ struct efx_api_s
BEAM * ( * R_BeamRing ) ( int startEnt , int endEnt , int modelIndex , float life , float width , float amplitude , float brightness , float speed , int startFrame , float framerate , float r , float g , float b ) ;
dlight_t * ( * CL_AllocDlight ) ( int key ) ;
dlight_t * ( * CL_AllocElight ) ( int key ) ;
TEMPENTITY * ( * CL_TempEntAlloc ) ( float * org , struct model_s * model ) ;
TEMPENTITY * ( * CL_TempEntAllocNoModel ) ( float * org ) ;
TEMPENTITY * ( * CL_TempEntAllocHigh ) ( float * org , struct model_s * model ) ;
TEMPENTITY * ( * CL_TentEntAllocCustom ) ( float * origin , struct model_s * model , int high , void ( * callback ) ( struct tempent_s * ent , float frametime , float currenttime ) ) ;
TEMPENTITY * ( * CL_TempEntAlloc ) ( const float * org , struct model_s * model ) ;
TEMPENTITY * ( * CL_TempEntAllocNoModel ) ( const float * org ) ;
TEMPENTITY * ( * CL_TempEntAllocHigh ) ( const float * org , struct model_s * model ) ;
TEMPENTITY * ( * CL_TentEntAllocCustom ) ( const float * origin , struct model_s * model , int high , void ( * callback ) ( struct tempent_s * ent , float frametime , float currenttime ) ) ;
void ( * R_GetPackedColor ) ( short * packed , short color ) ;
short ( * R_LookupColor ) ( unsigned char r , unsigned char g , unsigned char b ) ;
void ( * R_DecalRemoveAll ) ( int textureIndex ) ; // textureIndex points to the decal index in the array, not the actual texture index.
void ( * R_FireCustomDecal ) ( int textureIndex , int entity , int modelIndex , float * position , int flags , float scale ) ;
} ;
# endif //R_EFX_H
# endif //R_EFX_H