summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-11 15:03:29 +0000
committerrubidium <rubidium@openttd.org>2007-07-11 15:03:29 +0000
commit79d04412b051c0350e9885b6d94d56bf0d251037 (patch)
tree1722ab0a55cf1ae1d36b67ccd3be22083d15d653 /src/industry.h
parent8d4b7ac33b3447896b0d4e5f0bbb2548b445a2f1 (diff)
downloadopenttd-79d04412b051c0350e9885b6d94d56bf0d251037.tar.xz
(svn r10508) -Codechange: allow customizable animation schemes for industries.
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h
index d97185862..ab528269c 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -186,6 +186,10 @@ struct IndustryTileSpec {
///< state instead of the construction state
/* Newgrf data */
uint8 callback_flags; ///< Flags telling which grf callback is set
+ 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
+ uint8 animation_special_flags; ///< Extra flags to influence the animation
bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though
struct GRFFileProps grf_prop;
};