| 213 | return pitchImageIndex + roll + cargoIndex; |
| 214 | } |
| 215 | uint32_t getBrakingImageIndex(const VehicleObjectBodySprite& sprite, const Pitch pitch, const uint8_t yaw) |
| 216 | { |
| 217 | const auto pitchImageIndex = getPitchBodyImageIndex(sprite, pitch, yaw); |
| 218 | // Braking image is the last frame for a rotation |
| 219 | return pitchImageIndex + sprite.numFramesPerRotation - 1; |
| 220 | } |
| 221 | |
| 222 | constexpr std::array<uint8_t, 8> kUnk500264 = { |
| 223 | 0, |
no test coverage detected