]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
Added newline at end for lame gcc versions ;)
[xonotic/darkplaces.git] / client.h
index afc49452860accdbedaf92abef7035396bd76e13..9430e3a4e7f9f109cd7f4ab843da42afe6930164 100644 (file)
--- a/client.h
+++ b/client.h
@@ -198,6 +198,7 @@ typedef struct
                                                                // throw out the first couple, so the player
                                                                // doesn't accidentally do something the
                                                                // first frame
+       float           sendnoptime;    // send a clc_nop periodically until connected
        usercmd_t       cmd;                    // last command sent to the server
 
 // information for local display
@@ -276,6 +277,8 @@ typedef struct
        scoreboard_t    *scores;                // [cl.maxclients]
 
        vec3_t          viewentorigin;
+       float           viewzoom;                       // LordHavoc: sniping zoom, QC controlled
+       float           viewzoomold, viewzoomnew; // for interpolation
 
        // entity database stuff
        vec3_t          viewentoriginold, viewentoriginnew;
@@ -432,6 +435,7 @@ void CL_InitTEnts (void);
 #define PARTICLE_UPRIGHT_FACING 2
 #define PARTICLE_ORIENTED_DOUBLESIDED 3
 
+/*
 typedef struct renderparticle_s
 {
        int tex;
@@ -445,6 +449,7 @@ typedef struct renderparticle_s
        float color[4];
 }
 renderparticle_t;
+*/
 
 void CL_Particles_Clear(void);
 void CL_Particles_Init(void);
@@ -456,6 +461,7 @@ void CL_RocketTrail2 (vec3_t start, vec3_t end, int color, entity_t *ent);
 void CL_SparkShower (vec3_t org, vec3_t dir, int count);
 void CL_PlasmaBurn (vec3_t org);
 void CL_BloodPuff (vec3_t org, vec3_t vel, int count);
+void CL_Stardust (vec3_t mins, vec3_t maxs, int count);
 void CL_FlameCube (vec3_t mins, vec3_t maxs, int count);
 void CL_Flames (vec3_t org, vec3_t vel, int count);
 void CL_BloodShower (vec3_t mins, vec3_t maxs, float velspeed, int count);
@@ -501,10 +507,10 @@ typedef struct
        int numentities;
        entity_render_t **entities;
 
-       int numparticles;
-       struct renderparticle_s *particles;
+       //int numparticles;
+       //struct renderparticle_s *particles;
 
-       byte drawqueue[MAX_DRAWQUEUE];
+       qbyte drawqueue[MAX_DRAWQUEUE];
        int drawqueuesize;
 }
 refdef_t;