src/industry_map.h
changeset 6248 e4a2ed7e5613
parent 6201 bee01dc45e39
child 6418 e04693bbe82a
equal deleted inserted replaced
6247:7d81e3a5d803 6248:e4a2ed7e5613
   164 {
   164 {
   165 	assert(IsTileType(tile, MP_INDUSTRY));
   165 	assert(IsTileType(tile, MP_INDUSTRY));
   166 	_m[tile].m1 = 0;
   166 	_m[tile].m1 = 0;
   167 }
   167 }
   168 
   168 
   169 typedef struct IndustryTypeSolver {
   169 struct IndustryTypeSolver {
   170 	IndustryGfx MinGfx;
   170 	IndustryGfx MinGfx;
   171 	IndustryGfx MaxGfx;
   171 	IndustryGfx MaxGfx;
   172 } IndustryTypeSolver;
   172 };
   173 
   173 
   174 static const IndustryTypeSolver industry_gfx_Solver [IT_END] = {
   174 static const IndustryTypeSolver industry_gfx_Solver [IT_END] = {
   175 	{  0,   6}, ///< IT_COAL_MINE
   175 	{  0,   6}, ///< IT_COAL_MINE
   176 	{  7,  10}, ///< IT_POWER_STATION,
   176 	{  7,  10}, ///< IT_POWER_STATION,
   177 	{ 11,  15}, ///< IT_SAWMILL,
   177 	{ 11,  15}, ///< IT_SAWMILL,