diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-06-01 19:42:34 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-06-01 19:42:34 -0300 |
commit | ab99671bb835a5fe24a092ec34afe1ad862ac254 (patch) | |
tree | 0b7b830b03f49c0833fe0552722f20b8fdba7769 /scene/3d/navigation.h | |
parent | 07a466f6e6dd28bbb8b917690b634070537f1613 (diff) | |
download | redot-engine-ab99671bb835a5fe24a092ec34afe1ad862ac254.tar.gz |
-fixes to navigation, so edge-merging is more flexible on conflict
-add tab support to richtextlabel
-some click fixes to audio stream resampled
-ability to import largetextures (dialog)
Diffstat (limited to 'scene/3d/navigation.h')
-rw-r--r-- | scene/3d/navigation.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/scene/3d/navigation.h b/scene/3d/navigation.h index 0f7f67571f..f8434aaf72 100644 --- a/scene/3d/navigation.h +++ b/scene/3d/navigation.h @@ -42,6 +42,13 @@ class Navigation : public Spatial { struct NavMesh; + struct Polygon; + + struct ConnectionPending { + + Polygon *polygon; + int edge; + }; struct Polygon { @@ -50,7 +57,8 @@ class Navigation : public Spatial { Point point; Polygon *C; //connection int C_edge; - Edge() { C=NULL; C_edge=-1; } + List<ConnectionPending>::Element *P; + Edge() { C=NULL; C_edge=-1; P=NULL; } }; Vector<Edge> edges; @@ -72,6 +80,9 @@ class Navigation : public Spatial { int A_edge; Polygon *B; int B_edge; + + List<ConnectionPending> pending; + Connection() { A=NULL; B=NULL; A_edge=-1; B_edge=-1;} }; |