diff options
author | michi_cc <michi_cc@openttd.org> | 2010-08-03 17:48:03 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2010-08-03 17:48:03 +0000 |
commit | bd2f7e998c93d170e6fbf44ccdd01f95c24ce06f (patch) | |
tree | 9031abc834dc4ddd5c8997a43845bd1ffbe3db8b /src/newgrf_canal.h | |
parent | f67c727c684e76572d38831f8550273c2441e9dd (diff) | |
download | openttd-bd2f7e998c93d170e6fbf44ccdd01f95c24ce06f.tar.xz |
(svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout.
Diffstat (limited to 'src/newgrf_canal.h')
-rw-r--r-- | src/newgrf_canal.h | 13 |
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. }; |