]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
patch from div0 that adds sv_public modes -2 (do not allow players to connect) and...
[xonotic/darkplaces.git] / client.h
index e7bf8e08f536df4cfdeeb052485cad2bb6f7fdf1..e725a11feca351d401541d3390c3d95f9eea0726 100644 (file)
--- a/client.h
+++ b/client.h
@@ -207,9 +207,9 @@ frameblend_t;
 typedef struct entity_render_s
 {
        // location
-       vec3_t origin;
+       //vec3_t origin;
        // orientation
-       vec3_t angles;
+       //vec3_t angles;
        // transform matrix for model to world
        matrix4x4_t matrix;
        // transform matrix for world to model
@@ -603,7 +603,7 @@ typedef struct particle_s
        float           airfriction; // how much air friction affects this object (objects with a low mass/size ratio tend to get more air friction)
        float           liquidfriction; // how much liquid friction affects this object (objects with a low mass/size ratio tend to get more liquid friction)
        unsigned char           color[4];
-       unsigned short owner; // decal stuck to this entity
+       unsigned int            owner; // decal stuck to this entity
        model_t         *ownermodel; // model the decal is stuck to (used to make sure the entity is still alive)
        vec3_t          relativeorigin; // decal at this location in entity's coordinate space
        vec3_t          relativedirection; // decal oriented this way relative to entity's coordinate space
@@ -878,8 +878,9 @@ typedef struct client_state_s
        // updated from serverinfo
        int qw_teamplay;
 
-       // indicates whether the player is spectating
-       qboolean qw_spectator;
+       // unused: indicates whether the player is spectating
+       // use cl.scores[cl.playerentity].qw_spectator instead
+       //qboolean qw_spectator;
 
        // movement parameters for client prediction
        float qw_movevars_gravity;
@@ -991,7 +992,7 @@ void CL_EstablishConnection(const char *host);
 void CL_Disconnect (void);
 void CL_Disconnect_f (void);
 
-void CL_BoundingBoxForEntity(entity_render_t *ent);
+void CL_UpdateRenderEntity(entity_render_t *ent);
 
 //
 // cl_input