| 3308 | return this->type->getSpeed(et.begin(), et.end()); |
| 3309 | } |
| 3310 | float Vehicle::getAngularSpeed() const |
| 3311 | { |
| 3312 | // FIXME: Proper turning speed |
| 3313 | // This value was hand-made to look proper on annihilators |
| 3314 | constexpr float TURNING_MULT = (float)M_PI / (float)TICK_SCALE / VELOCITY_SCALE_CITY_X / 1.5f; |
| 3315 | return getSpeed() * TURNING_MULT; |
| 3316 | } |
| 3317 | |
| 3318 | int Vehicle::getMaxConstitution() const |
| 3319 | { |