diff --git a/src/openttd.h b/src/openttd.h --- a/src/openttd.h +++ b/src/openttd.h @@ -212,6 +212,11 @@ enum TownLayout { NUM_TLS, ///< Number of town layouts }; +/* It needs to be 8bits, because we save and load it as such */ +/** Define basic enum properties */ +template <> struct EnumPropsT : MakeEnumPropsT {}; +typedef TinyEnumT TownLayoutByte; //typedefing-enumification of TownLayout + enum { NUM_PRICES = 49, };