diff --git a/nui/Heebo-Bold.ttf b/nui/fonts/Heebo-Bold.ttf similarity index 100% rename from nui/Heebo-Bold.ttf rename to nui/fonts/Heebo-Bold.ttf diff --git a/nui/Heebo-Regular.ttf b/nui/fonts/Heebo-Regular.ttf similarity index 100% rename from nui/Heebo-Regular.ttf rename to nui/fonts/Heebo-Regular.ttf diff --git a/nui/Segment7Standard.otf b/nui/fonts/Segment7Standard.otf similarity index 100% rename from nui/Segment7Standard.otf rename to nui/fonts/Segment7Standard.otf diff --git a/nui/bg.png b/nui/images/bg.png similarity index 100% rename from nui/bg.png rename to nui/images/bg.png diff --git a/nui/bg.psd b/nui/images/bg.psd similarity index 100% rename from nui/bg.psd rename to nui/images/bg.psd diff --git a/nui/bg_left.png b/nui/images/bg_left.png similarity index 100% rename from nui/bg_left.png rename to nui/images/bg_left.png diff --git a/nui/bg_right.png b/nui/images/bg_right.png similarity index 100% rename from nui/bg_right.png rename to nui/images/bg_right.png diff --git a/nui/frame.png b/nui/images/frame.png similarity index 100% rename from nui/frame.png rename to nui/images/frame.png diff --git a/nui/frame.psd b/nui/images/frame.psd similarity index 100% rename from nui/frame.psd rename to nui/images/frame.psd diff --git a/nui/rc_bg.png b/nui/images/rc_bg.png similarity index 100% rename from nui/rc_bg.png rename to nui/images/rc_bg.png diff --git a/nui/rc_bg.psd b/nui/images/rc_bg.psd similarity index 100% rename from nui/rc_bg.psd rename to nui/images/rc_bg.psd diff --git a/nui/radar.css b/nui/radar.css index b7e12a0..f45a71e 100644 --- a/nui/radar.css +++ b/nui/radar.css @@ -1,16 +1,16 @@ @font-face { font-family: "Seg-7"; - src: url( "Segment7Standard.otf" ); + src: url( "fonts/Segment7Standard.otf" ); } @font-face { font-family: "Heebo"; - src: url( "Heebo-Bold.ttf" ); + src: url( "fonts/Heebo-Bold.ttf" ); } @font-face { font-family: "Heebo-Regular"; - src: url( "Heebo-Regular.ttf" ); + src: url( "fonts/Heebo-Regular.ttf" ); } * { @@ -43,7 +43,7 @@ button:focus { outline: none; } position: absolute; margin: auto; - background-image: url( "frame.png" ); + background-image: url( "images/frame.png" ); /* Settings for scaling */ transform: scale( 1.0 ); @@ -93,14 +93,14 @@ button:focus { outline: none; } .panel_left { clip-path: polygon( 0 30%, 80% 0, 100% 0, 100% 100%, 80% 100%, 0 70% ); transform: translateX( 1px ); - background-image: url( "bg_left.png" ); + background-image: url( "images/bg_left.png" ); background-repeat: no-repeat; } .panel_right { clip-path: polygon( 0 0, 20% 0, 100% 30%, 100% 70%, 20% 100%, 0 100% ); transform: translateX( -1px ); - background-image: url( "bg_right.png" ); + background-image: url( "images/bg_right.png" ); background-repeat: no-repeat; } @@ -126,7 +126,7 @@ button:focus { outline: none; } } #radar { - background-image: url( "bg.png" ); + background-image: url( "images/bg.png" ); background-repeat: no-repeat; height: 100%; @@ -369,7 +369,7 @@ button:focus { outline: none; } color: white; /* background-color: rgb( 50, 50, 50 ); */ - background-image: url( "rc_bg.png" ); + background-image: url( "images/rc_bg.png" ); /* clip-path: polygon( 5% 0, 95% 0, 100% 25%, 90% 100%, 10% 100%, 0 25% ); */ diff --git a/nui/radar.js b/nui/radar.js index 823f431..2c49210 100644 --- a/nui/radar.js +++ b/nui/radar.js @@ -302,7 +302,7 @@ function settingUpdate( ants ) function playAudio( name, vol ) { - let audio = new Audio( audioNames[name] ); + let audio = new Audio( "sounds/" + audioNames[name] ); audio.volume = vol; audio.play(); } diff --git a/nui/sounds/away.ogg b/nui/sounds/away.ogg new file mode 100644 index 0000000..a666dc8 Binary files /dev/null and b/nui/sounds/away.ogg differ diff --git a/nui/beep.ogg b/nui/sounds/beep.ogg similarity index 100% rename from nui/beep.ogg rename to nui/sounds/beep.ogg diff --git a/nui/sounds/closing.ogg b/nui/sounds/closing.ogg new file mode 100644 index 0000000..bba7f64 Binary files /dev/null and b/nui/sounds/closing.ogg differ diff --git a/nui/done.ogg b/nui/sounds/done.ogg similarity index 100% rename from nui/done.ogg rename to nui/sounds/done.ogg diff --git a/nui/sounds/front.ogg b/nui/sounds/front.ogg new file mode 100644 index 0000000..3bdaf86 Binary files /dev/null and b/nui/sounds/front.ogg differ diff --git a/nui/sounds/rear.ogg b/nui/sounds/rear.ogg new file mode 100644 index 0000000..f760f39 Binary files /dev/null and b/nui/sounds/rear.ogg differ diff --git a/nui/xmit_off.ogg b/nui/sounds/xmit_off.ogg similarity index 100% rename from nui/xmit_off.ogg rename to nui/sounds/xmit_off.ogg diff --git a/nui/xmit_on.ogg b/nui/sounds/xmit_on.ogg similarity index 100% rename from nui/xmit_on.ogg rename to nui/sounds/xmit_on.ogg