(svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout.

This commit is contained in:
michi_cc
2010-08-03 17:48:03 +00:00
parent f67c727c68
commit bd2f7e998c
2 changed files with 42 additions and 15 deletions

View File

@@ -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.
};