aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorMoulberry <james.jenour@student.scotch.wa.edu.au>2020-11-23 03:34:12 +1100
committerMoulberry <james.jenour@student.scotch.wa.edu.au>2020-11-23 03:34:12 +1100
commit089bac89c5435eb7e5cf80e7602da953a65f5b1a (patch)
treeea6aea2afc38f6ef02884f0c3babdc5ed86058bb /src/main/resources
parent07403ec86c53f67b94d988b4c01a0afc2fdb2810 (diff)
downloadNotEnoughUpdates-089bac89c5435eb7e5cf80e7602da953a65f5b1a.tar.gz
NotEnoughUpdates-089bac89c5435eb7e5cf80e7602da953a65f5b1a.tar.bz2
NotEnoughUpdates-089bac89c5435eb7e5cf80e7602da953a65f5b1a.zip
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/assets/notenoughupdates/calendar/background.pngbin0 -> 6052 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/calendar/displaybar.pngbin0 -> 1389 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/calendar/toast.pngbin0 -> 1505 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/contrib_preview.pngbin0 -> 182965 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/fade_preview.pngbin0 -> 18824 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/gravy_preview.pngbin0 -> 46719 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/lava_preview.pngbin0 -> 48947 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/mbstaff_preview.pngbin0 -> 46832 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/mcworld_preview.pngbin0 -> 52375 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/nullzee_preview.pngbin0 -> 85132 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/packshq_preview.pngbin0 -> 19105 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/patreon1_preview.pngbin0 -> 36547 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/patreon2_preview.pngbin0 -> 35918 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/space_preview.pngbin0 -> 234303 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/thebakery.pngbin0 -> 537705 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/capes/thebakery_preview.pngbin0 -> 101986 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/shaders/biscuit_cape.frag36
-rw-r--r--src/main/resources/assets/notenoughupdates/shaders/biscuit_cape.vert12
-rw-r--r--src/main/resources/assets/notenoughupdates/shaders/shiny_cape.frag26
-rw-r--r--src/main/resources/assets/notenoughupdates/shaders/shiny_cape.vert12
-rw-r--r--src/main/resources/assets/notenoughupdates/slider_off_large.pngbin0 -> 2008 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/slider_on_large.pngbin0 -> 2094 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/sounds.json23
-rw-r--r--src/main/resources/assets/notenoughupdates/sounds/in.oggbin0 -> 20040 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/sounds/jingle.oggbin0 -> 10846 bytes
-rw-r--r--src/main/resources/assets/notenoughupdates/sounds/out.oggbin0 -> 19939 bytes
26 files changed, 109 insertions, 0 deletions
diff --git a/src/main/resources/assets/notenoughupdates/calendar/background.png b/src/main/resources/assets/notenoughupdates/calendar/background.png
new file mode 100644
index 00000000..95d23640
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/calendar/background.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/calendar/displaybar.png b/src/main/resources/assets/notenoughupdates/calendar/displaybar.png
new file mode 100644
index 00000000..12ffd858
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/calendar/displaybar.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/calendar/toast.png b/src/main/resources/assets/notenoughupdates/calendar/toast.png
new file mode 100644
index 00000000..e0dffdb4
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/calendar/toast.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/contrib_preview.png b/src/main/resources/assets/notenoughupdates/capes/contrib_preview.png
new file mode 100644
index 00000000..73ae1e0c
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/contrib_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/fade_preview.png b/src/main/resources/assets/notenoughupdates/capes/fade_preview.png
new file mode 100644
index 00000000..87f169a0
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/fade_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/gravy_preview.png b/src/main/resources/assets/notenoughupdates/capes/gravy_preview.png
new file mode 100644
index 00000000..5a0ad33a
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/gravy_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/lava_preview.png b/src/main/resources/assets/notenoughupdates/capes/lava_preview.png
new file mode 100644
index 00000000..b5f8fdae
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/lava_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/mbstaff_preview.png b/src/main/resources/assets/notenoughupdates/capes/mbstaff_preview.png
new file mode 100644
index 00000000..e52700b7
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/mbstaff_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/mcworld_preview.png b/src/main/resources/assets/notenoughupdates/capes/mcworld_preview.png
new file mode 100644
index 00000000..31f0a2bf
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/mcworld_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/nullzee_preview.png b/src/main/resources/assets/notenoughupdates/capes/nullzee_preview.png
new file mode 100644
index 00000000..f34bec5f
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/nullzee_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/packshq_preview.png b/src/main/resources/assets/notenoughupdates/capes/packshq_preview.png
new file mode 100644
index 00000000..3db5be95
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/packshq_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/patreon1_preview.png b/src/main/resources/assets/notenoughupdates/capes/patreon1_preview.png
new file mode 100644
index 00000000..7dc0c845
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/patreon1_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/patreon2_preview.png b/src/main/resources/assets/notenoughupdates/capes/patreon2_preview.png
new file mode 100644
index 00000000..6aadaa18
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/patreon2_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/space_preview.png b/src/main/resources/assets/notenoughupdates/capes/space_preview.png
new file mode 100644
index 00000000..a5e0c008
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/space_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/thebakery.png b/src/main/resources/assets/notenoughupdates/capes/thebakery.png
new file mode 100644
index 00000000..8d4ca440
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/thebakery.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/capes/thebakery_preview.png b/src/main/resources/assets/notenoughupdates/capes/thebakery_preview.png
new file mode 100644
index 00000000..f80b85aa
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/capes/thebakery_preview.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/shaders/biscuit_cape.frag b/src/main/resources/assets/notenoughupdates/shaders/biscuit_cape.frag
new file mode 100644
index 00000000..e3f7feba
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/shaders/biscuit_cape.frag
@@ -0,0 +1,36 @@
+#version 120
+
+varying vec4 passColour;
+varying vec3 passNormal;
+uniform sampler2D textureIn;
+
+uniform int millis;
+uniform int eventMillis;
+
+void main() {
+ vec4 texture = texture2D(textureIn, gl_TexCoord[0].st);
+
+ float t = gl_TexCoord[0].t;
+ t = clamp(t, 10.0f/1024.0f, 410.0f/1024.0f);
+
+ float index = mod(millis/30.0f-t*1024.0f, 1024.0f);
+ float xIndex = mod(index, 1024.0f);
+ float yIndex = mod(gl_TexCoord[0].s*1024.0f+millis/500.0f, 421.0f)+421.0f;
+ vec3 lava = texture2D(textureIn, vec2(xIndex/1024.0f, yIndex/1024.0f)).xyz;
+
+ if(eventMillis < 350) {
+ float scroll = (gl_TexCoord[0].s*1024.0f+gl_TexCoord[0].t*1024.0f);
+ float factor = (10 - abs(scroll - eventMillis*2))/20.0f;
+ if(factor > 0) {
+ lava += vec3(factor, factor, factor);
+ }
+ }
+
+ gl_FragColor = vec4(texture.rgb*texture.a + lava*(1.0f-texture.a), 1.0f) * passColour;
+
+ vec3 fakeSunNormal = normalize(vec3(0.2f,1.0f,-0.2f));
+ vec3 normNormal = normalize(passNormal);
+ float shading = max(0.6f, dot(fakeSunNormal, normNormal));
+
+ gl_FragColor = vec4(gl_FragColor.rgb*shading, gl_FragColor.a);
+}
diff --git a/src/main/resources/assets/notenoughupdates/shaders/biscuit_cape.vert b/src/main/resources/assets/notenoughupdates/shaders/biscuit_cape.vert
new file mode 100644
index 00000000..2b5c48f8
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/shaders/biscuit_cape.vert
@@ -0,0 +1,12 @@
+#version 120
+
+varying vec4 passColour;
+varying vec3 passNormal;
+
+void main() {
+ gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
+ gl_TexCoord[0] = gl_MultiTexCoord0;
+
+ passColour = gl_Color;
+ passNormal = normalize(gl_Normal);
+} \ No newline at end of file
diff --git a/src/main/resources/assets/notenoughupdates/shaders/shiny_cape.frag b/src/main/resources/assets/notenoughupdates/shaders/shiny_cape.frag
new file mode 100644
index 00000000..77e2c5eb
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/shaders/shiny_cape.frag
@@ -0,0 +1,26 @@
+#version 120
+
+varying vec4 passColour;
+varying vec3 passNormal;
+uniform sampler2D textureIn;
+
+uniform int millis;
+uniform int eventMillis;
+
+void main() {
+ gl_FragColor = texture2D(textureIn, gl_TexCoord[0].st) * passColour;
+
+ if(eventMillis < 350 && gl_TexCoord[0].s < 512 && gl_TexCoord[0].t < 512) {
+ float scroll = (gl_TexCoord[0].s*1024.0f+gl_TexCoord[0].t*1024.0f);
+ float factor = (10 - abs(scroll - eventMillis*2))/40.0f;
+ if(factor > 0) {
+ gl_FragColor.rgb += vec3(factor+0.25f, factor+0.25f, factor+0.25f);
+ }
+ }
+
+ vec3 fakeSunNormal = normalize(vec3(0.2f,1.0f,-0.2f));
+ vec3 normNormal = normalize(passNormal);
+ float shading = max(0.6f, dot(fakeSunNormal, normNormal));
+
+ gl_FragColor = vec4(gl_FragColor.rgb*shading, gl_FragColor.a);
+} \ No newline at end of file
diff --git a/src/main/resources/assets/notenoughupdates/shaders/shiny_cape.vert b/src/main/resources/assets/notenoughupdates/shaders/shiny_cape.vert
new file mode 100644
index 00000000..2b5c48f8
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/shaders/shiny_cape.vert
@@ -0,0 +1,12 @@
+#version 120
+
+varying vec4 passColour;
+varying vec3 passNormal;
+
+void main() {
+ gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
+ gl_TexCoord[0] = gl_MultiTexCoord0;
+
+ passColour = gl_Color;
+ passNormal = normalize(gl_Normal);
+} \ No newline at end of file
diff --git a/src/main/resources/assets/notenoughupdates/slider_off_large.png b/src/main/resources/assets/notenoughupdates/slider_off_large.png
new file mode 100644
index 00000000..7c5fd825
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/slider_off_large.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/slider_on_large.png b/src/main/resources/assets/notenoughupdates/slider_on_large.png
new file mode 100644
index 00000000..ef821f16
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/slider_on_large.png
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/sounds.json b/src/main/resources/assets/notenoughupdates/sounds.json
new file mode 100644
index 00000000..47b0ba1b
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/sounds.json
@@ -0,0 +1,23 @@
+{
+ "calendar_notif_jingle":{
+ "category": "master",
+ "sounds": [{
+ "name": "jingle",
+ "stream": false
+ }]
+ },
+ "calendar_notif_in":{
+ "category": "master",
+ "sounds": [{
+ "name": "in",
+ "stream": false
+ }]
+ },
+ "calendar_notif_out":{
+ "category": "master",
+ "sounds": [{
+ "name": "out",
+ "stream": false
+ }]
+ }
+} \ No newline at end of file
diff --git a/src/main/resources/assets/notenoughupdates/sounds/in.ogg b/src/main/resources/assets/notenoughupdates/sounds/in.ogg
new file mode 100644
index 00000000..5ec26ffc
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/sounds/in.ogg
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/sounds/jingle.ogg b/src/main/resources/assets/notenoughupdates/sounds/jingle.ogg
new file mode 100644
index 00000000..bd3c2643
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/sounds/jingle.ogg
Binary files differ
diff --git a/src/main/resources/assets/notenoughupdates/sounds/out.ogg b/src/main/resources/assets/notenoughupdates/sounds/out.ogg
new file mode 100644
index 00000000..78d4b72f
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/sounds/out.ogg
Binary files differ