]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
ATTN VorteX: add a new field stainsize and stainalpha to effectinfo - TODO: particle...
[xonotic/darkplaces.git] / client.h
index 150212a895e2eee6faf020bd7fb8f5f67c41ee39..df34192ee531b513cccccccd340863d5bdeecce6 100644 (file)
--- a/client.h
+++ b/client.h
@@ -803,7 +803,8 @@ typedef struct particle_s
        float           stretch; // only for sparks
        int             staincolor;
        signed char     staintexnum;
-       float           stainsizefactor;
+       float           stainsize;
+       float           stainalpha;
 
        // fields not used by rendering:  (40 bytes)
        float                   sizeincrease; // rate of size change per second
@@ -1417,7 +1418,7 @@ extern cvar_t cl_decals_fadetime;
 void CL_Particles_Clear(void);
 void CL_Particles_Init(void);
 void CL_Particles_Shutdown(void);
-particle_t *CL_NewParticle(unsigned short ptypeindex, int pcolor1, int pcolor2, int ptex, float psize, float psizeincrease, float palpha, float palphafade, float pgravity, float pbounce, float px, float py, float pz, float pvx, float pvy, float pvz, float pairfriction, float pliquidfriction, float originjitter, float velocityjitter, qboolean pqualityreduction, float lifetime, float stretch, pblend_t blendmode, porientation_t orientation, int staincolor1, int staincolor2, int staintex);
+particle_t *CL_NewParticle(unsigned short ptypeindex, int pcolor1, int pcolor2, int ptex, float psize, float psizeincrease, float palpha, float palphafade, float pgravity, float pbounce, float px, float py, float pz, float pvx, float pvy, float pvz, float pairfriction, float pliquidfriction, float originjitter, float velocityjitter, qboolean pqualityreduction, float lifetime, float stretch, pblend_t blendmode, porientation_t orientation, int staincolor1, int staincolor2, int staintex, float stainalpha, float stainsize);
 
 typedef enum effectnameindex_s
 {