From cf1759a5c32764ebd73cd6951e2b7a9811146f60 Mon Sep 17 00:00:00 2001 From: Quinn Date: Sun, 13 Apr 2025 14:42:23 +0200 Subject: [PATCH] License under MIT added the MIT licence and provided the relevant information in the different source files. --- LICENSE | 21 +++++++++++++++++++++ src/error.h | 2 ++ src/main.c | 2 ++ src/util/atrb.h | 2 ++ src/window/render.c | 2 ++ src/window/render.h | 2 ++ 6 files changed, 31 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..dfb7b85 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Quinn + +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/error.h b/src/error.h index 3783761..9b45285 100644 --- a/src/error.h +++ b/src/error.h @@ -1,3 +1,5 @@ +// Copyright (c) 2025 Quinn +// Licensed under the MIT Licence. See LICENSE for details #pragma once #include #include diff --git a/src/main.c b/src/main.c index 25285d0..a9c2d6d 100644 --- a/src/main.c +++ b/src/main.c @@ -1,3 +1,5 @@ +// Copyright (c) 2025 Quinn +// Licensed under the MIT Licence. See LICENSE for details #include "GLFW/glfw3.h" #include "error.h" #include "window/render.h" diff --git a/src/util/atrb.h b/src/util/atrb.h index dba83a7..d07a5b0 100644 --- a/src/util/atrb.h +++ b/src/util/atrb.h @@ -1,3 +1,5 @@ +// Copyright (c) 2025 Quinn +// Licensed under the MIT Licence. See LICENSE for details #pragma once diff --git a/src/window/render.c b/src/window/render.c index 30fc865..94d8bc9 100644 --- a/src/window/render.c +++ b/src/window/render.c @@ -1,3 +1,5 @@ +// Copyright (c) 2025 Quinn +// Licensed under the MIT Licence. See LICENSE for details #include "render.h" #include diff --git a/src/window/render.h b/src/window/render.h index c47a41e..54f6ba7 100644 --- a/src/window/render.h +++ b/src/window/render.h @@ -1,3 +1,5 @@ +// Copyright (c) 2025 Quinn +// Licensed under the MIT Licence. See LICENSE for details #pragma once #include