summaryrefslogtreecommitdiff
path: root/src/newgrf_canal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_canal.h')
-rw-r--r--src/newgrf_canal.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/newgrf_canal.h b/src/newgrf_canal.h
index e98015add..fba0979b5 100644
--- a/src/newgrf_canal.h
+++ b/src/newgrf_canal.h
@@ -31,12 +31,17 @@ enum CanalFeature {
CF_END,
};
+/** Flags controlling the display of canals. */
+enum CanalFeatureFlag {
+ CFF_HAS_FLAT_SPRITE = 0, ///< Additional flat ground sprite in the beginning.
+};
+/** Information about a water feature. */
struct WaterFeature {
- const SpriteGroup *group;
- const GRFFile *grffile; ///< newgrf where 'group' belongs to
- uint8 callback_mask; ///< Bitmask of canal callbacks that have to be called
- uint8 flags;
+ const SpriteGroup *group; ///< Sprite group to start resolving.
+ const GRFFile *grffile; ///< NewGRF where 'group' belongs to.
+ uint8 callback_mask; ///< Bitmask of canal callbacks that have to be called.
+ uint8 flags; ///< Flags controlling display.
};