0x00427B70
| 3015 | |
| 3016 | // 0x00427B70 |
| 3017 | void VehicleHead::moveBoatTo(const Pos3& newLoc, const uint8_t yaw, const Pitch pitch) |
| 3018 | { |
| 3019 | Vehicle train(head); |
| 3020 | train.veh1->moveTo({ newLoc.x, newLoc.y, newLoc.z }); |
| 3021 | train.veh1->tileX = 0; |
| 3022 | train.veh2->moveTo({ newLoc.x, newLoc.y, newLoc.z }); |
| 3023 | train.veh2->tileX = 0; |
| 3024 | train.cars.firstCar.body->moveTo({ newLoc.x, newLoc.y, newLoc.z }); |
| 3025 | train.cars.firstCar.body->spriteYaw = yaw; |
| 3026 | train.cars.firstCar.body->spritePitch = pitch; |
| 3027 | train.cars.firstCar.body->tileX = 0; |
| 3028 | } |
| 3029 | |
| 3030 | uint8_t VehicleHead::getLoadingModifier(const VehicleBogie* bogie) |
| 3031 | { |
no test coverage detected