/[zanavi_public1]/navit/navit/navit.c
ZANavi

Diff of /navit/navit/navit.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 49 Revision 50
228int global_driven_away_from_route = 0; 228int global_driven_away_from_route = 0;
229 229
230int global_enhance_cycleway = 0; 230int global_enhance_cycleway = 0;
231int global_tracking_show_real_gps_pos = 0; 231int global_tracking_show_real_gps_pos = 0;
232int global_show_maps_debug_view = 0; 232int global_show_maps_debug_view = 0;
233int global_cancel_preview_map_drawing = 0;
233 234
234GList *global_all_cbs = NULL; 235GList *global_all_cbs = NULL;
235 236
236struct coord global_debug_route_seg_winner_start; 237struct coord global_debug_route_seg_winner_start;
237struct coord global_debug_route_seg_winner_end; 238struct coord global_debug_route_seg_winner_end;
2936 active.u.num = 0; // by default deactivate rounting on this map 2937 active.u.num = 0; // by default deactivate rounting on this map
2937 map_set_attr(map2, &active); 2938 map_set_attr(map2, &active);
2938 } 2939 }
2939 g_free(map_file); 2940 g_free(map_file);
2940 2941
2942
2943
2944/*
2941 parent.type = attr_navit; 2945 parent.type = attr_navit;
2942 parent.u.navit = this_; 2946 parent.u.navit = this_;
2943 type.type = attr_type; 2947 type.type = attr_type;
2944 type.u.str = "binfile"; 2948 type.u.str = "binfile";
2945 data.type = attr_data; 2949 data.type = attr_data;
2969 active.type = attr_route_active; 2973 active.type = attr_route_active;
2970 active.u.num = 0; // by default deactivate rounting on this map 2974 active.u.num = 0; // by default deactivate rounting on this map
2971 map_set_attr(map2, &active); 2975 map_set_attr(map2, &active);
2972 } 2976 }
2973 g_free(map_file); 2977 g_free(map_file);
2978
2979
2980*/
2981
2974 2982
2975 // gpx tracks map -------------------- 2983 // gpx tracks map --------------------
2976 parent.type = attr_navit; 2984 parent.type = attr_navit;
2977 parent.u.navit = this_; 2985 parent.u.navit = this_;
2978 type.type = attr_type; 2986 type.type = attr_type;
3186 } 3194 }
3187 g_free(map_file); 3195 g_free(map_file);
3188 } 3196 }
3189 3197
3190 i = 10; 3198 i = 10;
3191 for (i = 10; i < 21; i++) 3199 for (i = 10; i < 61; i++)
3192 { 3200 {
3193 parent.type = attr_navit; 3201 parent.type = attr_navit;
3194 parent.u.navit = this_; 3202 parent.u.navit = this_;
3195 type.type = attr_type; 3203 type.type = attr_type;
3196 type.u.str = "binfile"; 3204 type.u.str = "binfile";
7264 g_free(this_); 7272 g_free(this_);
7265 dbg(0, "ex 015\n"); 7273 dbg(0, "ex 015\n");
7266} 7274}
7267 7275
7268/** @} */ 7276/** @} */
7277

Legend:
Removed from v.49  
changed lines
  Added in v.50

   
Visit the ZANavi Wiki