aboutsummaryrefslogtreecommitdiff
path: root/loader/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'loader/src/main/resources')
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/IBeamCursor.curbin0 -> 8774 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/arrowCursor.curbin0 -> 136606 bytes
-rw-r--r--loader/src/main/resources/assets/dungeons_guide_loader/cursors/closedHandCursor.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/crosshairCursor.curbin0 -> 8774 bytes
-rw-r--r--loader/src/main/resources/assets/dungeons_guide_loader/cursors/openHandCursor.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/operationNotAllowedCursor.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/pointingHandCursor.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeDownCursor.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeLeftCursor.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeLeftRightCursor.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNE.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNESW.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNW.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNWSE.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeRightCursor.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeSE.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeSW.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeUpCursor.curbin0 -> 136606 bytes
-rwxr-xr-xloader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeUpDownCursor.curbin0 -> 136606 bytes
-rw-r--r--loader/src/main/resources/assets/dungeons_guide_loader/fi0
-rw-r--r--loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromacircle.frag27
-rw-r--r--loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromaroundrect.frag23
-rw-r--r--loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromaroundrect.vert19
-rw-r--r--loader/src/main/resources/assets/dungeons_guide_loader/shaders/donut.frag17
-rw-r--r--loader/src/main/resources/assets/dungeons_guide_loader/shaders/roundrect.frag17
-rw-r--r--loader/src/main/resources/assets/dungeons_guide_loader/shaders/roundrect.vert8
-rw-r--r--loader/src/main/resources/isrgrootx1.derbin0 -> 1391 bytes
27 files changed, 111 insertions, 0 deletions
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/IBeamCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/IBeamCursor.cur
new file mode 100755
index 00000000..19f162df
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/IBeamCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/arrowCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/arrowCursor.cur
new file mode 100755
index 00000000..7d58eec1
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/arrowCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/closedHandCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/closedHandCursor.cur
new file mode 100644
index 00000000..26d6ba9f
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/closedHandCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/crosshairCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/crosshairCursor.cur
new file mode 100755
index 00000000..7d4589af
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/crosshairCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/openHandCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/openHandCursor.cur
new file mode 100644
index 00000000..26d6ba9f
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/openHandCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/operationNotAllowedCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/operationNotAllowedCursor.cur
new file mode 100755
index 00000000..1bb62ed5
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/operationNotAllowedCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/pointingHandCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/pointingHandCursor.cur
new file mode 100755
index 00000000..77313176
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/pointingHandCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeDownCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeDownCursor.cur
new file mode 100755
index 00000000..bae2c237
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeDownCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeLeftCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeLeftCursor.cur
new file mode 100755
index 00000000..b904bc5c
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeLeftCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeLeftRightCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeLeftRightCursor.cur
new file mode 100755
index 00000000..b904bc5c
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeLeftRightCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNE.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNE.cur
new file mode 100755
index 00000000..ccaac220
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNE.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNESW.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNESW.cur
new file mode 100755
index 00000000..ccaac220
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNESW.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNW.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNW.cur
new file mode 100755
index 00000000..f67aa78d
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNW.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNWSE.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNWSE.cur
new file mode 100755
index 00000000..f67aa78d
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeNWSE.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeRightCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeRightCursor.cur
new file mode 100755
index 00000000..b904bc5c
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeRightCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeSE.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeSE.cur
new file mode 100755
index 00000000..f67aa78d
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeSE.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeSW.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeSW.cur
new file mode 100755
index 00000000..ccaac220
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeSW.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeUpCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeUpCursor.cur
new file mode 100755
index 00000000..bae2c237
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeUpCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeUpDownCursor.cur b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeUpDownCursor.cur
new file mode 100755
index 00000000..bae2c237
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/cursors/resizeUpDownCursor.cur
Binary files differ
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/fi b/loader/src/main/resources/assets/dungeons_guide_loader/fi
deleted file mode 100644
index e69de29b..00000000
--- a/loader/src/main/resources/assets/dungeons_guide_loader/fi
+++ /dev/null
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromacircle.frag b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromacircle.frag
new file mode 100644
index 00000000..25354550
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromacircle.frag
@@ -0,0 +1,27 @@
+#version 120
+
+#define TWO_PI 6.28318530718
+
+uniform float radius;
+uniform vec2 centerPos;
+uniform float smoothness;
+uniform float value;
+
+
+vec3 hsv2rgb(vec3 c) {
+ vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);
+ vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);
+ return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);
+}
+
+void main() {
+ vec2 stuff = gl_FragCoord.xy - centerPos;
+ float sdf = length(stuff)-radius;
+ float saturation = 1.0+(sdf / radius);
+ float clampd = 1.0 - smoothstep(-smoothness, smoothness, sdf);
+ float angle = atan(-stuff.x, -stuff.y) / TWO_PI + 0.5;
+
+ vec3 col = hsv2rgb(vec3(angle, saturation, value));
+
+ gl_FragColor = vec4(col,clampd);
+} \ No newline at end of file
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromaroundrect.frag b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromaroundrect.frag
new file mode 100644
index 00000000..7ddf2db8
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromaroundrect.frag
@@ -0,0 +1,23 @@
+#version 120
+uniform float radius;
+uniform vec2 halfSize;
+uniform vec2 centerPos;
+uniform float smoothness;
+varying vec4 color;
+
+vec3 hsv2rgb(vec3 c)
+{
+ vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);
+ vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);
+ return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);
+}
+
+float roundedBoxSDF(vec2 CenterPosition, vec2 Size, float Radius) {
+ return length(max(abs(CenterPosition)-Size+Radius,0.0))-Radius;
+}
+
+void main() {
+ float distance = roundedBoxSDF(gl_FragCoord.xy - centerPos, halfSize, radius);
+ float smoothedAlpha = smoothstep(-smoothness,0.0, -distance);
+ gl_FragColor = vec4(hsv2rgb(color.rgb), color.a) * vec4(1.0, 1.0, 1.0, smoothedAlpha);
+} \ No newline at end of file
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromaroundrect.vert b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromaroundrect.vert
new file mode 100644
index 00000000..377182c5
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/chromaroundrect.vert
@@ -0,0 +1,19 @@
+#version 120
+
+varying vec4 color;
+
+vec3 rgb2hsv(vec3 c)
+{
+ vec4 K = vec4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0);
+ vec4 p = mix(vec4(c.bg, K.wz), vec4(c.gb, K.xy), step(c.b, c.g));
+ vec4 q = mix(vec4(p.xyw, c.r), vec4(c.r, p.yzx), step(p.x, c.r));
+
+ float d = q.x - min(q.w, q.y);
+ float e = 1.0e-10;
+ return vec3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x);
+}
+
+void main() {
+ gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
+ color = vec4(rgb2hsv(gl_Color.rgb), gl_Color.a);
+} \ No newline at end of file
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/shaders/donut.frag b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/donut.frag
new file mode 100644
index 00000000..cca6bc39
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/donut.frag
@@ -0,0 +1,17 @@
+#version 120
+
+
+uniform float radius;
+uniform float thickness;
+uniform vec2 centerPos;
+uniform float smoothness;
+
+
+
+void main() {
+ vec2 stuff = gl_FragCoord.xy - centerPos;
+ float sdf = abs(length(stuff)-radius);
+ float clampd = 1.0 - smoothstep(thickness, thickness+smoothness, sdf);
+
+ gl_FragColor = gl_Color * vec4(1.0, 1.0, 1.0, clampd);
+} \ No newline at end of file
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/shaders/roundrect.frag b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/roundrect.frag
new file mode 100644
index 00000000..95649cf4
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/roundrect.frag
@@ -0,0 +1,17 @@
+#version 120
+uniform float radius;
+uniform vec2 halfSize;
+uniform vec2 centerPos;
+uniform float smoothness;
+varying vec4 color;
+
+
+float roundedBoxSDF(vec2 CenterPosition, vec2 Size, float Radius) {
+ return length(max(abs(CenterPosition)-Size+Radius,0.0))-Radius;
+}
+
+void main() {
+ float distance = roundedBoxSDF(gl_FragCoord.xy - centerPos, halfSize, radius);
+ float smoothedAlpha = smoothstep(-smoothness,0.0, -distance);
+ gl_FragColor = color * vec4(1.0, 1.0, 1.0, smoothedAlpha);
+} \ No newline at end of file
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/shaders/roundrect.vert b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/roundrect.vert
new file mode 100644
index 00000000..7a2ec153
--- /dev/null
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/shaders/roundrect.vert
@@ -0,0 +1,8 @@
+#version 120
+
+varying vec4 color;
+
+void main() {
+ gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
+ color = gl_Color;
+} \ No newline at end of file
diff --git a/loader/src/main/resources/isrgrootx1.der b/loader/src/main/resources/isrgrootx1.der
new file mode 100644
index 00000000..9d2132e7
--- /dev/null
+++ b/loader/src/main/resources/isrgrootx1.der
Binary files differ