Home
last modified time | relevance | path

Searched refs:throttle_position (Results 1 – 2 of 2) sorted by relevance

/dports/games/stuntrally/stuntrally-2.6.1/source/vdrift/
H A Dcarengine.cpp9 ,throttle_position(0.0), clutch_torque(0.0), out_of_gas(false), mass(200) in CARENGINE()
28 Dbl CARENGINE::GetFrictionTorque(Dbl cur_angvel, Dbl friction_factor, Dbl throttle_position) in GetFrictionTorque() argument
34 (1.0 - friction_factor*throttle_position); in GetFrictionTorque()
58 if (throttle_position < idle) in ComputeForces()
59 throttle_position = idle; in ComputeForces()
75 combustion_torque = GetTorqueCurve(throttle_position, GetRPM()); in ComputeForces()
83 friction_torque = GetFrictionTorque(cur_angvel, friction_factor, throttle_position); in ComputeForces()
H A Dcarengine.h34 Dbl throttle_position; variable
54 Dbl GetFrictionTorque(Dbl cur_angvel, Dbl friction_factor, Dbl throttle_position);
104 void SetThrottle(const Dbl& value) { throttle_position = value; } in SetThrottle()
105 Dbl GetThrottle() const { return throttle_position; } in GetThrottle()
161 return fuel_consumption * GetAngularVelocity() * throttle_position; in FuelRate()