summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_industrytiles.h')
-rw-r--r--src/newgrf_industrytiles.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/newgrf_industrytiles.h b/src/newgrf_industrytiles.h
index ba2d9ac9b..1a1922968 100644
--- a/src/newgrf_industrytiles.h
+++ b/src/newgrf_industrytiles.h
@@ -14,18 +14,10 @@
#include "tile_cmd.h"
#include "industry_type.h"
+#include "newgrf_animation_type.h"
#include "newgrf_callbacks.h"
#include "core/random_func.hpp"
-/** Animation triggers of the industries. */
-enum IndustryAnimationTrigger {
- IAT_CONSTRUCTION_STATE_CHANGE,
- IAT_TILELOOP,
- IAT_INDUSTRY_TICK,
- IAT_INDUSTRY_RECEIVED_CARGO,
- IAT_INDUSTRY_DISTRIBUTES_CARGO,
-};
-
bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const IndustryTileSpec *inds);
uint16 GetIndustryTileCallback(CallbackID callback, uint32 param1, uint32 param2, IndustryGfx gfx_id, Industry *industry, TileIndex tile);
CommandCost PerformIndustryTileSlopeCheck(TileIndex ind_base_tile, TileIndex ind_tile, const IndustryTileSpec *its, IndustryType type, IndustryGfx gfx, uint itspec_index, uint16 initial_random_bits, Owner founder);