diff options
author | belugas <belugas@openttd.org> | 2007-05-04 16:27:13 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-05-04 16:27:13 +0000 |
commit | aff49954bf116162d440c48e29bf35fb116d1dd6 (patch) | |
tree | aa52d3726c6fd14c5ac298000d0dbbfb570fcc93 /src/openttd.h | |
parent | 449e76c05ad6c8502105fe80fd2390cc6944750c (diff) | |
download | openttd-aff49954bf116162d440c48e29bf35fb116d1dd6.tar.xz |
(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
Diffstat (limited to 'src/openttd.h')
-rw-r--r-- | src/openttd.h | 13 |
1 files changed, 13 insertions, 0 deletions
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, }; |