]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
r_refdef.vieworg and r_refdef.viewangles replaced by r_refdef.viewentitymatrix
[xonotic/darkplaces.git] / client.h
index 88b75241123e5c4f198429e447d033e907fe9419..c588db9d9c05ae4470b60d66c45a9b7ec2042a70 100644 (file)
--- a/client.h
+++ b/client.h
@@ -328,6 +328,8 @@ typedef struct
        int items;
        // cl.time of acquiring item, for blinking
        float item_gettime[32];
+       // cl.time of changing STAT_ACTIVEWEAPON
+       float weapontime;
        // use pain anim frame if cl.time < this
        float faceanimtime;
 
@@ -533,7 +535,7 @@ extern      kbutton_t       in_strafe;
 extern         kbutton_t       in_speed;
 
 void CL_InitInput (void);
-void CL_SendCmd (void);
+void CL_SendCmd (usercmd_t *cmd);
 void CL_SendMove (usercmd_t *cmd);
 
 void CL_LerpUpdate(entity_t *e);
@@ -634,9 +636,8 @@ typedef struct
        int x, y, width, height;
        float fov_x, fov_y;
 
-       // view point
-       vec3_t vieworg;
-       vec3_t viewangles;
+       // view transform
+       matrix4x4_t viewentitymatrix;
 
        // fullscreen color blend
        float viewblend[4];