}
}
+gboolean
+path_insert_break(Path *path)
+{
+if (!path)
+ return FALSE;
+
+if (!path->tail)
+ return FALSE;
+
+if (path->tail->unity) {
+ guint x1, y1;
+
+ /* To mark a "waypoint" in a track, we'll add a (0, 0) point and then
+ * another instance of the most recent track point. */
+ MACRO_PATH_INCREMENT_TAIL(*path);
+ *path->tail=_point_null;
+ MACRO_PATH_INCREMENT_TAIL(*path);
+ *path->tail=path->tail[-2];
+
+#if 0
+ /* Instead of calling map_render_paths(), we'll just draw the waypoint ourselves. */
+ x1 = unit2bufx(path->tail->unitx);
+ y1 = unit2bufy(path->tail->unity);
+ map_render_waypoint(x1, y1, _gc[COLORABLE_TRACK_BREAK]);
+#endif
+}
+return FALSE;
+}
+
+/**
+ * Add a text description at current point
+ *
+ */
+void
+path_insert_mark_text(Path *path, gchar *text)
+{
+MACRO_PATH_INCREMENT_WTAIL(*path);
+path->wtail->point = path->tail;
+path->wtail->desc = text;
+}
+
GtkListStore *
path_generate_store(Path *path)
{