industry_cmd.c
changeset 3494 cee53fba309a
parent 3491 4c8427796c64
child 3495 f7d3ae07f4aa
--- a/industry_cmd.c	Mon Apr 10 12:36:04 2006 +0000
+++ b/industry_cmd.c	Mon Apr 10 14:27:26 2006 +0000
@@ -414,13 +414,13 @@
 	uint gfx = GetIndustryGfx(tile);
 	CargoID a;
 
-	a = _industry_map5_accepts_1[gfx];
+	a = _industry_section_accepts_1[gfx];
 	if (a != CT_INVALID) ac[a] = (a == 0) ? 1 : 8;
 
-	a = _industry_map5_accepts_2[gfx];
+	a = _industry_section_accepts_2[gfx];
 	if (a != CT_INVALID) ac[a] = 8;
 
-	a = _industry_map5_accepts_3[gfx];
+	a = _industry_section_accepts_3[gfx];
 	if (a != CT_INVALID) ac[a] = 8;
 }
 
@@ -482,7 +482,7 @@
 		am = MoveGoodsToStation(i->xy, i->width, i->height, i->produced_cargo[0], cw);
 		i->last_mo_transported[0] += am;
 		if (am != 0) {
-			uint newgfx = _industry_produce_map5[GetIndustryGfx(tile)];
+			uint newgfx = _industry_produce_section[GetIndustryGfx(tile)];
 
 			if (newgfx != 0xFF) {
 				_m[tile].m1 = 0x80;
@@ -756,7 +756,7 @@
 
 	TransportIndustryGoods(tile);
 
-	newgfx = _industry_map5_animation_next[GetIndustryGfx(tile)];
+	newgfx = _industry_section_animation_next[GetIndustryGfx(tile)];
 	if (newgfx != 255) {
 		_m[tile].m1 = 0;
 		SetIndustryGfx(tile, newgfx);
@@ -1259,7 +1259,7 @@
 	return t;
 }
 
-static const byte _industry_map5_bits[] = {
+static const byte _industry_section_bits[] = {
 	16, 16, 16, 16, 16, 16, 16, 16,
 	16, 16, 16, 16, 16, 16, 16, 16,
 	16, 16, 16, 16, 16, 16, 16, 16,
@@ -1316,7 +1316,7 @@
 
 				if (tileh != 0) {
 					int t;
-					byte bits = _industry_map5_bits[it->gfx];
+					byte bits = _industry_section_bits[it->gfx];
 
 					if (bits & 0x10) return false;