Codechange: rename byte to uint8_t (#12308)
This commit is contained in:
@@ -43,9 +43,9 @@ static const int DEF_CARGO_SCALE = 100;
|
||||
struct Economy {
|
||||
Money max_loan; ///< NOSAVE: Maximum possible loan
|
||||
int16_t fluct; ///< Economy fluctuation status
|
||||
byte interest_rate; ///< Interest
|
||||
byte infl_amount; ///< inflation amount
|
||||
byte infl_amount_pr; ///< inflation rate for payment rates
|
||||
uint8_t interest_rate; ///< Interest
|
||||
uint8_t infl_amount; ///< inflation amount
|
||||
uint8_t infl_amount_pr; ///< inflation rate for payment rates
|
||||
uint32_t industry_daily_change_counter; ///< Bits 31-16 are number of industry to be performed, 15-0 are fractional collected daily
|
||||
uint32_t industry_daily_increment; ///< The value which will increment industry_daily_change_counter. Computed value. NOSAVE
|
||||
uint64_t inflation_prices; ///< Cumulated inflation of prices since game start; 16 bit fractional part
|
||||
@@ -169,7 +169,7 @@ typedef Money Prices[PR_END]; ///< Prices of everything. @see Price
|
||||
typedef int8_t PriceMultipliers[PR_END];
|
||||
|
||||
/** Types of expenses. */
|
||||
enum ExpensesType : byte {
|
||||
enum ExpensesType : uint8_t {
|
||||
EXPENSES_CONSTRUCTION = 0, ///< Construction costs.
|
||||
EXPENSES_NEW_VEHICLES, ///< New vehicles.
|
||||
EXPENSES_TRAIN_RUN, ///< Running costs trains.
|
||||
|
||||
Reference in New Issue
Block a user