… | |
… | |
36 | * Boston, MA 02110-1301, USA. |
36 | * Boston, MA 02110-1301, USA. |
37 | */ |
37 | */ |
38 | |
38 | |
39 | #ifndef NAVIT_NAVIT_H |
39 | #ifndef NAVIT_NAVIT_H |
40 | #define NAVIT_NAVIT_H |
40 | #define NAVIT_NAVIT_H |
41 | |
|
|
42 | |
41 | |
43 | #ifdef __cplusplus |
42 | #ifdef __cplusplus |
44 | extern "C" |
43 | extern "C" |
45 | { |
44 | { |
46 | #endif |
45 | #endif |
… | |
… | |
68 | extern int draw_polylines_fast; // 1 -> dont draw circles at the end of polylines 0-> do draw circles |
67 | extern int draw_polylines_fast; // 1 -> dont draw circles at the end of polylines 0-> do draw circles |
69 | |
68 | |
70 | extern int limit_order_corrected; |
69 | extern int limit_order_corrected; |
71 | extern int shift_order; |
70 | extern int shift_order; |
72 | extern int global_search_street_size_factor; |
71 | extern int global_search_street_size_factor; |
73 | extern int enable_water_from_relations; |
|
|
74 | extern int hold_drawing; |
72 | extern int hold_drawing; |
75 | extern int global_stop_demo_vehicle; |
73 | extern int global_stop_demo_vehicle; |
|
|
74 | extern int global_show_route_rectangles; |
|
|
75 | extern int global_traffic_light_delay; |
|
|
76 | extern int global_draw_multipolygons; |
76 | |
77 | |
77 | extern long long draw_lines_count_2; |
78 | extern long long draw_lines_count_2; |
78 | extern long long draw_lines_count_3; |
79 | extern long long draw_lines_count_3; |
79 | extern long long draw_lines_count_4; |
80 | extern long long draw_lines_count_4; |
80 | |
81 | |
81 | extern int mapdraw_time[11 + 5]; |
82 | extern int mapdraw_time[11 + 5]; |
82 | extern int cur_mapdraw_time_index; |
83 | extern int cur_mapdraw_time_index; |
83 | |
84 | |
84 | extern int route_status_previous; |
85 | extern int route_status_previous; |
|
|
86 | extern long long global_route_memory_size; |
|
|
87 | |
|
|
88 | extern GHashTable *global_transform_hash; |
|
|
89 | extern GHashTable *global_transform_hash2; |
85 | |
90 | |
86 | /* prototypes */ |
91 | /* prototypes */ |
87 | enum attr_type; |
92 | enum attr_type; |
88 | struct attr; |
93 | struct attr; |
89 | struct attr_iter; |
94 | struct attr_iter; |
… | |
… | |
162 | struct displaylist *navit_get_displaylist(struct navit *this_); |
167 | struct displaylist *navit_get_displaylist(struct navit *this_); |
163 | void navit_layout_switch(struct navit *n); |
168 | void navit_layout_switch(struct navit *n); |
164 | int navit_set_vehicle_by_name(struct navit *n, const char *name); |
169 | int navit_set_vehicle_by_name(struct navit *n, const char *name); |
165 | void navit_layer_set_active(struct navit *this, char *name, int active, int draw); |
170 | void navit_layer_set_active(struct navit *this, char *name, int active, int draw); |
166 | void navit_motion(void *data, struct point *p); |
171 | void navit_motion(void *data, struct point *p); |
|
|
172 | void displaylist_shift_order_in_map_layers(struct navit *this_, int shift_value); |
167 | |
173 | |
168 | void navit_set_cursors(struct navit *this_); |
174 | void navit_set_cursors(struct navit *this_); |
169 | |
175 | |
170 | #include "vehicle.h" |
176 | #include "vehicle.h" |
171 | int navit_add_vehicle(struct navit *this_, struct vehicle *v); |
177 | int navit_add_vehicle(struct navit *this_, struct vehicle *v); |