Lines Matching refs:speedvar
60 if (info->speedvar > 1.0f) in evaluate_sound()
61 info->speedvar = 1.0f; in evaluate_sound()
63 if (info->speedvar < 0.1f) in evaluate_sound()
64 info->accelvar *= (1.0f - (float) info->speedvar); in evaluate_sound()
65 else if (info->speedvar < 0.3f) in evaluate_sound()
66 info->accelvar *= (0.9f - (float) (info->speedvar - 0.1f) / 2.0f); in evaluate_sound()
68 info->accelvar *= (0.8f - (float) (info->speedvar - 0.3f) / 4.0f); in evaluate_sound()
80 prevspeed = info->speedvar; in evaluate_sound()
81 info->speedvar = (info->speedvar + difaccel * 0.5f) / 2; in evaluate_sound()
82 info->speedvar *= SPEED_MULT; in evaluate_sound()
83 info->speedvar = (info->speedvar + 3.0f * prevspeed) / 4.0f; in evaluate_sound()
84 if (info->speedvar < 0) in evaluate_sound()
85 info->speedvar = 0; in evaluate_sound()
86 if (info->speedvar > 1) in evaluate_sound()
87 info->speedvar = 1; in evaluate_sound()
95 if ((info->speedvar > (float) IVAL (info->biggoom_speed_limit_p) / 100.0f) in evaluate_sound()
117 if (info->speedvar < 0.01f) in evaluate_sound()
145 FVAL (info->speed_p) = info->speedvar * 4; in evaluate_sound()