Whole project

This commit is contained in:
Gnarwhal 2024-08-07 05:01:16 +00:00
parent c737011314
commit a509a049b9
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
78 changed files with 3671 additions and 93 deletions

1
res/audio/harp.ceoil Normal file
View file

@ -0,0 +1 @@
3,0,0,0,115,16,4,3,46,0,4,128,0,256,46,0,4,128,0,113,56,0,2,128,0,73,15,0,0,0,4,1,36,4,0,0,0,0,0,1,4,13,36,1,2,0,36,1,3,0,36,1,5,0,36,1,6,0,36,1,7,0,36,1,8,0,36,1,9,0,36,1,10,0,36,1,11,0,36,1,12,0,36,1,13,0,36,1,15,0,37,1,14,0,0,0,0,0,4,3,36,4,0,0,36,2,13,0,36,2,10,0,0,0,0,1,4,13,36,1,2,0,36,1,3,0,36,1,5,0,36,1,7,0,36,1,9,0,36,1,11,0,36,1,12,0,37,1,14,0,39,1,15,0,36,1,13,0,36,1,10,0,36,1,8,0,36,1,6,0,0,0,0,1,4,13,36,1,2,0,36,1,3,0,36,1,5,0,36,1,6,0,36,1,7,0,36,1,8,0,36,1,9,0,36,1,10,0,36,1,11,0,36,1,12,0,34,1,13,0,36,1,14,0,37,1,15,0,0,0,0,0,4,7,36,4,0,0,37,4,4,0,39,4,8,0,41,1,12,0,48,1,15,0,43,1,13,0,46,1,14,0,0,0,0,0,4,3,36,4,0,0,36,2,10,0,36,2,13,0,0,0,0,0,4,8,36,4,0,0,43,1,4,0,41,1,5,0,43,6,6,0,41,1,12,0,39,1,13,0,41,1,14,0,43,1,15,0,0,0,0,0,4,12,46,1,1,0,48,1,3,0,38,1,6,0,39,1,5,0,36,3,7,0,34,1,10,0,51,1,5,0,50,1,6,0,48,3,7,0,46,1,10,0,48,1,13,0,36,1,13,0,0,0,0,1,4,15,36,1,0,0,36,1,1,0,36,1,3,0,36,1,4,0,36,1,6,0,36,1,7,0,36,1,10,0,36,1,9,0,36,1,12,0,36,1,13,0,36,1,15,0,48,1,12,0,48,1,13,0,60,1,9,0,60,1,10,0,0,0,0,1,4,3,55,1,0,0,56,4,2,0,55,4,6,0,0,0,0,1,4,3,48,1,13,0,48,1,14,0,36,4,0,0,0,0,0,1,4,3,55,1,0,0,56,4,2,0,55,4,6,0,0,0,0,1,4,4,60,1,0,0,60,1,1,0,60,1,3,0,60,1,6,0,0,0,0,1,4,4,48,1,0,0,48,1,1,0,48,1,3,0,48,1,6,0,0,20,0,20,0,1,-1,-1,-1,-1,-1,-1,0,1,-1,-1,-1,-1,-1,-1,0,3,-1,-1,-1,-1,-1,-1,0,4,-1,-1,-1,-1,-1,-1,2,1,-1,-1,-1,-1,-1,-1,0,1,-1,-1,-1,-1,-1,-1,5,3,-1,-1,-1,-1,-1,-1,6,1,-1,-1,-1,-1,-1,-1,6,1,-1,-1,-1,-1,-1,-1,0,1,-1,-1,-1,-1,-1,-1,7,3,-1,-1,-1,-1,-1,-1,8,4,-1,-1,-1,-1,-1,-1,9,1,-1,-1,-1,-1,-1,-1,10,1,-1,-1,-1,-1,-1,-1,11,3,-1,-1,-1,-1,-1,-1,12,4,-1,-1,-1,-1,-1,-1,13,1,-1,-1,-1,-1,-1,-1,14,1,-1,-1,-1,-1,-1,-1,0,3,-1,-1,-1,-1,-1,-1,0,4,-1,-1,-1,-1,-1,-1,

BIN
res/audio/harp.wav Normal file

Binary file not shown.

BIN
res/img/Background.png Normal file

Binary file not shown.

After

