From e7966cac80774c620de4c012f2512242b6f3da79 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sat, 14 Nov 2026 21:39:40 +0100 Subject: [PATCH] Add license --- LICENSE | 21 +++++++++++++++++++++ src/base/arena.odin | 6 ++++++ src/base/base.odin | 6 ++++++ src/base/event.odin | 6 ++++++ src/base/hot_reload.odin | 6 ++++++ src/base/keycodes.odin | 6 ++++++ src/base/settings.odin | 6 ++++++ src/base/types.odin | 6 ++++++ src/core/api.odin | 6 ++++++ src/core/assets.odin | 6 ++++++ src/core/input.odin | 6 ++++++ src/core/obj.odin | 6 ++++++ src/core/things.odin | 6 ++++++ src/main.odin | 6 ++++++ src/platform/glfw.odin | 6 ++++++ src/platform/signals.odin | 6 ++++++ src/platform/wgpu.odin | 6 ++++++ src/platform/wgpu_reflect.odin | 6 ++++++ 18 files changed, 123 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1b0277d --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Riyyi + +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. diff --git a/src/base/arena.odin b/src/base/arena.odin index 72a8968..fb79740 100644 --- a/src/base/arena.odin +++ b/src/base/arena.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package base import "base:runtime" diff --git a/src/base/base.odin b/src/base/base.odin index f04d0ef..26f313d 100644 --- a/src/base/base.odin +++ b/src/base/base.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package base should_close: bool diff --git a/src/base/event.odin b/src/base/event.odin index 6b5e616..3c063cf 100644 --- a/src/base/event.odin +++ b/src/base/event.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package base import "base:intrinsics" diff --git a/src/base/hot_reload.odin b/src/base/hot_reload.odin index 05a5974..173f0ea 100644 --- a/src/base/hot_reload.odin +++ b/src/base/hot_reload.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package base import "base:runtime" diff --git a/src/base/keycodes.odin b/src/base/keycodes.odin index 252e7b8..57ff52a 100644 --- a/src/base/keycodes.odin +++ b/src/base/keycodes.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package base // ----------------------------------------- diff --git a/src/base/settings.odin b/src/base/settings.odin index 6a79a3f..7deafe6 100644 --- a/src/base/settings.odin +++ b/src/base/settings.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package base // ----------------------------------------- diff --git a/src/base/types.odin b/src/base/types.odin index 3eaee44..3e41082 100644 --- a/src/base/types.odin +++ b/src/base/types.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package base // ----------------------------------------- diff --git a/src/core/api.odin b/src/core/api.odin index 99a986f..5b24a90 100644 --- a/src/core/api.odin +++ b/src/core/api.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package core import "sindri:base" diff --git a/src/core/assets.odin b/src/core/assets.odin index 814f8f8..1cbd690 100644 --- a/src/core/assets.odin +++ b/src/core/assets.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package core import "base:runtime" diff --git a/src/core/input.odin b/src/core/input.odin index b75e8ce..f724108 100644 --- a/src/core/input.odin +++ b/src/core/input.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package core import "sindri:base" diff --git a/src/core/obj.odin b/src/core/obj.odin index 099d0b8..b095a8c 100644 --- a/src/core/obj.odin +++ b/src/core/obj.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package core import "core:fmt" diff --git a/src/core/things.odin b/src/core/things.odin index 8ce0498..7546a8f 100644 --- a/src/core/things.odin +++ b/src/core/things.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + // Large Array of Things // - Fixed size arrays and handles // - ZII (Zero Is Initialization) and NIL over null diff --git a/src/main.odin b/src/main.odin index 3208c67..4e92c20 100644 --- a/src/main.odin +++ b/src/main.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package sindri import "core:fmt" diff --git a/src/platform/glfw.odin b/src/platform/glfw.odin index 40bd73c..fb4d9fa 100644 --- a/src/platform/glfw.odin +++ b/src/platform/glfw.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package platform import "base:intrinsics" diff --git a/src/platform/signals.odin b/src/platform/signals.odin index 43e62bb..ed62c9b 100644 --- a/src/platform/signals.odin +++ b/src/platform/signals.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package platform import "base:intrinsics" diff --git a/src/platform/wgpu.odin b/src/platform/wgpu.odin index 8854aee..6237409 100644 --- a/src/platform/wgpu.odin +++ b/src/platform/wgpu.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package platform import "base:runtime" diff --git a/src/platform/wgpu_reflect.odin b/src/platform/wgpu_reflect.odin index bd600d0..446d92a 100644 --- a/src/platform/wgpu_reflect.odin +++ b/src/platform/wgpu_reflect.odin @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2026 Riyyi + * + * SPDX-License-Identifier: MIT + */ + package platform import "core:fmt"