mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-16 19:25:46 +01:00
rephrase the header a little, to not be confusing when a file is copy-pasted.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include "mcx.h"
|
#include "mcx.h"
|
||||||
|
|
||||||
#include <archive.h>
|
#include <archive.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include "nbt.h"
|
#include "nbt.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
|
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include "render.h"
|
#include "render.h"
|
||||||
|
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include "mapcolour.h"
|
#include "mapcolour.h"
|
||||||
|
|
||||||
#include "../../util/vec.h"
|
#include "../../util/vec.h"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../../util/vec.h"
|
#include "../../util/vec.h"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include "shader.h"
|
#include "shader.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <glad/gl.h>
|
#include <glad/gl.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/* Set up the window, enabling OpenGL, and
|
/* Set up the window, enabling OpenGL, and
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
#include <glad/gl.h>
|
#include <glad/gl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
typedef signed long long int llong;
|
typedef signed long long int llong;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if defined __unix__
|
#if defined __unix__
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if defined(__unix__)
|
#if defined(__unix__)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define WIDTHOF(t) (sizeof(t) * 8) // gets the bit width of a type
|
#define WIDTHOF(t) (sizeof(t) * 8) // gets the bit width of a type
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/* Acquires the next power of two of value `x`.
|
/* Acquires the next power of two of value `x`.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../types.h"
|
#include "../types.h"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include "test.h"
|
#include "test.h"
|
||||||
|
|
||||||
#include "../src/types.h"
|
#include "../src/types.h"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#include "test_conf.h"
|
#include "test_conf.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Copyright (c) 2025 Quinn.
|
/* Copyright (c) 2025 Quinn.
|
||||||
* This is a file from the project MCA-Selector-Lite and is
|
* This is a file from the project MCA-Selector-Lite and is
|
||||||
* licensed under the MIT Licence. See included LICENSE file for details. */
|
* licensed under the MIT Licence. See the project's LICENSE file for details. */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../src/types.h"
|
#include "../src/types.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user