Add NewGRF object property for flood-resistance

Does not imply being able to be built on water
This commit is contained in:
Jonathan G Rennison
2021-12-05 21:32:57 +00:00
parent 06fa1ae332
commit 24fb390e9f
6 changed files with 11 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ enum ObjectCtrlFlags {
OBJECT_CTRL_FLAG_NONE = 0, ///< Just nothing.
OBJECT_CTRL_FLAG_USE_LAND_GROUND = 1 << 0, ///< Use land for ground sprite.
OBJECT_CTRL_FLAG_EDGE_FOUNDATION = 1 << 2, ///< Use edge foundation mode.
OBJECT_CTRL_FLAG_FLOOD_RESISTANT = 1 << 3, ///< Object is flood-resistant.
};
DECLARE_ENUM_AS_BIT_SET(ObjectCtrlFlags)