(svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout.
This commit is contained in:
@@ -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.
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user