mirror of https://github.com/OpenTTD/OpenTTD
Codechange: Use uint8_t instead of byte for numeric values.
parent
9457bda614
commit
4f8d06ff73
|
@ -1948,11 +1948,11 @@ struct CargoesField {
|
||||||
} industry; ///< Industry data (for #CFT_INDUSTRY).
|
} industry; ///< Industry data (for #CFT_INDUSTRY).
|
||||||
struct {
|
struct {
|
||||||
CargoID vertical_cargoes[MAX_CARGOES]; ///< Cargoes running from top to bottom (cargo ID or #CT_INVALID).
|
CargoID vertical_cargoes[MAX_CARGOES]; ///< Cargoes running from top to bottom (cargo ID or #CT_INVALID).
|
||||||
byte num_cargoes; ///< Number of cargoes.
|
uint8_t num_cargoes; ///< Number of cargoes.
|
||||||
CargoID supp_cargoes[MAX_CARGOES]; ///< Cargoes entering from the left (index in #vertical_cargoes, or #CT_INVALID).
|
CargoID supp_cargoes[MAX_CARGOES]; ///< Cargoes entering from the left (index in #vertical_cargoes, or #CT_INVALID).
|
||||||
byte top_end; ///< Stop at the top of the vertical cargoes.
|
uint8_t top_end; ///< Stop at the top of the vertical cargoes.
|
||||||
CargoID cust_cargoes[MAX_CARGOES]; ///< Cargoes leaving to the right (index in #vertical_cargoes, or #CT_INVALID).
|
CargoID cust_cargoes[MAX_CARGOES]; ///< Cargoes leaving to the right (index in #vertical_cargoes, or #CT_INVALID).
|
||||||
byte bottom_end; ///< Stop at the bottom of the vertical cargoes.
|
uint8_t bottom_end; ///< Stop at the bottom of the vertical cargoes.
|
||||||
} cargo; ///< Cargo data (for #CFT_CARGO).
|
} cargo; ///< Cargo data (for #CFT_CARGO).
|
||||||
struct {
|
struct {
|
||||||
CargoID cargoes[MAX_CARGOES]; ///< Cargoes to display (or #CT_INVALID).
|
CargoID cargoes[MAX_CARGOES]; ///< Cargoes to display (or #CT_INVALID).
|
||||||
|
|
Loading…
Reference in New Issue