diff options
author | rubidium <rubidium@openttd.org> | 2010-08-28 17:29:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-28 17:29:12 +0000 |
commit | 34da98f2b14e63c7042f44271d0b452fcd970737 (patch) | |
tree | cb2dccaff1ff58b3a26b4d0528d29b205f472c35 /src/newgrf_object.h | |
parent | f1f1c71a415354b00c744573eec7e7b2ce3cf7a4 (diff) | |
download | openttd-34da98f2b14e63c7042f44271d0b452fcd970737.tar.xz |
(svn r20647) -Codechange: update some of the object spec information
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r-- | src/newgrf_object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h index 37429ab33..41eb8ab82 100644 --- a/src/newgrf_object.h +++ b/src/newgrf_object.h @@ -31,9 +31,11 @@ enum ObjectFlags { OBJECT_FLAG_NOT_ON_LAND = 1 << 9, ///< Object can not be on land, implicitly sets #OBJECT_FLAG_BUILT_ON_WATER. OBJECT_FLAG_DRAW_WATER = 1 << 10, ///< Object wants to be drawn on water. OBJECT_FLAG_ALLOW_UNDER_BRIDGE = 1 << 11, ///< Object can built under a bridge. + OBJECT_FLAG_ANIM_RANDOM_BITS = 1 << 12, ///< Object wants random bits in "next animation frame" callback }; DECLARE_ENUM_AS_BIT_SET(ObjectFlags) +void ResetObjects(); /** An object that isn't use for transport, industries or houses. */ struct ObjectSpec { @@ -42,6 +44,7 @@ struct ObjectSpec { uint8 build_cost_multiplier; ///< Build cost multiplier per tile. uint8 clear_cost_multiplier; ///< Clear cost multiplier per tile. ObjectFlags flags; ///< Flags/settings related to the object. + bool enabled; ///< Is this spec enabled? /** * Get the cost for building a structure of this type. |