From 068d44c18574d536f5b3f81fbcd8a54851647972 Mon Sep 17 00:00:00 2001 From: outfrost Date: Thu, 17 Sep 2020 16:13:03 +0200 Subject: [PATCH] Add copyright and license notices in source code --- Makefile | 6 ++++++ src/engine/_prelude.h | 8 ++++++++ src/engine/asset.c | 8 ++++++++ src/engine/asset.h | 8 ++++++++ src/engine/engine.c | 8 ++++++++ src/engine/engine.h | 8 ++++++++ src/engine/geometry.c | 8 ++++++++ src/engine/geometry.h | 8 ++++++++ src/engine/input.c | 8 ++++++++ src/engine/input.h | 8 ++++++++ src/engine/logger.c | 8 ++++++++ src/engine/logger.h | 8 ++++++++ src/engine/performance.c | 8 ++++++++ src/engine/performance.h | 8 ++++++++ src/engine/render.c | 8 ++++++++ src/engine/render.h | 8 ++++++++ src/engine/scene.c | 8 ++++++++ src/engine/scene.h | 8 ++++++++ src/engine/string.c | 8 ++++++++ src/engine/string.h | 8 ++++++++ src/engine/tga.c | 8 ++++++++ src/engine/tga.h | 8 ++++++++ src/engine/ui.c | 8 ++++++++ src/engine/ui.h | 8 ++++++++ src/game/game.c | 8 ++++++++ src/game/game.h | 8 ++++++++ src/game/input.c | 8 ++++++++ src/game/input.h | 8 ++++++++ src/game/level.c | 8 ++++++++ src/game/level.h | 8 ++++++++ src/game/player.c | 8 ++++++++ src/game/player.h | 8 ++++++++ src/main.c | 8 ++++++++ 33 files changed, 262 insertions(+) diff --git a/Makefile b/Makefile index 0922628..3ee9546 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ +# Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + PLATFORM ?= x86_64-linux-gnu BUILDDIR ?= target/$(PLATFORM) diff --git a/src/engine/_prelude.h b/src/engine/_prelude.h index a97c9ba..9dfebb8 100644 --- a/src/engine/_prelude.h +++ b/src/engine/_prelude.h @@ -1,3 +1,11 @@ +/** + * Copyright 2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_PRELUDE_H_ #define ENGINE_PRELUDE_H_ diff --git a/src/engine/asset.c b/src/engine/asset.c index 11239ac..6077b67 100644 --- a/src/engine/asset.c +++ b/src/engine/asset.c @@ -1,3 +1,11 @@ +/** + * Copyright 2019-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "asset.h" #include diff --git a/src/engine/asset.h b/src/engine/asset.h index dea64c2..7089afe 100644 --- a/src/engine/asset.h +++ b/src/engine/asset.h @@ -1,3 +1,11 @@ +/** + * Copyright 2019-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_ASSET_H_ #define ENGINE_ASSET_H_ diff --git a/src/engine/engine.c b/src/engine/engine.c index 1e7849f..991e2c4 100644 --- a/src/engine/engine.c +++ b/src/engine/engine.c @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "engine.h" #include diff --git a/src/engine/engine.h b/src/engine/engine.h index 1fdcb01..d33ffdb 100644 --- a/src/engine/engine.h +++ b/src/engine/engine.h @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_ENGINE_H_ #define ENGINE_ENGINE_H_ diff --git a/src/engine/geometry.c b/src/engine/geometry.c index c37eb4a..3809d99 100644 --- a/src/engine/geometry.c +++ b/src/engine/geometry.c @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "geometry.h" #include diff --git a/src/engine/geometry.h b/src/engine/geometry.h index 38dd5e6..24ffccf 100644 --- a/src/engine/geometry.h +++ b/src/engine/geometry.h @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_GEOMETRY_H_ #define ENGINE_GEOMETRY_H_ diff --git a/src/engine/input.c b/src/engine/input.c index df33578..00eb8cb 100644 --- a/src/engine/input.c +++ b/src/engine/input.c @@ -1,3 +1,11 @@ +/** + * Copyright 2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "input.h" #include diff --git a/src/engine/input.h b/src/engine/input.h index 0a8880b..b8c7f4e 100644 --- a/src/engine/input.h +++ b/src/engine/input.h @@ -1,3 +1,11 @@ +/** + * Copyright 2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_INPUT_H #define ENGINE_INPUT_H diff --git a/src/engine/logger.c b/src/engine/logger.c index 56ddd4c..4c37666 100644 --- a/src/engine/logger.c +++ b/src/engine/logger.c @@ -1,3 +1,11 @@ +/** + * Copyright 2019-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "logger.h" #include diff --git a/src/engine/logger.h b/src/engine/logger.h index c6dc808..af02006 100644 --- a/src/engine/logger.h +++ b/src/engine/logger.h @@ -1,3 +1,11 @@ +/** + * Copyright 2019-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_LOGGER_H_ #define ENGINE_LOGGER_H_ diff --git a/src/engine/performance.c b/src/engine/performance.c index 2ff7084..98720cc 100644 --- a/src/engine/performance.c +++ b/src/engine/performance.c @@ -1,3 +1,11 @@ +/** + * Copyright 2019-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 199309L #endif diff --git a/src/engine/performance.h b/src/engine/performance.h index 5f8df72..66d419e 100644 --- a/src/engine/performance.h +++ b/src/engine/performance.h @@ -1,3 +1,11 @@ +/** + * Copyright 2019-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_PERFORMANCE_H_ #define ENGINE_PERFORMANCE_H_ diff --git a/src/engine/render.c b/src/engine/render.c index 616b971..df1c240 100644 --- a/src/engine/render.c +++ b/src/engine/render.c @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "render.h" #include "geometry.h" diff --git a/src/engine/render.h b/src/engine/render.h index f1b40a1..3e7d104 100644 --- a/src/engine/render.h +++ b/src/engine/render.h @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_RENDER_H_ #define ENGINE_RENDER_H_ diff --git a/src/engine/scene.c b/src/engine/scene.c index a95dbec..fa7640a 100644 --- a/src/engine/scene.c +++ b/src/engine/scene.c @@ -1,3 +1,11 @@ +/** + * Copyright 2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "scene.h" #include diff --git a/src/engine/scene.h b/src/engine/scene.h index 895e035..6ea1e68 100644 --- a/src/engine/scene.h +++ b/src/engine/scene.h @@ -1,3 +1,11 @@ +/** + * Copyright 2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_SCENE_H_ #define ENGINE_SCENE_H_ diff --git a/src/engine/string.c b/src/engine/string.c index 04ad0db..0eb80b5 100644 --- a/src/engine/string.c +++ b/src/engine/string.c @@ -1,3 +1,11 @@ +/** + * Copyright 2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "string.h" #include diff --git a/src/engine/string.h b/src/engine/string.h index 92409c3..5d0f174 100644 --- a/src/engine/string.h +++ b/src/engine/string.h @@ -1,3 +1,11 @@ +/** + * Copyright 2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_STRING_H_ #define ENGINE_STRING_H_ diff --git a/src/engine/tga.c b/src/engine/tga.c index 8ad5725..0b49329 100644 --- a/src/engine/tga.c +++ b/src/engine/tga.c @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "tga.h" #include diff --git a/src/engine/tga.h b/src/engine/tga.h index 01e9ca8..e6e086d 100644 --- a/src/engine/tga.h +++ b/src/engine/tga.h @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_TGA_H_ #define ENGINE_TGA_H_ diff --git a/src/engine/ui.c b/src/engine/ui.c index 3bd283a..52eec72 100644 --- a/src/engine/ui.c +++ b/src/engine/ui.c @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "ui.h" #include "_prelude.h" diff --git a/src/engine/ui.h b/src/engine/ui.h index 7e33b4f..01b1ac1 100644 --- a/src/engine/ui.h +++ b/src/engine/ui.h @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef ENGINE_UI_H_ #define ENGINE_UI_H_ diff --git a/src/game/game.c b/src/game/game.c index 25b1c30..3e3d31b 100644 --- a/src/game/game.c +++ b/src/game/game.c @@ -1,3 +1,11 @@ +/** + * Copyright 2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "game.h" #include "engine/input.h" diff --git a/src/game/game.h b/src/game/game.h index 7742846..f0f71a8 100644 --- a/src/game/game.h +++ b/src/game/game.h @@ -1,3 +1,11 @@ +/** + * Copyright 2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef GAME_H_ #define GAME_H_ diff --git a/src/game/input.c b/src/game/input.c index 089291a..ee48154 100644 --- a/src/game/input.c +++ b/src/game/input.c @@ -1,3 +1,11 @@ +/** + * Copyright 2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "input.h" #include diff --git a/src/game/input.h b/src/game/input.h index a354574..14d5a53 100644 --- a/src/game/input.h +++ b/src/game/input.h @@ -1,3 +1,11 @@ +/** + * Copyright 2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef INPUT_H_ #define INPUT_H_ diff --git a/src/game/level.c b/src/game/level.c index b9a6b58..2c8e787 100644 --- a/src/game/level.c +++ b/src/game/level.c @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "level.h" #include diff --git a/src/game/level.h b/src/game/level.h index cca8a8e..1b9eaac 100644 --- a/src/game/level.h +++ b/src/game/level.h @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef LEVEL_H_ #define LEVEL_H_ diff --git a/src/game/player.c b/src/game/player.c index 636b130..6731107 100644 --- a/src/game/player.c +++ b/src/game/player.c @@ -1,3 +1,11 @@ +/** + * Copyright 2019-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "player.h" #include "engine/asset.h" diff --git a/src/game/player.h b/src/game/player.h index 2515d1d..d410654 100644 --- a/src/game/player.h +++ b/src/game/player.h @@ -1,3 +1,11 @@ +/** + * Copyright 2019-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #ifndef PLAYER_H_ #define PLAYER_H_ diff --git a/src/main.c b/src/main.c index 6cd21f0..4d48f25 100644 --- a/src/main.c +++ b/src/main.c @@ -1,3 +1,11 @@ +/** + * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + #include "engine/engine.h" #include "game/game.h" -- 2.44.0