From d51887fbed33af94e45c271e953cff075e2debbf Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 22 Nov 2004 18:42:03 +0000 Subject: (svn r764) Enumerate the houses only one per town can exist and use the enums instead of magic numbers to check for these --- table/town_land.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'table/town_land.h') diff --git a/table/town_land.h b/table/town_land.h index 884195212..24b959819 100644 --- a/table/town_land.h +++ b/table/town_land.h @@ -1,3 +1,13 @@ +enum { + HOUSE_TEMP_CHURCH = 0x03, + HOUSE_STADIUM = 0x14, + HOUSE_MODERN_STADIUM = 0x20, + HOUSE_ARCT_CHURCH = 0x3c, + HOUSE_SNOW_CHURCH = 0x3d, + HOUSE_TROP_CHURCH = 0x53, + HOUSE_TOY_CHURCH = 0x5b +}; + #define M(s1, s2, sx, sy, w, h, dz, p) {s1, s2, sx, sy, w - 1, h - 1, dz, p} static const DrawTownTileStruct _town_draw_tile_data[] = { -- cgit v1.2.3-70-g09d2