navit
0.5.3-trunk
Loading...
Searching...
No Matches
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
{
24
file_border_ply
=0,
25
file_bridge_ply
,
26
file_height_ply
,
27
file_other_ply
,
28
file_rail_ply
,
29
file_sea_ply
,
30
file_street_bti
,
31
file_street_str
,
32
file_strname_stn
,
33
file_town_twn
,
34
file_tunnel_ply
,
35
file_water_ply
,
36
file_woodland_ply
,
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
data
char data
Definition
garmin_img.c:2
load_maps
struct map_data * load_maps(char *map)
map_data_foreach
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
@ file_border_ply
Definition
map_data.h:24
file_street_bti
@ file_street_bti
Definition
map_data.h:30
file_tunnel_ply
@ file_tunnel_ply
Definition
map_data.h:34
file_water_ply
@ file_water_ply
Definition
map_data.h:35
file_rail_ply
@ file_rail_ply
Definition
map_data.h:28
file_town_twn
@ file_town_twn
Definition
map_data.h:33
file_sea_ply
@ file_sea_ply
Definition
map_data.h:29
file_street_str
@ file_street_str
Definition
map_data.h:31
file_end
@ file_end
Definition
map_data.h:37
file_bridge_ply
@ file_bridge_ply
Definition
map_data.h:25
file_height_ply
@ file_height_ply
Definition
map_data.h:26
file_woodland_ply
@ file_woodland_ply
Definition
map_data.h:36
file_strname_stn
@ file_strname_stn
Definition
map_data.h:32
file_other_ply
@ file_other_ply
Definition
map_data.h:27
file_index
file_index
Definition
mg.h:229
limit
static unsigned char limit[]
Definition
street.c:364
file
Definition
file.h:36
map_data
Definition
map_data.h:40
map_data::next
struct map_data * next
Definition
map_data.h:42
map
Definition
map.c:55
transformation
The parameters needed to transform a map for display.
Definition
transform.c:64
map_data.h
Generated by
1.9.8