]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
fix for EF_FLAME and lots of other bugs with 16bit/8bit fields (modelindex, frame...
[xonotic/darkplaces.git] / client.h
index afc49452860accdbedaf92abef7035396bd76e13..64e9bec6d942674f4bf82c0127880e7e967293a3 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);
@@ -501,10 +506,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;