Merge branch 'master' into jgrpp
# Conflicts: # src/bridge_map.h # src/crashlog.cpp # src/industry.h # src/linkgraph/linkgraph_type.h # src/order_type.h # src/saveload/afterload.cpp # src/settings.cpp # src/settings_type.h # src/smallmap_gui.cpp # src/spritecache.cpp # src/stdafx.h # src/table/settings.h.preamble # src/train.h # src/vehicle.cpp # src/viewport.cpp # src/viewport_func.h # src/widgets/station_widget.h # src/zoom_func.h # src/zoom_type.h
This commit is contained in:
@@ -147,7 +147,7 @@ typedef Money Prices[PR_END]; ///< Prices of everything. @see Price
|
||||
typedef int8 PriceMultipliers[PR_END];
|
||||
|
||||
/** Types of expenses. */
|
||||
enum ExpensesType {
|
||||
enum ExpensesType : byte {
|
||||
EXPENSES_CONSTRUCTION = 0, ///< Construction costs.
|
||||
EXPENSES_NEW_VEHICLES, ///< New vehicles.
|
||||
EXPENSES_TRAIN_RUN, ///< Running costs trains.
|
||||
@@ -169,7 +169,6 @@ enum ExpensesType {
|
||||
|
||||
/** Define basic enum properties for ExpensesType */
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user