Navit SVN

/work/compile/navit/src/navit/map_data.h

00001 
00020 #ifndef NAVIT_MAP_DATA_H
00021 #define NAVIT_MAP_DATA_H
00022 
00023 enum file_index {
00024         file_border_ply=0,
00025         file_bridge_ply,
00026         file_height_ply,
00027         file_other_ply,
00028         file_rail_ply,
00029         file_sea_ply,
00030         file_street_bti,
00031         file_street_str,
00032         file_strname_stn,
00033         file_town_twn,
00034         file_tunnel_ply,
00035         file_water_ply,
00036         file_woodland_ply,
00037         file_end
00038 };
00039 
00040 struct map_data {
00041         struct file *file[file_end];
00042         struct map_data *next;
00043 };
00044 
00045 struct map_data *load_maps(char *map);
00046 
00047 struct transformation;
00048 struct block_info;
00049 
00050 void map_data_foreach(struct map_data *mdata, int file, struct transformation *t, int limit,
00051      void(*func)(struct block_info *, unsigned char *, unsigned char *, void *), void *data);
00052 
00053 #endif
00054