Feature: [NewGRF] Allow higher max speeds for ships

This commit is contained in:
Koen Bussemaker
2023-04-28 21:23:59 +02:00
committed by rubidium42
parent 461d69a8f6
commit 5a55c4a934
7 changed files with 46 additions and 24 deletions

View File

@@ -67,6 +67,7 @@ struct RailVehicleInfo {
struct ShipVehicleInfo {
byte image_index;
byte cost_factor;
uint8_t acceleration; ///< Acceleration (1 unit = 1/3.2 mph per tick = 0.5 km-ish/h per tick)
uint16_t max_speed; ///< Maximum speed (1 unit = 1/3.2 mph = 0.5 km-ish/h)
uint16_t capacity;
byte running_cost;