diff options
author | tron <tron@openttd.org> | 2005-01-06 11:39:00 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-06 11:39:00 +0000 |
commit | d3c685532015cce7ababdfa8deb45388fda2748f (patch) | |
tree | f875975dc056d7d3fea370018fa0bdf62837fd3e /table/genland.h | |
parent | 9a32e38633e7c2c0793404b3bd5897c1cd362c0d (diff) | |
download | openttd-d3c685532015cce7ababdfa8deb45388fda2748f.tar.xz |
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
Diffstat (limited to 'table/genland.h')
-rw-r--r-- | table/genland.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/table/genland.h b/table/genland.h index 719e5e6b4..a0d1e8b6f 100644 --- a/table/genland.h +++ b/table/genland.h @@ -1,7 +1,6 @@ -#define M(x,y) TILE_XY(x,y) +#define M(x,y) {x, y} -#define MDORD_LAST 99 -static const TileIndexDiff _make_desert_or_rainforest_data[150] = { +static const TileIndexDiffC _make_desert_or_rainforest_data[] = { M(-5,-6), M(-4,-6), M(-3,-6), @@ -150,8 +149,7 @@ static const TileIndexDiff _make_desert_or_rainforest_data[150] = { M(6,3), M(-6,2), M(3,6), - M(3,-6), - MDORD_LAST, + M(3,-6) }; |