rewrite copyright file header to provide more information about where the file is from.

This commit is contained in:
2025-11-13 22:24:09 +01:00
parent 5f909d1d65
commit 8d0e825157
36 changed files with 111 additions and 70 deletions

View File

@@ -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.
#
---
# ---------------------------

View File

@@ -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

5
.gitignore vendored
View File

@@ -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
.*

5
.gitmodules vendored
View File

@@ -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

View File

@@ -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:

View File

@@ -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 <archive.h>

View File

@@ -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 <stdlib.h>

View File

@@ -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 <assert.h>

View File

@@ -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 <assert.h>

View File

@@ -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 <GLFW/glfw3.h>

View File

@@ -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 <GLFW/glfw3.h>

View File

@@ -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 <GLFW/glfw3.h>

View File

@@ -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 <GLFW/glfw3.h>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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 <stddef.h>

View File

@@ -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 <glad/gl.h>

View File

@@ -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 <GLFW/glfw3.h>

View File

@@ -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

View File

@@ -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 <GLFW/glfw3.h>
#include <glad/gl.h>
#include <stdio.h>

View File

@@ -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;

View File

@@ -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__)

View File

@@ -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__

View File

@@ -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__)

View File

@@ -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 <assert.h>

View File

@@ -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 <stddef.h>

View File

@@ -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 <stdarg.h>

View File

@@ -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 <stdio.h>

View File

@@ -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

View File

@@ -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`.

View File

@@ -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"

View File

@@ -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 <stdint.h>
#include <stdio.h>

View File

@@ -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"

View File

@@ -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 <stdio.h>

View File

@@ -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 <math.h>

View File

@@ -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"