From aff49954bf116162d440c48e29bf35fb116d1dd6 Mon Sep 17 00:00:00 2001 From: belugas Date: Fri, 4 May 2007 16:27:13 +0000 Subject: (svn r9779) -Feature: Add the possiblity to choose different road patterns for towns to use. Possible patterns are : No Road (not available in scenario editor) Original (for the nostalgics) Better Roads (same as original, but based on distance of 2 tiles instead of one) 2x2 grids 3x3 grids Patch by skiddl13 --- src/openttd.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/openttd.h') diff --git a/src/openttd.h b/src/openttd.h index 187804cf9..529cf66d6 100644 --- a/src/openttd.h +++ b/src/openttd.h @@ -199,6 +199,19 @@ enum { NUM_LANDSCAPE = 4, }; +/** + * Town Layouts + */ +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 + + NUM_TLS, ///< Number of town layouts +}; + enum { NUM_PRICES = 49, }; -- cgit v1.2.3-54-g00ecf