From f8c95a1dbeac23296cacc83ae25d2a8b352cd83d Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 6 Jan 2005 11:39:00 +0000 Subject: (svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff --- table/genland.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'table/genland.h') 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) }; -- cgit v1.2.3-70-g09d2