(svn r12346) -Fix [FS#1748, FS#1825](r9874, r11872): Remove duplicated and inconsistent code wrt. autoreplace with rules in both vehicles' group and ALL_GROUP.
/* $Id$ */#ifndef NEWGRF_CANAL_H#define NEWGRF_CANAL_H/** List of different canal 'features'. * Each feature gets an entry in the canal spritegroup table */enumCanalFeature{CF_WATERSLOPE,CF_LOCKS,CF_DIKES,CF_ICON,CF_DOCKS,CF_RIVER_SLOPE,CF_RIVER_EDGE,CF_END,};structWaterFeature{constSpriteGroup*group;uint8callbackmask;uint8flags;};/** Table of canal 'feature' sprite groups */externWaterFeature_water_feature[CF_END];/** Lookup the base sprite to use for a canal. * @param feature Which canal feature we want. * @param tile Tile index of canal, if appropriate. * @return Base sprite returned by GRF, or 0 if none. */SpriteIDGetCanalSprite(CanalFeaturefeature,TileIndextile);#endif /* NEWGRF_CANAL_H */