diff options
author | rubidium <rubidium@openttd.org> | 2010-08-27 22:43:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-27 22:43:27 +0000 |
commit | 5d835bd2804682953dacfc1f2435fbe369b4e938 (patch) | |
tree | 2fc04eb1b43c4275624545a71b3135cbf262b491 /src/newgrf_object.h | |
parent | 50769995c7934e8a12d7da1e28aa84b5264f3e59 (diff) | |
download | openttd-5d835bd2804682953dacfc1f2435fbe369b4e938.tar.xz |
(svn r20641) -Codechange: remove the "require flat land" flag
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r-- | src/newgrf_object.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h index 37b74a160..37429ab33 100644 --- a/src/newgrf_object.h +++ b/src/newgrf_object.h @@ -31,18 +31,17 @@ 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_REQUIRE_FLAT = 1 << 12, ///< Object can only be build of flat land, i.e. not on foundations! }; DECLARE_ENUM_AS_BIT_SET(ObjectFlags) /** An object that isn't use for transport, industries or houses. */ struct ObjectSpec { - StringID name; ///< The name for this object. - uint8 size; ///< The size of this objects; low nibble for X, high nibble for Y. - 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. + StringID name; ///< The name for this object. + uint8 size; ///< The size of this objects; low nibble for X, high nibble for Y. + 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. /** * Get the cost for building a structure of this type. |