Skip to content

Commit

Permalink
Refactor ship compass to show north
Browse files Browse the repository at this point in the history
Planetary approach suite now shows a triangle that always points to "North" (0deg) instead of ball showing ship heading.

Current heading (e.g. N, NW, E, SE, etc) displayed as text next to heading in degrees.
  • Loading branch information
iaincollins committed Jan 29, 2023
1 parent fba352c commit 0d7d18e
Show file tree
Hide file tree
Showing 24 changed files with 145 additions and 68 deletions.
17 changes: 9 additions & 8 deletions resources/assets/icon-font/icarus-terminal.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@font-face {
font-family: "icarus-terminal";
src: url('icarus-terminal.eot?t=1674428992842'); /* IE9*/
src: url('icarus-terminal.eot?t=1674428992842#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1674428992842") format("woff2"),
url("icarus-terminal.woff?t=1674428992842") format("woff"),
url('icarus-terminal.ttf?t=1674428992842') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1674428992842#icarus-terminal') format('svg'); /* iOS 4.1- */
src: url('icarus-terminal.eot?t=1674954429577'); /* IE9*/
src: url('icarus-terminal.eot?t=1674954429577#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1674954429577") format("woff2"),
url("icarus-terminal.woff?t=1674954429577") format("woff"),
url('icarus-terminal.ttf?t=1674954429577') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1674954429577#icarus-terminal') format('svg'); /* iOS 4.1- */
}

[class^="icarus-terminal-"], [class*=" icarus-terminal-"] {
Expand Down Expand Up @@ -99,5 +99,6 @@
.icarus-terminal-table-index:before { content: "\ea50"; }
.icarus-terminal-table-inspector:before { content: "\ea51"; }
.icarus-terminal-table-rows:before { content: "\ea52"; }
.icarus-terminal-warning:before { content: "\ea53"; }
.icarus-terminal-wrench:before { content: "\ea54"; }
.icarus-terminal-triangle-up:before { content: "\ea53"; }
.icarus-terminal-warning:before { content: "\ea54"; }
.icarus-terminal-wrench:before { content: "\ea55"; }
Binary file modified resources/assets/icon-font/icarus-terminal.eot
Binary file not shown.
1 change: 1 addition & 0 deletions resources/assets/icon-font/icarus-terminal.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
"table-index": ["m 0,0 v 100 100 100 100 100 100 100 100 100 100 h 100 100 100 600 100 V 900 100 0 H 100 Z M 80,180 H 220 V 320 H 80 Z m 200,0 H 920 V 320 H 280 Z M 80,380 H 220 V 520 H 80 Z m 200,0 H 920 V 520 H 280 Z M 80,580 H 220 V 720 H 80 Z m 200,0 H 920 V 720 H 280 Z M 80,780 H 220 V 920 H 80 Z m 200,0 H 920 V 920 H 280 Z"],
"table-inspector": ["m 0,0 v 100 100 100 100 100 100 100 100 100 100 h 100 420.61914 100 H 900 1000 V 900 100 0 H 100 Z M 80,180 H 540.61914 V 320 H 80 Z m 540.61914,0 H 920 V 920 H 620.61914 Z M 80,380 H 540.61914 V 520 H 80 Z m 0,200 H 540.61914 V 720 H 80 Z m 0,200 H 540.61914 V 920 H 80 Z"],
"table-rows": ["m 0,0 v 100 100 100 100 100 100 100 100 100 100 h 100 800 100 V 900 100 0 H 100 Z M 80,180 H 920 V 320 H 80 Z m 0,200 H 920 V 520 H 80 Z m 0,200 H 920 V 720 H 80 Z m 0,200 H 920 V 920 H 80 Z"],
"triangle-up": ["M 285.2231 -46.400706 L -19.828083 481.9636 L 590.27428 481.9636 L 285.2231 -46.400706 z "],
"warning": ["M 534.78467,61.015174 C 399.0487,295.25304 108.49991,760.14259 108.49991,760.14259 c 284.19047,0 568.38101,0 852.5715,0 z m 0,195.503846 245.17293,402.09527 -489.51374,-1.36416 z"],
"wrench": ["m 656.37727,19.874573 a 134.32581,132.22431 9.731433e-5 0 0 -131.96876,-36.621447 134.32581,132.22431 9.731433e-5 0 0 -94.98332,161.943314 134.32581,132.22431 9.731433e-5 0 0 3.57645,10.54518 L 216.7395,368.62037 A 134.32581,132.22431 9.7319837e-5 0 0 115.45457,355.49895 134.32581,132.22431 9.7319837e-5 0 0 21.184496,446.52627 L 150.40941,412.44225 c 18.75068,17.75119 37.50312,35.50166 56.25372,53.25418 -7.22173,24.60364 -14.44333,49.20838 -21.66537,73.81006 L 53.018626,574.31707 a 134.32581,132.22431 9.7319837e-5 0 0 131.968764,36.61943 134.32581,132.22431 9.7319837e-5 0 0 94.9833,-161.94128 134.32581,132.22431 9.7319837e-5 0 0 -0.51493,-1.51652 l 221.0896,-217.63067 a 134.32581,132.22431 9.731433e-5 0 0 93.39491,8.84368 134.32581,132.22431 9.731433e-5 0 0 94.27009,-91.02733 L 558.98544,181.7484 c -18.75067,-17.75118 -37.50208,-35.50269 -56.25267,-53.2552 7.22172,-24.60364 14.44331,-49.206341 21.66535,-73.808013 z"]
}
17 changes: 9 additions & 8 deletions resources/assets/icon-font/icarus-terminal.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {font-family: "icarus-terminal";
src: url('icarus-terminal.eot?t=1674428992842'); /* IE9*/
src: url('icarus-terminal.eot?t=1674428992842#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1674428992842") format("woff2"),
url("icarus-terminal.woff?t=1674428992842") format("woff"),
url('icarus-terminal.ttf?t=1674428992842') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1674428992842#icarus-terminal') format('svg'); /* iOS 4.1- */
src: url('icarus-terminal.eot?t=1674954429577'); /* IE9*/
src: url('icarus-terminal.eot?t=1674954429577#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1674954429577") format("woff2"),
url("icarus-terminal.woff?t=1674954429577") format("woff"),
url('icarus-terminal.ttf?t=1674954429577') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1674954429577#icarus-terminal') format('svg'); /* iOS 4.1- */
}

[class^="icarus-terminal-"], [class*=" icarus-terminal-"] {
Expand Down Expand Up @@ -97,5 +97,6 @@
.icarus-terminal-table-index:before { content: "\ea50"; }
.icarus-terminal-table-inspector:before { content: "\ea51"; }
.icarus-terminal-table-rows:before { content: "\ea52"; }
.icarus-terminal-warning:before { content: "\ea53"; }
.icarus-terminal-wrench:before { content: "\ea54"; }
.icarus-terminal-triangle-up:before { content: "\ea53"; }
.icarus-terminal-warning:before { content: "\ea54"; }
.icarus-terminal-wrench:before { content: "\ea55"; }
17 changes: 9 additions & 8 deletions resources/assets/icon-font/icarus-terminal.module.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {font-family: "icarus-terminal";
src: url('icarus-terminal.eot?t=1674428992842'); /* IE9*/
src: url('icarus-terminal.eot?t=1674428992842#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1674428992842") format("woff2"),
url("icarus-terminal.woff?t=1674428992842") format("woff"),
url('icarus-terminal.ttf?t=1674428992842') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1674428992842#icarus-terminal') format('svg'); /* iOS 4.1- */
src: url('icarus-terminal.eot?t=1674954429577'); /* IE9*/
src: url('icarus-terminal.eot?t=1674954429577#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1674954429577") format("woff2"),
url("icarus-terminal.woff?t=1674954429577") format("woff"),
url('icarus-terminal.ttf?t=1674954429577') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1674954429577#icarus-terminal') format('svg'); /* iOS 4.1- */
}

[class^="icarus-terminal-"], [class*=" icarus-terminal-"] {
Expand Down Expand Up @@ -98,7 +98,8 @@
.icarus-terminal-table-index:before { content: "\ea50"; }
.icarus-terminal-table-inspector:before { content: "\ea51"; }
.icarus-terminal-table-rows:before { content: "\ea52"; }
.icarus-terminal-warning:before { content: "\ea53"; }
.icarus-terminal-wrench:before { content: "\ea54"; }
.icarus-terminal-triangle-up:before { content: "\ea53"; }
.icarus-terminal-warning:before { content: "\ea54"; }
.icarus-terminal-wrench:before { content: "\ea55"; }

}
22 changes: 12 additions & 10 deletions resources/assets/icon-font/icarus-terminal.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {font-family: "icarus-terminal";
src: url('icarus-terminal.eot?t=1674428992842'); /* IE9*/
src: url('icarus-terminal.eot?t=1674428992842#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1674428992842") format("woff2"),
url("icarus-terminal.woff?t=1674428992842") format("woff"),
url('icarus-terminal.ttf?t=1674428992842') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1674428992842#icarus-terminal') format('svg'); /* iOS 4.1- */
src: url('icarus-terminal.eot?t=1674954429577'); /* IE9*/
src: url('icarus-terminal.eot?t=1674954429577#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1674954429577") format("woff2"),
url("icarus-terminal.woff?t=1674954429577") format("woff"),
url('icarus-terminal.ttf?t=1674954429577') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1674954429577#icarus-terminal') format('svg'); /* iOS 4.1- */
}

[class^="icarus-terminal-"], [class*=" icarus-terminal-"] {
Expand Down Expand Up @@ -97,8 +97,9 @@
.icarus-terminal-table-index:before { content: "\ea50"; }
.icarus-terminal-table-inspector:before { content: "\ea51"; }
.icarus-terminal-table-rows:before { content: "\ea52"; }
.icarus-terminal-warning:before { content: "\ea53"; }
.icarus-terminal-wrench:before { content: "\ea54"; }
.icarus-terminal-triangle-up:before { content: "\ea53"; }
.icarus-terminal-warning:before { content: "\ea54"; }
.icarus-terminal-wrench:before { content: "\ea55"; }

$icarus-terminal-0_copy: "\ea01";
$icarus-terminal-asteroid-base: "\ea02";
Expand Down Expand Up @@ -182,6 +183,7 @@ $icarus-terminal-system-orbits: "\ea4f";
$icarus-terminal-table-index: "\ea50";
$icarus-terminal-table-inspector: "\ea51";
$icarus-terminal-table-rows: "\ea52";
$icarus-terminal-warning: "\ea53";
$icarus-terminal-wrench: "\ea54";
$icarus-terminal-triangle-up: "\ea53";
$icarus-terminal-warning: "\ea54";
$icarus-terminal-wrench: "\ea55";

17 changes: 9 additions & 8 deletions resources/assets/icon-font/icarus-terminal.styl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {font-family: "icarus-terminal";
src: url('icarus-terminal.eot?t=1674428992842'); /* IE9*/
src: url('icarus-terminal.eot?t=1674428992842#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1674428992842") format("woff2"),
url("icarus-terminal.woff?t=1674428992842") format("woff"),
url('icarus-terminal.ttf?t=1674428992842') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1674428992842#icarus-terminal') format('svg'); /* iOS 4.1- */
src: url('icarus-terminal.eot?t=1674954429577'); /* IE9*/
src: url('icarus-terminal.eot?t=1674954429577#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1674954429577") format("woff2"),
url("icarus-terminal.woff?t=1674954429577") format("woff"),
url('icarus-terminal.ttf?t=1674954429577') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1674954429577#icarus-terminal') format('svg'); /* iOS 4.1- */
}

[class^="icarus-terminal-"], [class*=" icarus-terminal-"] {
Expand Down Expand Up @@ -97,5 +97,6 @@
.icarus-terminal-table-index:before { content: "\ea50"; }
.icarus-terminal-table-inspector:before { content: "\ea51"; }
.icarus-terminal-table-rows:before { content: "\ea52"; }
.icarus-terminal-warning:before { content: "\ea53"; }
.icarus-terminal-wrench:before { content: "\ea54"; }
.icarus-terminal-triangle-up:before { content: "\ea53"; }
.icarus-terminal-warning:before { content: "\ea54"; }
.icarus-terminal-wrench:before { content: "\ea55"; }
7 changes: 5 additions & 2 deletions resources/assets/icon-font/icarus-terminal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0d7d18e

Please sign in to comment.