| 287 | } |
| 288 | |
| 289 | static void IndustryDrawToyFactory(const TileInfo *ti) |
| 290 | { |
| 291 | const DrawIndustryAnimationStruct *d = &_industry_anim_offs_toys[GetAnimationFrame(ti->tile)]; |
| 292 | |
| 293 | if (d->image_1 != 0xFF) { |
| 294 | AddChildSpriteScreen(SPR_IT_TOY_FACTORY_CLAY, PAL_NONE, d->x, 96 + d->image_1); |
| 295 | } |
| 296 | |
| 297 | if (d->image_2 != 0xFF) { |
| 298 | AddChildSpriteScreen(SPR_IT_TOY_FACTORY_ROBOT, PAL_NONE, 16 - d->image_2 * 2, 100 + d->image_2); |
| 299 | } |
| 300 | |
| 301 | AddChildSpriteScreen(SPR_IT_TOY_FACTORY_STAMP, PAL_NONE, 7, d->image_3); |
| 302 | AddChildSpriteScreen(SPR_IT_TOY_FACTORY_STAMP_HOLDER, PAL_NONE, 0, 42); |
| 303 | } |
| 304 | |
| 305 | static void IndustryDrawCoalPlantSparks(const TileInfo *ti) |
| 306 | { |
nothing calls this directly
no test coverage detected