+ // presistent
+ static float demo_angle = -37;
+ static float demo_direction = 1;
+ static float demo_time = 0;
+ static bool state_onground = false;
+ static float state_onground_time = 0;
+ static bool state_strafekeys = false;
+ static float state_strafekeys_time = 0;
+ static bool turn = false;
+ static float turnangle;
+ static float turnspeed;
+ static float turnaccel;
+ static bool fwd = true;
+ static float strafe_dt_time = 0;
+ static int strafe_dt_count = 0;
+ static float strafe_dt_sum = 0;
+ static float strafe_dt_avg = 0;
+