navit  0.5.3-trunk
map_data.h
Go to the documentation of this file.
1 
20 #ifndef NAVIT_MAP_DATA_H
21 #define NAVIT_MAP_DATA_H
22 
23 enum file_index {
37  file_end
38 };
39 
40 struct map_data {
41  struct file *file[file_end];
42  struct map_data *next;
43 };
44 
45 struct map_data *load_maps(char *map);
46 
47 struct transformation;
48 struct block_info;
49 
50 void map_data_foreach(struct map_data *mdata, int file, struct transformation *t, int limit,
51  void(*func)(struct block_info *, unsigned char *, unsigned char *, void *), void *data);
52 
53 #endif
54 
char data
Definition: garmin_img.c:2
void map_data_foreach(struct map_data *mdata, int file, struct transformation *t, int limit, void(*func)(struct block_info *, unsigned char *, unsigned char *, void *), void *data)
@ file_border_ply
Definition: map_data.h:24
@ file_street_bti
Definition: map_data.h:30
@ file_tunnel_ply
Definition: map_data.h:34
@ file_water_ply
Definition: map_data.h:35
@ file_rail_ply
Definition: map_data.h:28
@ file_town_twn
Definition: map_data.h:33
@ file_sea_ply
Definition: map_data.h:29
@ file_street_str
Definition: map_data.h:31
@ file_end
Definition: map_data.h:37
@ file_bridge_ply
Definition: map_data.h:25
@ file_height_ply
Definition: map_data.h:26
@ file_woodland_ply
Definition: map_data.h:36
@ file_strname_stn
Definition: map_data.h:32
@ file_other_ply
Definition: map_data.h:27
struct map_data * load_maps(char *map)
file_index
Definition: mg.h:229
static unsigned char limit[]
Definition: street.c:364
Definition: file.h:36
Definition: map_data.h:40
struct map_data * next
Definition: map_data.h:42
Definition: map.c:55
The parameters needed to transform a map for display.
Definition: transform.c:64