]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
Rename qboolean to qbool
[xonotic/darkplaces.git] / cl_input.c
index 8ccd3477dc24cc14c307d4243c624270ceeb3b66..110c72298a9bcc6d6c676ee7ef4d6bbf424d4364 100644 (file)
@@ -315,7 +315,7 @@ Returns 0.25 if a key was pressed and released during the frame,
 float CL_KeyState (kbutton_t *key)
 {
        float           val;
-       qboolean        impulsedown, impulseup, down;
+       qbool   impulsedown, impulseup, down;
 
        impulsedown = (key->state & 2) != 0;
        impulseup = (key->state & 4) != 0;
@@ -837,7 +837,7 @@ static vec3_t offsets[NUMOFFSETS] =
        {-0.125,  0.125, -0.125}, { 0.125,  0.125, -0.125},
 };
 
-static qboolean CL_ClientMovement_Unstick(cl_clientmovement_state_t *s)
+static qbool CL_ClientMovement_Unstick(cl_clientmovement_state_t *s)
 {
        int i;
        vec3_t neworigin;
@@ -1401,7 +1401,7 @@ static void CL_ClientMovement_Physics_Walk(cl_clientmovement_state_t *s)
                {
                        // apply air speed limit
                        vec_t accel, wishspeed0, wishspeed2, accelqw, strafity;
-                       qboolean accelerating;
+                       qbool accelerating;
 
                        accelqw = cl.movevars_airaccel_qw;
                        wishspeed0 = wishspeed;
@@ -1758,8 +1758,8 @@ void CL_SendMove(void)
        unsigned char data[1024];
        double packettime;
        int msecdelta;
-       qboolean quemove;
-       qboolean important;
+       qbool quemove;
+       qbool important;
 
        // if playing a demo, do nothing
        if (!cls.netcon)