mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 06:15:47 +01:00
update copyright information in all files
the comment was using single-line comments, I prefer multi-line comments now. This bothered me for much too long.
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
# Copyright (c) 2025 Quinn
|
||||||
|
# Licensed under the MIT Licence. See LICENSE for details
|
||||||
|
#
|
||||||
---
|
---
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
# general style settings
|
# general style settings
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
/* Copyright (c) 2025 Quinn
|
||||||
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#include "mcx.h"
|
#include "mcx.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#include "nbt.h"
|
#include "nbt.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if __INCLUDE_LEVEL__ > 0
|
#if __INCLUDE_LEVEL__ > 0
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
|
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#include "render.h"
|
#include "render.h"
|
||||||
|
|
||||||
#include <glad/gl.h>
|
#include <glad/gl.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <glad/gl.h>
|
#include <glad/gl.h>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
/* Copyright (c) 2025 Quinn
|
||||||
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#include "mapcolour.h"
|
#include "mapcolour.h"
|
||||||
|
|
||||||
#include "../../util/vec.h"
|
#include "../../util/vec.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
/* Copyright (c) 2025 Quinn
|
||||||
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../../util/vec.h"
|
#include "../../util/vec.h"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#include "shader.h"
|
#include "shader.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <glad/gl.h>
|
#include <glad/gl.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
#include <glad/gl.h>
|
#include <glad/gl.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
int window_init(void); // initializes the global window, returns non-zero upon failure
|
int window_init(void); // initializes the global window, returns non-zero upon failure
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#define GLAD_GL_IMPLEMENTATION
|
#define GLAD_GL_IMPLEMENTATION
|
||||||
#include <glad/gl.h>
|
#include <glad/gl.h>
|
||||||
#undef GLAD_GL_IMPLEMENTATION
|
#undef GLAD_GL_IMPLEMENTATION
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if __has_include(<endian.h>)
|
#if __has_include(<endian.h>)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if defined __unix__
|
#if defined __unix__
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if defined(__unix__)
|
#if defined(__unix__)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/* variable-width integer types */
|
/* variable-width integer types */
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE 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,3 +1,5 @@
|
|||||||
|
/* Copyright (c) 2025 Quinn
|
||||||
|
* Licensed under the MIT Licence. See LICENSE 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,3 +1,5 @@
|
|||||||
|
/* Copyright (c) 2025 Quinn
|
||||||
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "intdef.h"
|
#include "intdef.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
/* Copyright (c) 2025 Quinn
|
||||||
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "../src/util/conf.h"
|
#include "../src/util/conf.h"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#define GLAD_GL_IMPLEMENTATION
|
#define GLAD_GL_IMPLEMENTATION
|
||||||
#include <glad/gl.h>
|
#include <glad/gl.h>
|
||||||
#undef GLAD_GL_IMPLEMENTATION
|
#undef GLAD_GL_IMPLEMENTATION
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
/* Copyright (c) 2025 Quinn
|
||||||
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "test.h"
|
#include "test.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
/* Copyright (c) 2025 Quinn
|
||||||
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
// Licensed under the MIT Licence. See LICENSE for details
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user