MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / IndustryDrawBubbleGenerator

Function IndustryDrawBubbleGenerator

src/industry_cmd.cpp:281–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281static void IndustryDrawBubbleGenerator( const TileInfo *ti)
282{
283 if (IsIndustryCompleted(ti->tile)) {
284 AddChildSpriteScreen(SPR_IT_BUBBLE_GENERATOR_BUBBLE, PAL_NONE, 5, _industry_anim_offs_bubbles[GetAnimationFrame(ti->tile)]);
285 }
286 AddChildSpriteScreen(SPR_IT_BUBBLE_GENERATOR_SPRING, PAL_NONE, 3, 67);
287}
288
289static void IndustryDrawToyFactory(const TileInfo *ti)
290{

Callers

nothing calls this directly

Calls 3

IsIndustryCompletedFunction · 0.85
AddChildSpriteScreenFunction · 0.85
GetAnimationFrameFunction · 0.85

Tested by

no test coverage detected