File diff r8795:985f029aa09c → r8796:7940548db691
src/town_type.h
Show inline comments
 
@@ -63,12 +63,14 @@ enum TownLayout {
 
	TL_NO_ROADS     = 0, ///< Build no more roads, but still build houses
 
	TL_ORIGINAL,         ///< Original algorithm (min. 1 distance between roads)
 
	TL_BETTER_ROADS,     ///< Extended original algorithm (min. 2 distance between roads)
 
	TL_2X2_GRID,         ///< Geometric 2x2 grid algorithm
 
	TL_3X3_GRID,         ///< Geometric 3x3 grid algorithm
 

	
 
	TL_RANDOM,           ///< Random town layout
 

	
 
	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<TownLayout> : MakeEnumPropsT<TownLayout, byte, TL_NO_ROADS, NUM_TLS, NUM_TLS> {};