src/industry_map.h
branchcpp_gui
changeset 6298 c30fe89622df
parent 6285 187e3ef04cc9
child 6307 f40e88cff863
child 6719 4cc327ad39d5
equal deleted inserted replaced
6297:4bf29d14edba 6298:c30fe89622df
   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,