From 8d0e825157ad484daeae9c5027154cea8890a21a Mon Sep 17 00:00:00 2001 From: Quinn Date: Thu, 13 Nov 2025 22:24:09 +0100 Subject: [PATCH] rewrite copyright file header to provide more information about where the file is from. --- .clang-format | 5 +++-- .editorconfig | 5 +++-- .gitignore | 5 +++-- .gitmodules | 5 +++++ Makefile | 6 ++++-- src/dat/mcx.c | 5 +++-- src/dat/mcx.h | 5 +++-- src/dat/nbt.c | 5 +++-- src/dat/nbt.h | 5 +++-- src/io/input.c | 5 +++-- src/io/input.h | 5 +++-- src/io/render.c | 5 +++-- src/io/render.h | 5 +++-- src/io/render/mapcolour.c | 5 +++-- src/io/render/mapcolour.h | 5 +++-- src/io/shader.c | 5 +++-- src/io/shader.h | 5 +++-- src/io/window.c | 5 +++-- src/io/window.h | 5 +++-- src/main.c | 5 +++-- src/types.h | 5 +++-- src/util/atrb.h | 5 +++-- src/util/compat/io.h | 5 +++-- src/util/compat/os.h | 5 +++-- src/util/conf.c | 5 +++-- src/util/conf.h | 5 +++-- src/util/error.c | 5 +++-- src/util/error.h | 5 +++-- src/util/macro.h | 5 +++-- src/util/util.h | 5 +++-- src/util/vec.h | 5 +++-- test/main.c | 5 +++-- test/test.c | 5 +++-- test/test.h | 5 +++-- test/test_conf.c | 5 +++-- test/test_conf.h | 5 +++-- 36 files changed, 111 insertions(+), 70 deletions(-) diff --git a/.clang-format b/.clang-format index 60fb2d9..36e9a73 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,6 @@ -# Copyright (c) 2025 Quinn -# Licensed under the MIT Licence. See LICENSE for details +# Copyright (c) 2025 Quinn. +# This is a file from the project MCA-Selector-Lite and is +# licensed under the MIT Licence. See included LICENSE file for details. # --- # --------------------------- diff --git a/.editorconfig b/.editorconfig index 364f0b8..af70179 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,6 @@ -# Copyright (c) 2025 Quinn -# Licensed under the MIT Licence. See LICENSE for details +# Copyright (c) 2025 Quinn. +# This is a file from the project MCA-Selector-Lite and is +# licensed under the MIT Licence. See included LICENSE file for details. [*] charset = utf-8 diff --git a/.gitignore b/.gitignore index c3e3615..ed5290c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ -# Copyright (c) 2025 Quinn -# Licensed under the MIT Licence. See LICENSE for details +# Copyright (c) 2025 Quinn. +# This is a file from the project MCA-Selector-Lite and is +# licensed under the MIT Licence. See included LICENSE file for details. # ignore all dotfiles by default .* diff --git a/.gitmodules b/.gitmodules index f771f6d..2af95d2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,11 @@ +# Copyright (c) 2025 Quinn. +# This is a file from the project MCA-Selector-Lite and is +# licensed under the MIT Licence. See included LICENSE file for details. + [submodule "lib/glfw"] path = lib/glfw url = https://github.com/glfw/glfw + [submodule "lib/libarchive"] path = lib/libarchive url = https://github.com/libarchive/libarchive diff --git a/Makefile b/Makefile index 9c46f97..be69641 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ -# Copyright (c) 2025 Quinn -# Licensed under the MIT Licence. See LICENSE for details +# Copyright (c) 2025 Quinn. +# This is a file from the project MCA-Selector-Lite and is +# licensed under the MIT Licence. See included LICENSE file for details. + SHELL = /bin/sh .SUFFIXES: diff --git a/src/dat/mcx.c b/src/dat/mcx.c index fcc3d04..3794023 100644 --- a/src/dat/mcx.c +++ b/src/dat/mcx.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include "mcx.h" #include diff --git a/src/dat/mcx.h b/src/dat/mcx.h index efc63ba..c28e28c 100644 --- a/src/dat/mcx.h +++ b/src/dat/mcx.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #include diff --git a/src/dat/nbt.c b/src/dat/nbt.c index 1ab8387..7424acf 100644 --- a/src/dat/nbt.c +++ b/src/dat/nbt.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include "nbt.h" #include diff --git a/src/dat/nbt.h b/src/dat/nbt.h index 0d8a835..d3ffa93 100644 --- a/src/dat/nbt.h +++ b/src/dat/nbt.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #include diff --git a/src/io/input.c b/src/io/input.c index f3a8de2..e1d4189 100644 --- a/src/io/input.c +++ b/src/io/input.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include "input.h" #include diff --git a/src/io/input.h b/src/io/input.h index b5d227c..5b397a4 100644 --- a/src/io/input.h +++ b/src/io/input.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #include diff --git a/src/io/render.c b/src/io/render.c index 0804f88..3040967 100644 --- a/src/io/render.c +++ b/src/io/render.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include "render.h" #include diff --git a/src/io/render.h b/src/io/render.h index b54e9bf..00bdb93 100644 --- a/src/io/render.h +++ b/src/io/render.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #include diff --git a/src/io/render/mapcolour.c b/src/io/render/mapcolour.c index 96d4d00..ea12d0a 100644 --- a/src/io/render/mapcolour.c +++ b/src/io/render/mapcolour.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include "mapcolour.h" #include "../../util/vec.h" diff --git a/src/io/render/mapcolour.h b/src/io/render/mapcolour.h index 75aff0a..0c2ac3e 100644 --- a/src/io/render/mapcolour.h +++ b/src/io/render/mapcolour.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #include "../../util/vec.h" diff --git a/src/io/shader.c b/src/io/shader.c index 037f3a9..aa1372a 100644 --- a/src/io/shader.c +++ b/src/io/shader.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include "shader.h" #include diff --git a/src/io/shader.h b/src/io/shader.h index 023595b..068f739 100644 --- a/src/io/shader.h +++ b/src/io/shader.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #include diff --git a/src/io/window.c b/src/io/window.c index fbed2e3..d416e10 100644 --- a/src/io/window.c +++ b/src/io/window.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include "window.h" #include diff --git a/src/io/window.h b/src/io/window.h index 90b3f85..4b5da1a 100644 --- a/src/io/window.h +++ b/src/io/window.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once /* Set up the window, enabling OpenGL, and diff --git a/src/main.c b/src/main.c index 67f28ca..d113d40 100644 --- a/src/main.c +++ b/src/main.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include #include #include diff --git a/src/types.h b/src/types.h index d48738b..f770034 100644 --- a/src/types.h +++ b/src/types.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once typedef signed long long int llong; diff --git a/src/util/atrb.h b/src/util/atrb.h index 21cc56b..901eea4 100644 --- a/src/util/atrb.h +++ b/src/util/atrb.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #if defined(__GNUC__) diff --git a/src/util/compat/io.h b/src/util/compat/io.h index 0d52f2c..6a54736 100644 --- a/src/util/compat/io.h +++ b/src/util/compat/io.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #if defined __unix__ diff --git a/src/util/compat/os.h b/src/util/compat/os.h index 8af6976..a2fa7cd 100644 --- a/src/util/compat/os.h +++ b/src/util/compat/os.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #if defined(__unix__) diff --git a/src/util/conf.c b/src/util/conf.c index b8a2370..d1a1695 100644 --- a/src/util/conf.c +++ b/src/util/conf.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include "conf.h" #include diff --git a/src/util/conf.h b/src/util/conf.h index f8885b0..906ca8f 100644 --- a/src/util/conf.h +++ b/src/util/conf.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #include diff --git a/src/util/error.c b/src/util/error.c index fb9dd89..cfea6ee 100644 --- a/src/util/error.c +++ b/src/util/error.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include "error.h" #include diff --git a/src/util/error.h b/src/util/error.h index d179028..afbb74a 100644 --- a/src/util/error.h +++ b/src/util/error.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #include diff --git a/src/util/macro.h b/src/util/macro.h index e368de3..450ee6c 100644 --- a/src/util/macro.h +++ b/src/util/macro.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #define WIDTHOF(t) (sizeof(t) * 8) // gets the bit width of a type diff --git a/src/util/util.h b/src/util/util.h index 266f8b8..f289668 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once /* Acquires the next power of two of value `x`. diff --git a/src/util/vec.h b/src/util/vec.h index 1ebe933..0211acf 100644 --- a/src/util/vec.h +++ b/src/util/vec.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #include "../types.h" diff --git a/test/main.c b/test/main.c index a8c4738..8551609 100644 --- a/test/main.c +++ b/test/main.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include #include diff --git a/test/test.c b/test/test.c index 4cf7e5b..e034a5c 100644 --- a/test/test.c +++ b/test/test.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include "test.h" #include "../src/types.h" diff --git a/test/test.h b/test/test.h index b259e78..d8bcfd9 100644 --- a/test/test.h +++ b/test/test.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #include diff --git a/test/test_conf.c b/test/test_conf.c index 48867ef..2cbb096 100644 --- a/test/test_conf.c +++ b/test/test_conf.c @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #include "test_conf.h" #include diff --git a/test/test_conf.h b/test/test_conf.h index 90f74c9..7fc6b80 100644 --- a/test/test_conf.h +++ b/test/test_conf.h @@ -1,5 +1,6 @@ -/* Copyright (c) 2025 Quinn - * Licensed under the MIT Licence. See LICENSE for details */ +/* Copyright (c) 2025 Quinn. + * This is a file from the project MCA-Selector-Lite and is + * licensed under the MIT Licence. See included LICENSE file for details. */ #pragma once #include "../src/types.h"