equal
deleted
inserted
replaced
19 |
19 |
20 void AnimateNewIndustryTile(TileIndex tile); |
20 void AnimateNewIndustryTile(TileIndex tile); |
21 bool StartStopIndustryTileAnimation(TileIndex tile, IndustryAnimationTrigger iat, uint32 random = Random()); |
21 bool StartStopIndustryTileAnimation(TileIndex tile, IndustryAnimationTrigger iat, uint32 random = Random()); |
22 bool StartStopIndustryTileAnimation(const Industry *ind, IndustryAnimationTrigger iat); |
22 bool StartStopIndustryTileAnimation(const Industry *ind, IndustryAnimationTrigger iat); |
23 |
23 |
|
24 |
|
25 enum IndustryTileTrigger { |
|
26 /* The tile of the industry has been triggered during the tileloop. */ |
|
27 INDTILE_TRIGGER_TILE_LOOP = 0x01, |
|
28 /* The industry has been triggered via it's tick. */ |
|
29 INDUSTRY_TRIGGER_INDUSTRY_TICK = 0x02, |
|
30 /* Cargo has been delivered. */ |
|
31 INDUSTRY_TRIGGER_RECEIVED_CARGO = 0x04, |
|
32 }; |
|
33 void TriggerIndustryTile(TileIndex t, IndustryTileTrigger trigger); |
|
34 void TriggerIndustry(Industry *ind, IndustryTileTrigger trigger); |
|
35 |
24 #endif /* NEWGRF_INDUSTRYTILES_H */ |
36 #endif /* NEWGRF_INDUSTRYTILES_H */ |