diff options
author | planetmaker <planetmaker@openttd.org> | 2013-10-17 21:31:53 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2013-10-17 21:31:53 +0000 |
commit | 547b1fba45cb7a877cd4966a6854aeebffef0c71 (patch) | |
tree | fbca4630773c17b068670db4760bceba54b81f59 /src/newgrf_object.h | |
parent | 88286d33ab7d94c14896388790956321ac9cda52 (diff) | |
download | openttd-547b1fba45cb7a877cd4966a6854aeebffef0c71.tar.xz |
(svn r25874) -Add: [NewGRF] NewObject property 0x10, bit 13 indicating that object amount scales with water content of map border (e.g. used for lighthouses)
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r-- | src/newgrf_object.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h index 77b80894b..36b7d420e 100644 --- a/src/newgrf_object.h +++ b/src/newgrf_object.h @@ -37,7 +37,8 @@ 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 + OBJECT_FLAG_ANIM_RANDOM_BITS = 1 << 12, ///< Object wants random bits in "next animation frame" callback. + OBJECT_FLAG_SCALE_BY_WATER = 1 << 13, ///< Object count is roughly scaled by water amount at edges. }; DECLARE_ENUM_AS_BIT_SET(ObjectFlags) |