diff options
author | rubidium <rubidium@openttd.org> | 2010-08-26 15:31:40 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-26 15:31:40 +0000 |
commit | e2e26190d55fe5a7e053791ac9bce095b303be10 (patch) | |
tree | 94224f8433a94c28866b63347b64c3f7c8e4f201 /src/newgrf_industrytiles.h | |
parent | 4efa2efdbba6f08b2ee4ca3aacb2aeb792429af4 (diff) | |
download | openttd-e2e26190d55fe5a7e053791ac9bce095b303be10.tar.xz |
(svn r20623) -Codechange: unify the storing of animation related information
Diffstat (limited to 'src/newgrf_industrytiles.h')
-rw-r--r-- | src/newgrf_industrytiles.h | 10 |
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); |