Road stops: Add height property for build window preview

This commit is contained in:
Jonathan G Rennison
2023-02-05 17:40:14 +00:00
parent 91d736ace5
commit 1272bec13b
6 changed files with 34 additions and 8 deletions

View File

@@ -154,6 +154,8 @@ struct RoadStopSpec {
uint8 build_cost_multiplier = 16; ///< Build cost multiplier per tile.
uint8 clear_cost_multiplier = 16; ///< Clear cost multiplier per tile.
uint8 height; ///< The height of this structure, in heightlevels; max MAX_TILE_HEIGHT.
/**
* Get the cost for building a road stop of this type.
* @return The cost for building.