src/newgrf_canal.h
changeset 8372 49f8ca06527d
parent 8360 3021c928de6c
child 9111 48ce04029fe4
equal deleted inserted replaced
8371:64082018161f 8372:49f8ca06527d
    15 	CF_RIVER_EDGE,
    15 	CF_RIVER_EDGE,
    16 	CF_END,
    16 	CF_END,
    17 };
    17 };
    18 
    18 
    19 
    19 
       
    20 struct WaterFeature {
       
    21 	const SpriteGroup *group;
       
    22 	uint8 callbackmask;
       
    23 	uint8 flags;
       
    24 };
       
    25 
       
    26 
    20 /** Table of canal 'feature' sprite groups */
    27 /** Table of canal 'feature' sprite groups */
    21 extern const SpriteGroup *_canal_sg[CF_END];
    28 extern WaterFeature _water_feature[CF_END];
    22 
    29 
    23 
    30 
    24 /** Lookup the base sprite to use for a canal.
    31 /** Lookup the base sprite to use for a canal.
    25  * @param feature Which canal feature we want.
    32  * @param feature Which canal feature we want.
    26  * @param tile Tile index of canal, if appropriate.
    33  * @param tile Tile index of canal, if appropriate.