1
0
Fork 0

Codechange: Remove ExpensesTypeByte

pull/7551/head
Charles Pigott 2019-04-22 09:51:06 +01:00 committed by PeterN
parent 2e1936da64
commit 5d66d8fd7d
1 changed files with 1 additions and 2 deletions

View File

@ -147,7 +147,7 @@ typedef Money Prices[PR_END]; ///< Prices of everything. @see Price
typedef int8 PriceMultipliers[PR_END]; typedef int8 PriceMultipliers[PR_END];
/** Types of expenses. */ /** Types of expenses. */
enum ExpensesType { enum ExpensesType : byte {
EXPENSES_CONSTRUCTION = 0, ///< Construction costs. EXPENSES_CONSTRUCTION = 0, ///< Construction costs.
EXPENSES_NEW_VEHICLES, ///< New vehicles. EXPENSES_NEW_VEHICLES, ///< New vehicles.
EXPENSES_TRAIN_RUN, ///< Running costs trains. EXPENSES_TRAIN_RUN, ///< Running costs trains.
@ -167,7 +167,6 @@ enum ExpensesType {
/** Define basic enum properties for ExpensesType */ /** Define basic enum properties for ExpensesType */
template <> struct EnumPropsT<ExpensesType> : MakeEnumPropsT<ExpensesType, byte, EXPENSES_CONSTRUCTION, EXPENSES_END, INVALID_EXPENSES, 8> {}; template <> struct EnumPropsT<ExpensesType> : MakeEnumPropsT<ExpensesType, byte, EXPENSES_CONSTRUCTION, EXPENSES_END, INVALID_EXPENSES, 8> {};
typedef TinyEnumT<ExpensesType> ExpensesTypeByte; ///< typedefing-enumification of ExpensesType
/** /**
* Categories of a price bases. * Categories of a price bases.