equal
deleted
inserted
replaced
9 CF_WATERSLOPE, |
9 CF_WATERSLOPE, |
10 CF_LOCKS, |
10 CF_LOCKS, |
11 CF_DIKES, |
11 CF_DIKES, |
12 CF_ICON, |
12 CF_ICON, |
13 CF_DOCKS, |
13 CF_DOCKS, |
|
14 CF_RIVER_SLOPE, |
|
15 CF_RIVER_EDGE, |
14 CF_END, |
16 CF_END, |
15 }; |
17 }; |
16 |
18 |
17 |
19 |
|
20 struct WaterFeature { |
|
21 const SpriteGroup *group; |
|
22 uint8 callbackmask; |
|
23 uint8 flags; |
|
24 }; |
|
25 |
|
26 |
18 /** Table of canal 'feature' sprite groups */ |
27 /** Table of canal 'feature' sprite groups */ |
19 extern const SpriteGroup *_canal_sg[CF_END]; |
28 extern WaterFeature _water_feature[CF_END]; |
20 |
29 |
21 |
30 |
22 /** Lookup the base sprite to use for a canal. |
31 /** Lookup the base sprite to use for a canal. |
23 * @param feature Which canal feature we want. |
32 * @param feature Which canal feature we want. |
24 * @param tile Tile index of canal, if appropriate. |
33 * @param tile Tile index of canal, if appropriate. |