newgrf_canal.h

Go to the documentation of this file.
00001 /* $Id: newgrf_canal.h 13885 2008-07-30 18:23:12Z frosch $ */
00002 
00005 #ifndef NEWGRF_CANAL_H
00006 #define NEWGRF_CANAL_H
00007 
00010 enum CanalFeature {
00011   CF_WATERSLOPE,
00012   CF_LOCKS,
00013   CF_DIKES,
00014   CF_ICON,
00015   CF_DOCKS,
00016   CF_RIVER_SLOPE,
00017   CF_RIVER_EDGE,
00018   CF_END,
00019 };
00020 
00021 
00022 struct WaterFeature {
00023   const SpriteGroup *group;
00024   const GRFFile *grffile;   
00025   uint8 callbackmask;
00026   uint8 flags;
00027 };
00028 
00029 
00031 extern WaterFeature _water_feature[CF_END];
00032 
00033 
00039 SpriteID GetCanalSprite(CanalFeature feature, TileIndex tile);
00040 
00041 #endif /* NEWGRF_CANAL_H */

Generated on Mon Dec 14 21:00:00 2009 for OpenTTD by  doxygen 1.5.6