mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 18:32:35 +01:00
Codechange: explicitly initialise member variables of Windows
This commit is contained in:
@@ -83,13 +83,13 @@ private:
|
||||
static const std::initializer_list<GUIBridgeList::SortFunction * const> sorter_funcs;
|
||||
|
||||
/* Internal variables */
|
||||
TileIndex start_tile;
|
||||
TileIndex end_tile;
|
||||
TransportType transport_type;
|
||||
uint8_t road_rail_type;
|
||||
GUIBridgeList bridges;
|
||||
int icon_width; ///< Scaled width of the the bridge icon sprite.
|
||||
Scrollbar *vscroll;
|
||||
TileIndex start_tile = INVALID_TILE;
|
||||
TileIndex end_tile = INVALID_TILE;
|
||||
TransportType transport_type = INVALID_TRANSPORT;
|
||||
uint8_t road_rail_type = 0;
|
||||
GUIBridgeList bridges{};
|
||||
int icon_width = 0; ///< Scaled width of the the bridge icon sprite.
|
||||
Scrollbar *vscroll = nullptr;
|
||||
|
||||
/** Sort the bridges by their index */
|
||||
static bool BridgeIndexSorter(const BuildBridgeData &a, const BuildBridgeData &b)
|
||||
|
||||
Reference in New Issue
Block a user