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/industrytype.h | |
parent | 4efa2efdbba6f08b2ee4ca3aacb2aeb792429af4 (diff) | |
download | openttd-e2e26190d55fe5a7e053791ac9bce095b303be10.tar.xz |
(svn r20623) -Codechange: unify the storing of animation related information
Diffstat (limited to 'src/industrytype.h')
-rw-r--r-- | src/industrytype.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/industrytype.h b/src/industrytype.h index c67c7d1f3..c534fa60a 100644 --- a/src/industrytype.h +++ b/src/industrytype.h @@ -19,6 +19,7 @@ #include "landscape_type.h" #include "strings_type.h" #include "cargo_type.h" +#include "newgrf_animation_type.h" #include "newgrf_commons.h" enum IndustryCleanupType { @@ -167,9 +168,7 @@ struct IndustryTileSpec { ///< state instead of the construction state /* Newgrf data */ uint8 callback_mask; ///< Bitmask of industry tile callbacks that have to be called - uint16 animation_info; ///< Information about the animation (is it looping, how many loops etc) - uint8 animation_speed; ///< The speed of the animation - uint8 animation_triggers; ///< When to start the animation + AnimationInfo animation; ///< Information about the animation (is it looping, how many loops etc) IndustryTileSpecialFlags special_flags; ///< Bitmask of extra flags used by the tile bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though GRFFileProps grf_prop; ///< properties related the the grf file |