Skip to content

Commit

Permalink
Add the Kore submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Feb 21, 2025
1 parent 90df259 commit 81218df
Show file tree
Hide file tree
Showing 32 changed files with 52 additions and 37 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "Kore"]
path = Kore
url = https://github.com/Kode/Kore.git
branch = v3
2 changes: 1 addition & 1 deletion 00_empty/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 01_triangle/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 02_matrix/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 03_colored_cube/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('ColoredCube');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 04_textured_cube/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 05_camera_controls/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 06_render_targets/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('RenderTargets');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 07_multiple_render_targets/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 08_float_render_targets/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 09_depth_render_targets/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('DepthRenderTargets');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 10_cubemap/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('CubeMap');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 11_instanced_rendering/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 12_set_render_target_depth/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 13_generate_mipmaps/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 14_set_mipmap/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion 15_deinterleaved_buffers/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Example');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion Bindless/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('TextureTest');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion ComputeShader/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Compute');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion ComputeShaderAsync/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('ComputeAsync');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
1 change: 1 addition & 0 deletions Kore
Submodule Kore added at 0f631d
9 changes: 0 additions & 9 deletions LICENSE.md

This file was deleted.

2 changes: 1 addition & 1 deletion MultiWindow/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('MultiWindow');

await project.addProject('../Kinc');
await project.addProject('../Kore');

project.addFile('Sources/**');
project.addFile('Shaders/**');
Expand Down
2 changes: 1 addition & 1 deletion PlayVideo/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('PlayVideo');

await project.addProject('../Kinc');
await project.addProject('../Kore');

project.addFile('Sources/**');
project.addFile('Shaders/**');
Expand Down
2 changes: 1 addition & 1 deletion Raytracing/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('Raytracing');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion RuntimeShaderCompilation/kfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const project = new Project('ShaderTest');
const krafix = await project.addProject('krafix');
krafix.useAsLibrary();

await project.addProject('../Kinc');
await project.addProject('../Kore');

project.addFile('Sources/**');
project.setDebugDir('Deployment');
Expand Down
2 changes: 1 addition & 1 deletion Shader/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('ShaderTest');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion Texture/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('TextureTest');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion TextureArray/kfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const project = new Project('TextureArray');

await project.addProject('../Kinc', {kong: true, kope: true});
await project.addProject('../Kore', {kong: true, kope: true});

project.addFile('Sources/**');
project.addKongDir('Shaders');
Expand Down
2 changes: 1 addition & 1 deletion get_dlc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

git -C `dirname "$0"` submodule update --init
bash `dirname "$0"`/Kinc/get_dlc
bash `dirname "$0"`/Kore/get_dlc
2 changes: 1 addition & 1 deletion get_dlc.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@git -C %~dp0 submodule update --init
@call %~dp0\Kinc\get_dlc.bat
@call %~dp0\Kore\get_dlc.bat
19 changes: 19 additions & 0 deletions license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2025 the Kore Development Team

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.

3. This notice may not be removed or altered from any source distribution.

0 comments on commit 81218df

Please sign in to comment.