(image error) Size: 155 B

BIN
res/img/Continue.png Normal file

Binary file not shown.

After

(image error) Size: 32 KiB

BIN
res/img/Info1.png Normal file

Binary file not shown.

After

(image error) Size: 108 KiB

BIN
res/img/Info1Glow.png Normal file

Binary file not shown.

After

(image error) Size: 38 KiB

BIN
res/img/Info2.png Normal file

Binary file not shown.

After

(image error) Size: 129 KiB

BIN
res/img/Info2Glow.png Normal file

Binary file not shown.

After

(image error) Size: 13 KiB

BIN
res/img/InfoBorder.png Normal file

Binary file not shown.

After

(image error) Size: 37 KiB

BIN
res/img/IntroLevel.png Normal file

Binary file not shown.

After

(image error) Size: 80 KiB

BIN
res/img/Level1.png Normal file

Binary file not shown.

After

(image error) Size: 60 KiB

BIN
res/img/Level2.png Normal file

Binary file not shown.

After

(image error) Size: 106 KiB

BIN
res/img/Pinball.png Normal file

Binary file not shown.

After

(image error) Size: 12 KiB

Binary file not shown.

After

(image error) Size: 42 KiB

BIN
res/img/StartingGlow.png Normal file

Binary file not shown.

After

(image error) Size: 32 KiB

BIN
res/img/StartingNonglow.png Normal file

Binary file not shown.

After

(image error) Size: 38 KiB

BIN
res/img/Win.png Normal file

Binary file not shown.

After

(image error) Size: 44 KiB

BIN
res/img/WinGlow.png Normal file

Binary file not shown.

After

(image error) Size: 87 KiB

View file

@ -0,0 +1,53 @@
/*******************************************************************************
*
* Copyright (c) 2018 Gnarly Narwhal
*
* -----------------------------------------------------------------------------
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files(the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*******************************************************************************/
#version 330 core
uniform vec2 resolution;
uniform sampler2D tex;
uniform sampler2D background;
uniform bool horizontal = true;
uniform float brightness = 0.55;
uniform float distance = 15.0;
in vec2 texCoords;
layout (location = 0) out vec4 color;
void main() {
vec2 pixel = 1.0 / resolution;
int numPixels = int(distance * resolution.y / 1080.0);
float weight = 1.0 / numPixels;
vec2 transform = vec2(pixel.x * int(horizontal), pixel.y * int(!horizontal));
color = texture(tex, texCoords);
vec3 result = texture(tex, texCoords).rgb * weight;
for(int i = 1; i < numPixels; ++i) {
result += texture(tex, texCoords + transform * i).rgb * weight;
result += texture(tex, texCoords - transform * i).rgb * weight;
}
color.rgb = mix(result, texture(background, vec2(texCoords.x, 1.0 - texCoords.y)).rgb, 1 - brightness);
}

View file

@ -0,0 +1,37 @@
/*******************************************************************************
*
* Copyright (c) 2018 Gnarly Narwhal
*
* -----------------------------------------------------------------------------
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files(the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*******************************************************************************/
#version 330 core
layout (location = 0) in vec3 vertices;
layout (location = 1) in vec2 textureCoords;
out vec2 texCoords;
void main() {
gl_Position = vec4(vertices, 1);
texCoords = textureCoords;
}

View file

@ -0,0 +1,38 @@
/*******************************************************************************
*
* Copyright (c) 2018 Gnarly Narwhal
*
* -----------------------------------------------------------------------------
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files(the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*******************************************************************************/
#version 330 core
uniform vec4 inputColor = vec4(1, 0.5, 0.9, 1);
uniform sampler2D tex;
in vec2 texCoords;
layout (location = 0) out vec4 color;
void main() {
color = texture(tex, texCoords) * inputColor;
}

View file

@ -0,0 +1,39 @@
/*******************************************************************************
*
* Copyright (c) 2018 Gnarly Narwhal
*
* -----------------------------------------------------------------------------
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files(the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*******************************************************************************/
#version 330 core
uniform mat4 mvp;
layout (location = 0) in vec3 vertices;
layout (location = 1) in vec2 textureCoords;
out vec2 texCoords;
void main() {
gl_Position = mvp * vec4(vertices, 1);
texCoords = textureCoords;
}