Codechange: rename byte to uint8_t (#12308)

This commit is contained in:
Patric Stout
2024-03-16 23:59:32 +01:00
committed by GitHub
parent bd7120bae4
commit a3cfd23cf9
355 changed files with 1654 additions and 1656 deletions

View File

@@ -198,12 +198,12 @@ public:
/**
* Original railtype number to use when drawing non-newgrf railtypes, or when drawing stations.
*/
byte fallback_railtype;
uint8_t fallback_railtype;
/**
* Multiplier for curve maximum speed advantage
*/
byte curve_speed;
uint8_t curve_speed;
/**
* Bit mask of rail type flags
@@ -243,7 +243,7 @@ public:
/**
* Colour on mini-map
*/
byte map_colour;
uint8_t map_colour;
/**
* Introduction date.
@@ -268,7 +268,7 @@ public:
/**
* The sorting order of this railtype for the toolbar dropdown.
*/
byte sorting_order;
uint8_t sorting_order;
/**
* NewGRF providing the Action3 for the railtype. nullptr if not available.