| 246 | |
| 247 | |
| 248 | static void IndustryDrawSugarMine(const TileInfo *ti) |
| 249 | { |
| 250 | if (!IsIndustryCompleted(ti->tile)) return; |
| 251 | |
| 252 | const DrawIndustryAnimationStruct *d = &_draw_industry_spec1[GetAnimationFrame(ti->tile)]; |
| 253 | |
| 254 | AddChildSpriteScreen(SPR_IT_SUGAR_MINE_SIEVE + d->image_1, PAL_NONE, d->x, 0); |
| 255 | |
| 256 | if (d->image_2 != 0) { |
| 257 | AddChildSpriteScreen(SPR_IT_SUGAR_MINE_CLOUDS + d->image_2 - 1, PAL_NONE, 8, 41); |
| 258 | } |
| 259 | |
| 260 | if (d->image_3 != 0) { |
| 261 | AddChildSpriteScreen(SPR_IT_SUGAR_MINE_PILE + d->image_3 - 1, PAL_NONE, |
| 262 | _drawtile_proc1[d->image_3 - 1].x, _drawtile_proc1[d->image_3 - 1].y); |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | static void IndustryDrawToffeeQuarry(const TileInfo *ti) |
| 267 | { |
nothing calls this directly
no test coverage detected