equal
deleted
inserted
replaced
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, |