| 264 | } |
| 265 | |
| 266 | static void IndustryDrawToffeeQuarry(const TileInfo *ti) |
| 267 | { |
| 268 | uint8_t x = 0; |
| 269 | |
| 270 | if (IsIndustryCompleted(ti->tile)) { |
| 271 | x = _industry_anim_offs_toffee[GetAnimationFrame(ti->tile)]; |
| 272 | if (x == 0xFF) { |
| 273 | x = 0; |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | AddChildSpriteScreen(SPR_IT_TOFFEE_QUARRY_SHOVEL, PAL_NONE, 22 - x, 24 + x); |
| 278 | AddChildSpriteScreen(SPR_IT_TOFFEE_QUARRY_TOFFEE, PAL_NONE, 6, 14); |
| 279 | } |
| 280 | |
| 281 | static void IndustryDrawBubbleGenerator( const TileInfo *ti) |
| 282 | { |
nothing calls this directly
no test coverage detected