0x004B6D43
| 662 | |
| 663 | // 0x004B6D43 |
| 664 | int16_t drawTrainInline(Gfx::DrawingContext& drawingCtx, const Vehicles::Vehicle& train, Ui::Point loc) |
| 665 | { |
| 666 | const auto startX = loc.x; |
| 667 | for (auto& car : train.cars) |
| 668 | { |
| 669 | loc.x += drawVehicleInline(drawingCtx, car, loc, VehicleInlineMode::animated, VehiclePartsToDraw::bogies); |
| 670 | } |
| 671 | loc.x = startX; |
| 672 | for (auto& car : train.cars) |
| 673 | { |
| 674 | loc.x += drawVehicleInline(drawingCtx, car, loc, VehicleInlineMode::animated, VehiclePartsToDraw::bodies); |
| 675 | } |
| 676 | return loc.x; |
| 677 | } |
| 678 | } |
no test coverage detected