# newgrf_canal.h

    00001 /* $Id: newgrf_canal.h 11938 2008-01-21 20:41:04Z peter1138 $ */
    00002
    00003 #ifndef NEWGRF_CANAL_H
    00004 #define NEWGRF_CANAL_H
    00005
    00008 enum CanalFeature {
    00009   CF_WATERSLOPE,
    00010   CF_LOCKS,
    00011   CF_DIKES,
    00012   CF_ICON,
    00013   CF_DOCKS,
    00014   CF_RIVER_SLOPE,
    00015   CF_RIVER_EDGE,
    00016   CF_END,
    00017 };
    00018
    00019
    00020 struct WaterFeature {
    00021   const SpriteGroup *group;
    00022   uint8 callbackmask;
    00023   uint8 flags;
    00024 };
    00025
    00026
    00028 extern WaterFeature _water_feature[CF_END];
    00029
    00030
    00036 SpriteID GetCanalSprite(CanalFeature feature, TileIndex tile);
    00037
    00038 #endif /* NEWGRF_CANAL_H */