diff --git a/compat/AKeyCodes.hpp b/compat/AKeyCodes.hpp index 607f6b3..f46cb83 100644 --- a/compat/AKeyCodes.hpp +++ b/compat/AKeyCodes.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #ifndef ORIGINAL_CODE diff --git a/compat/GL.hpp b/compat/GL.hpp index cbbba1e..c32c529 100644 --- a/compat/GL.hpp +++ b/compat/GL.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #ifdef USE_OPENGL_2 diff --git a/compat/GLExt.cpp b/compat/GLExt.cpp index 705aeaa..e6b41e6 100644 --- a/compat/GLExt.cpp +++ b/compat/GLExt.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "GL.hpp" HWND GetHWND(); diff --git a/source/App/App.cpp b/source/App/App.cpp index 8c58796..be55031 100644 --- a/source/App/App.cpp +++ b/source/App/App.cpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - App.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #include "App.hpp" diff --git a/source/App/App.hpp b/source/App/App.hpp index d69439c..1828e7a 100644 --- a/source/App/App.hpp +++ b/source/App/App.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - App.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/App/AppPlatform.cpp b/source/App/AppPlatform.cpp index 25ea45b..d9303aa 100644 --- a/source/App/AppPlatform.cpp +++ b/source/App/AppPlatform.cpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - AppPlatform.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #include "AppPlatform.hpp" diff --git a/source/App/AppPlatform.hpp b/source/App/AppPlatform.hpp index 38c857d..05b51e4 100644 --- a/source/App/AppPlatform.hpp +++ b/source/App/AppPlatform.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - AppPlatform.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/App/AppPlatform_windows.cpp b/source/App/AppPlatform_windows.cpp index 62cac6e..7ebee24 100644 --- a/source/App/AppPlatform_windows.cpp +++ b/source/App/AppPlatform_windows.cpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - AppPlatform_windows.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #include "AppPlatform_windows.hpp" diff --git a/source/App/AppPlatform_windows.hpp b/source/App/AppPlatform_windows.hpp index 6cbd542..10fafff 100644 --- a/source/App/AppPlatform_windows.hpp +++ b/source/App/AppPlatform_windows.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - AppPlatform_windows.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/App/Minecraft.cpp b/source/App/Minecraft.cpp index 865ef96..7bb0af3 100644 --- a/source/App/Minecraft.cpp +++ b/source/App/Minecraft.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Minecraft.hpp" #include "PauseScreen.hpp" #include "StartMenuScreen.hpp" diff --git a/source/App/Minecraft.hpp b/source/App/Minecraft.hpp index 9310328..874e8c2 100644 --- a/source/App/Minecraft.hpp +++ b/source/App/Minecraft.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "App.hpp" diff --git a/source/App/NinecraftApp.cpp b/source/App/NinecraftApp.cpp index 60b6618..beb423a 100644 --- a/source/App/NinecraftApp.cpp +++ b/source/App/NinecraftApp.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "NinecraftApp.hpp" #include "StartMenuScreen.hpp" #include "MemoryLevelStorageSource.hpp" diff --git a/source/App/NinecraftApp.hpp b/source/App/NinecraftApp.hpp index e516d8d..96a19f2 100644 --- a/source/App/NinecraftApp.hpp +++ b/source/App/NinecraftApp.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Minecraft.hpp" diff --git a/source/Base/AABB.cpp b/source/Base/AABB.cpp index fd20eee..a6fd448 100644 --- a/source/Base/AABB.cpp +++ b/source/Base/AABB.cpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - AABB.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #include "AABB.hpp" diff --git a/source/Base/AABB.hpp b/source/Base/AABB.hpp index 0983a0b..f0f9f40 100644 --- a/source/Base/AABB.hpp +++ b/source/Base/AABB.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - AABB.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/Base/CThread.cpp b/source/Base/CThread.cpp index 46a5b55..93063ef 100644 --- a/source/Base/CThread.cpp +++ b/source/Base/CThread.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "CThread.hpp" #include "Utils.hpp" diff --git a/source/Base/CThread.hpp b/source/Base/CThread.hpp index 9e47bdf..aa2c604 100644 --- a/source/Base/CThread.hpp +++ b/source/Base/CThread.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once // CThread - Object oriented pthread wrapper diff --git a/source/Base/HitResult.cpp b/source/Base/HitResult.cpp index f78953b..da4a0d0 100644 --- a/source/Base/HitResult.cpp +++ b/source/Base/HitResult.cpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - HitResult.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #include "HitResult.hpp" diff --git a/source/Base/HitResult.hpp b/source/Base/HitResult.hpp index afe58a8..4a49ee7 100644 --- a/source/Base/HitResult.hpp +++ b/source/Base/HitResult.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - HitResult.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/Base/ImprovedNoise.cpp b/source/Base/ImprovedNoise.cpp index e9cd55a..5e0abee 100644 --- a/source/Base/ImprovedNoise.cpp +++ b/source/Base/ImprovedNoise.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ImprovedNoise.hpp" #include "Mth.hpp" diff --git a/source/Base/ImprovedNoise.hpp b/source/Base/ImprovedNoise.hpp index 9bbef72..b154e0c 100644 --- a/source/Base/ImprovedNoise.hpp +++ b/source/Base/ImprovedNoise.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Random.hpp" diff --git a/source/Base/Matrix.cpp b/source/Base/Matrix.cpp index 854d2fe..07651d1 100644 --- a/source/Base/Matrix.cpp +++ b/source/Base/Matrix.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Matrix.hpp" Matrix::Matrix() diff --git a/source/Base/Matrix.hpp b/source/Base/Matrix.hpp index bcf9339..da0507d 100644 --- a/source/Base/Matrix.hpp +++ b/source/Base/Matrix.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "compat/GL.hpp" diff --git a/source/Base/Mth.cpp b/source/Base/Mth.cpp index 5fe9e8f..25c1100 100644 --- a/source/Base/Mth.cpp +++ b/source/Base/Mth.cpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Mth.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #include diff --git a/source/Base/Mth.hpp b/source/Base/Mth.hpp index 255b48f..e68f744 100644 --- a/source/Base/Mth.hpp +++ b/source/Base/Mth.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Mth.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/Base/PerlinNoise.cpp b/source/Base/PerlinNoise.cpp index de51eda..ff46240 100644 --- a/source/Base/PerlinNoise.cpp +++ b/source/Base/PerlinNoise.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "PerlinNoise.hpp" #include "Utils.hpp" diff --git a/source/Base/PerlinNoise.hpp b/source/Base/PerlinNoise.hpp index f40a543..8a2df7a 100644 --- a/source/Base/PerlinNoise.hpp +++ b/source/Base/PerlinNoise.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "ImprovedNoise.hpp" diff --git a/source/Base/Random.cpp b/source/Base/Random.cpp index f1dd18d..51df588 100644 --- a/source/Base/Random.cpp +++ b/source/Base/Random.cpp @@ -1,17 +1,15 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Random.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #include "Utils.hpp" #include "Random.hpp" - /* Period parameters */ +/* Period parameters */ #define N 624 #define M 397 #define MATRIX_A 0x9908b0dfUL /* constant vector a */ diff --git a/source/Base/Random.hpp b/source/Base/Random.hpp index fe9d186..fa5f664 100644 --- a/source/Base/Random.hpp +++ b/source/Base/Random.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Random.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/Base/Synth.cpp b/source/Base/Synth.cpp index 94b21f8..f627d6c 100644 --- a/source/Base/Synth.cpp +++ b/source/Base/Synth.cpp @@ -1 +1,9 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Synth.hpp" diff --git a/source/Base/Synth.hpp b/source/Base/Synth.hpp index 35047a6..ade200e 100644 --- a/source/Base/Synth.hpp +++ b/source/Base/Synth.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once class Synth diff --git a/source/Base/Timer.cpp b/source/Base/Timer.cpp index 980b32f..fbce516 100644 --- a/source/Base/Timer.cpp +++ b/source/Base/Timer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Timer.hpp" #include "Utils.hpp" diff --git a/source/Base/Timer.hpp b/source/Base/Timer.hpp index 4fd0505..843ddfb 100644 --- a/source/Base/Timer.hpp +++ b/source/Base/Timer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once class Timer diff --git a/source/Base/Util.cpp b/source/Base/Util.cpp index 8dfd692..d720085 100644 --- a/source/Base/Util.cpp +++ b/source/Base/Util.cpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Util.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #include "Util.hpp" @@ -15,7 +13,7 @@ std::string Util::stringTrim(const std::string& str, const std::string& filter, if (str.empty() || filter.empty()) return ""; - // don't know what the fuck this does. TODO: clean this crap up + // don't know what the hell this does. TODO: clean this crap up if (!a4 && !a5) return ""; diff --git a/source/Base/Util.hpp b/source/Base/Util.hpp index 54b20ad..ed78eed 100644 --- a/source/Base/Util.hpp +++ b/source/Base/Util.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Util.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/Base/Utils.cpp b/source/Base/Utils.cpp index 8c62797..f7956c5 100644 --- a/source/Base/Utils.cpp +++ b/source/Base/Utils.cpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Utils.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ // note: not an official file name diff --git a/source/Base/Utils.hpp b/source/Base/Utils.hpp index be67fb6..e1e39b4 100644 --- a/source/Base/Utils.hpp +++ b/source/Base/Utils.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Utils.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/Base/Vec3.cpp b/source/Base/Vec3.cpp index a78bdce..ffa4125 100644 --- a/source/Base/Vec3.cpp +++ b/source/Base/Vec3.cpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Vec3.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #include "Vec3.hpp" diff --git a/source/Base/Vec3.hpp b/source/Base/Vec3.hpp index 5ccbaf9..9eef34b 100644 --- a/source/Base/Vec3.hpp +++ b/source/Base/Vec3.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Vec3.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/GUI/AvailableGamesList.cpp b/source/GUI/AvailableGamesList.cpp index 55c34e0..c770473 100644 --- a/source/GUI/AvailableGamesList.cpp +++ b/source/GUI/AvailableGamesList.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "AvailableGamesList.hpp" AvailableGamesList::AvailableGamesList(Minecraft* a, int b, int c, int d, int e, int f) : diff --git a/source/GUI/AvailableGamesList.hpp b/source/GUI/AvailableGamesList.hpp index 10dde88..e9f0590 100644 --- a/source/GUI/AvailableGamesList.hpp +++ b/source/GUI/AvailableGamesList.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "ScrolledSelectionList.hpp" diff --git a/source/GUI/Button.cpp b/source/GUI/Button.cpp index 3a1b25e..2de604a 100644 --- a/source/GUI/Button.cpp +++ b/source/GUI/Button.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Button.hpp" Button::Button(int a2, int xPos, int yPos, int btnWidth, int btnHeight, const std::string& text) diff --git a/source/GUI/Button.hpp b/source/GUI/Button.hpp index 423f66d..256aced 100644 --- a/source/GUI/Button.hpp +++ b/source/GUI/Button.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "GuiComponent.hpp" diff --git a/source/GUI/Gui.cpp b/source/GUI/Gui.cpp index baee774..fbad417 100644 --- a/source/GUI/Gui.cpp +++ b/source/GUI/Gui.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Minecraft.hpp" #include "IngameBlockSelectionScreen.hpp" #include "ItemRenderer.hpp" diff --git a/source/GUI/Gui.hpp b/source/GUI/Gui.hpp index e898a8e..e3a7dcd 100644 --- a/source/GUI/Gui.hpp +++ b/source/GUI/Gui.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "GuiComponent.hpp" diff --git a/source/GUI/GuiComponent.cpp b/source/GUI/GuiComponent.cpp index 92ba247..be7fc17 100644 --- a/source/GUI/GuiComponent.cpp +++ b/source/GUI/GuiComponent.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "GuiComponent.hpp" #ifdef _WIN32 diff --git a/source/GUI/GuiComponent.hpp b/source/GUI/GuiComponent.hpp index 3645568..b3bdfbb 100644 --- a/source/GUI/GuiComponent.hpp +++ b/source/GUI/GuiComponent.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Tesselator.hpp" diff --git a/source/GUI/RolledSelectionList.cpp b/source/GUI/RolledSelectionList.cpp index dce7642..203c584 100644 --- a/source/GUI/RolledSelectionList.cpp +++ b/source/GUI/RolledSelectionList.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "RolledSelectionList.hpp" static float g_RolledSelectionListUnk, g_RolledSelectionListUnk2; diff --git a/source/GUI/RolledSelectionList.hpp b/source/GUI/RolledSelectionList.hpp index 7510220..bdad6b9 100644 --- a/source/GUI/RolledSelectionList.hpp +++ b/source/GUI/RolledSelectionList.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "GuiComponent.hpp" diff --git a/source/GUI/Screen/ChatScreen.cpp b/source/GUI/Screen/ChatScreen.cpp index 347023d..dba92a4 100644 --- a/source/GUI/Screen/ChatScreen.cpp +++ b/source/GUI/Screen/ChatScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ChatScreen.hpp" // @NOTE: This is unused. diff --git a/source/GUI/Screen/ChatScreen.hpp b/source/GUI/Screen/ChatScreen.hpp index ccc6331..524e3ba 100644 --- a/source/GUI/Screen/ChatScreen.hpp +++ b/source/GUI/Screen/ChatScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Screen.hpp" diff --git a/source/GUI/Screen/ConfirmScreen.cpp b/source/GUI/Screen/ConfirmScreen.cpp index e5fdaf5..34bb612 100644 --- a/source/GUI/Screen/ConfirmScreen.cpp +++ b/source/GUI/Screen/ConfirmScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ConfirmScreen.hpp" ConfirmScreen::ConfirmScreen(Screen* pScreen, const std::string& line1, const std::string& line2, int x) : diff --git a/source/GUI/Screen/ConfirmScreen.hpp b/source/GUI/Screen/ConfirmScreen.hpp index 5f15578..13854c3 100644 --- a/source/GUI/Screen/ConfirmScreen.hpp +++ b/source/GUI/Screen/ConfirmScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Screen.hpp" diff --git a/source/GUI/Screen/DeleteWorldScreen.cpp b/source/GUI/Screen/DeleteWorldScreen.cpp index 29bc1de..fe1fcfd 100644 --- a/source/GUI/Screen/DeleteWorldScreen.cpp +++ b/source/GUI/Screen/DeleteWorldScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "DeleteWorldScreen.hpp" #include "SelectWorldScreen.hpp" diff --git a/source/GUI/Screen/DeleteWorldScreen.hpp b/source/GUI/Screen/DeleteWorldScreen.hpp index cc947fa..9ddbd15 100644 --- a/source/GUI/Screen/DeleteWorldScreen.hpp +++ b/source/GUI/Screen/DeleteWorldScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "ConfirmScreen.hpp" diff --git a/source/GUI/Screen/IngameBlockSelectionScreen.cpp b/source/GUI/Screen/IngameBlockSelectionScreen.cpp index 5195ef4..9ab97be 100644 --- a/source/GUI/Screen/IngameBlockSelectionScreen.cpp +++ b/source/GUI/Screen/IngameBlockSelectionScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "IngameBlockSelectionScreen.hpp" #include "ItemRenderer.hpp" diff --git a/source/GUI/Screen/IngameBlockSelectionScreen.hpp b/source/GUI/Screen/IngameBlockSelectionScreen.hpp index 7cc43cc..5e8613b 100644 --- a/source/GUI/Screen/IngameBlockSelectionScreen.hpp +++ b/source/GUI/Screen/IngameBlockSelectionScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Screen.hpp" diff --git a/source/GUI/Screen/InvalidLicenseScreen.cpp b/source/GUI/Screen/InvalidLicenseScreen.cpp index 3ee779b..365713f 100644 --- a/source/GUI/Screen/InvalidLicenseScreen.cpp +++ b/source/GUI/Screen/InvalidLicenseScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "InvalidLicenseScreen.hpp" InvalidLicenseScreen::InvalidLicenseScreen(int error, bool bHasQuitButton) : diff --git a/source/GUI/Screen/InvalidLicenseScreen.hpp b/source/GUI/Screen/InvalidLicenseScreen.hpp index cb324ee..db79245 100644 --- a/source/GUI/Screen/InvalidLicenseScreen.hpp +++ b/source/GUI/Screen/InvalidLicenseScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Screen.hpp" diff --git a/source/GUI/Screen/JoinGameScreen.cpp b/source/GUI/Screen/JoinGameScreen.cpp index 332e5ee..a979bd3 100644 --- a/source/GUI/Screen/JoinGameScreen.cpp +++ b/source/GUI/Screen/JoinGameScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "JoinGameScreen.hpp" #include "ProgressScreen.hpp" #include "StartMenuScreen.hpp" diff --git a/source/GUI/Screen/JoinGameScreen.hpp b/source/GUI/Screen/JoinGameScreen.hpp index 3c17792..b28c418 100644 --- a/source/GUI/Screen/JoinGameScreen.hpp +++ b/source/GUI/Screen/JoinGameScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Screen.hpp" diff --git a/source/GUI/Screen/OptionsScreen.cpp b/source/GUI/Screen/OptionsScreen.cpp index c6c3611..1e1d436 100644 --- a/source/GUI/Screen/OptionsScreen.cpp +++ b/source/GUI/Screen/OptionsScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "OptionsScreen.hpp" #include "StartMenuScreen.hpp" #include "PauseScreen.hpp" diff --git a/source/GUI/Screen/OptionsScreen.hpp b/source/GUI/Screen/OptionsScreen.hpp index f030df5..fbf6cd9 100644 --- a/source/GUI/Screen/OptionsScreen.hpp +++ b/source/GUI/Screen/OptionsScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Screen.hpp" diff --git a/source/GUI/Screen/PauseScreen.cpp b/source/GUI/Screen/PauseScreen.cpp index 9123226..0cb596b 100644 --- a/source/GUI/Screen/PauseScreen.cpp +++ b/source/GUI/Screen/PauseScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "PauseScreen.hpp" #include "OptionsScreen.hpp" #include "ServerSideNetworkHandler.hpp" diff --git a/source/GUI/Screen/PauseScreen.hpp b/source/GUI/Screen/PauseScreen.hpp index 0067cd8..7f34715 100644 --- a/source/GUI/Screen/PauseScreen.hpp +++ b/source/GUI/Screen/PauseScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Screen.hpp" diff --git a/source/GUI/Screen/ProgressScreen.cpp b/source/GUI/Screen/ProgressScreen.cpp index 9dab505..9dc3356 100644 --- a/source/GUI/Screen/ProgressScreen.cpp +++ b/source/GUI/Screen/ProgressScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ProgressScreen.hpp" bool ProgressScreen::isInGameScreen() diff --git a/source/GUI/Screen/ProgressScreen.hpp b/source/GUI/Screen/ProgressScreen.hpp index 9cc3098..a64e107 100644 --- a/source/GUI/Screen/ProgressScreen.hpp +++ b/source/GUI/Screen/ProgressScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Screen.hpp" diff --git a/source/GUI/Screen/RenameMPLevelScreen.cpp b/source/GUI/Screen/RenameMPLevelScreen.cpp index f878728..61833ec 100644 --- a/source/GUI/Screen/RenameMPLevelScreen.cpp +++ b/source/GUI/Screen/RenameMPLevelScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "RenameMPLevelScreen.hpp" #include "StartMenuScreen.hpp" diff --git a/source/GUI/Screen/RenameMPLevelScreen.hpp b/source/GUI/Screen/RenameMPLevelScreen.hpp index 39b99d9..e6bfc60 100644 --- a/source/GUI/Screen/RenameMPLevelScreen.hpp +++ b/source/GUI/Screen/RenameMPLevelScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Screen.hpp" diff --git a/source/GUI/Screen/Screen.cpp b/source/GUI/Screen/Screen.cpp index 6188491..89f2b59 100644 --- a/source/GUI/Screen/Screen.cpp +++ b/source/GUI/Screen/Screen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Screen.hpp" Screen::Screen() diff --git a/source/GUI/Screen/Screen.hpp b/source/GUI/Screen/Screen.hpp index bfc6612..cea2418 100644 --- a/source/GUI/Screen/Screen.hpp +++ b/source/GUI/Screen/Screen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Mouse.hpp" diff --git a/source/GUI/Screen/SelectWorldScreen.cpp b/source/GUI/Screen/SelectWorldScreen.cpp index bed0b1a..21757f6 100644 --- a/source/GUI/Screen/SelectWorldScreen.cpp +++ b/source/GUI/Screen/SelectWorldScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "SelectWorldScreen.hpp" #include "DeleteWorldScreen.hpp" #include "ProgressScreen.hpp" diff --git a/source/GUI/Screen/SelectWorldScreen.hpp b/source/GUI/Screen/SelectWorldScreen.hpp index d561660..5702d02 100644 --- a/source/GUI/Screen/SelectWorldScreen.hpp +++ b/source/GUI/Screen/SelectWorldScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Screen.hpp" diff --git a/source/GUI/Screen/StartMenuScreen.cpp b/source/GUI/Screen/StartMenuScreen.cpp index 3235712..e25c0a8 100644 --- a/source/GUI/Screen/StartMenuScreen.cpp +++ b/source/GUI/Screen/StartMenuScreen.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "StartMenuScreen.hpp" #include "InvalidLicenseScreen.hpp" #include "OptionsScreen.hpp" diff --git a/source/GUI/Screen/StartMenuScreen.hpp b/source/GUI/Screen/StartMenuScreen.hpp index 7ee2fc1..8712267 100644 --- a/source/GUI/Screen/StartMenuScreen.hpp +++ b/source/GUI/Screen/StartMenuScreen.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Screen.hpp" diff --git a/source/GUI/ScrolledSelectionList.cpp b/source/GUI/ScrolledSelectionList.cpp index 59990ce..650fec7 100644 --- a/source/GUI/ScrolledSelectionList.cpp +++ b/source/GUI/ScrolledSelectionList.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ScrolledSelectionList.hpp" #define C_ITEM_WIDTH (220) diff --git a/source/GUI/ScrolledSelectionList.hpp b/source/GUI/ScrolledSelectionList.hpp index 48344d4..31b48d2 100644 --- a/source/GUI/ScrolledSelectionList.hpp +++ b/source/GUI/ScrolledSelectionList.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "GuiComponent.hpp" diff --git a/source/GUI/SmallButton.cpp b/source/GUI/SmallButton.cpp index 6a38853..86fbe06 100644 --- a/source/GUI/SmallButton.cpp +++ b/source/GUI/SmallButton.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "SmallButton.hpp" // @NOTE: Used in the ConfirmScreen. diff --git a/source/GUI/SmallButton.hpp b/source/GUI/SmallButton.hpp index 9e1bd4c..6bf65c1 100644 --- a/source/GUI/SmallButton.hpp +++ b/source/GUI/SmallButton.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Button.hpp" diff --git a/source/GUI/TextInputBox.cpp b/source/GUI/TextInputBox.cpp index 84a590c..e1c79a3 100644 --- a/source/GUI/TextInputBox.cpp +++ b/source/GUI/TextInputBox.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "TextInputBox.hpp" #include "Minecraft.hpp" #ifndef ORIGINAL_CODE diff --git a/source/GUI/TextInputBox.hpp b/source/GUI/TextInputBox.hpp index 0baf5f5..6ea2c4c 100644 --- a/source/GUI/TextInputBox.hpp +++ b/source/GUI/TextInputBox.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Utils.hpp" diff --git a/source/GUI/WorldSelectionList.cpp b/source/GUI/WorldSelectionList.cpp index 7ce8b68..c23a9c7 100644 --- a/source/GUI/WorldSelectionList.cpp +++ b/source/GUI/WorldSelectionList.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "WorldSelectionList.hpp" #include "Utils.hpp" diff --git a/source/GUI/WorldSelectionList.hpp b/source/GUI/WorldSelectionList.hpp index 6239db8..d39e160 100644 --- a/source/GUI/WorldSelectionList.hpp +++ b/source/GUI/WorldSelectionList.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "RolledSelectionList.hpp" diff --git a/source/GameMode/GameMode.cpp b/source/GameMode/GameMode.cpp index b457e54..2fe1144 100644 --- a/source/GameMode/GameMode.cpp +++ b/source/GameMode/GameMode.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "GameMode.hpp" #include "Minecraft.hpp" diff --git a/source/GameMode/GameMode.hpp b/source/GameMode/GameMode.hpp index c977009..c9bb68f 100644 --- a/source/GameMode/GameMode.hpp +++ b/source/GameMode/GameMode.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Level.hpp" diff --git a/source/GameMode/SurvivalMode.cpp b/source/GameMode/SurvivalMode.cpp index eb32df2..14e2d5f 100644 --- a/source/GameMode/SurvivalMode.cpp +++ b/source/GameMode/SurvivalMode.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "SurvivalMode.hpp" #include "Minecraft.hpp" diff --git a/source/GameMode/SurvivalMode.hpp b/source/GameMode/SurvivalMode.hpp index 2311873..e284679 100644 --- a/source/GameMode/SurvivalMode.hpp +++ b/source/GameMode/SurvivalMode.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "GameMode.hpp" diff --git a/source/Network/ClientSideNetworkHandler.cpp b/source/Network/ClientSideNetworkHandler.cpp index 36d52b1..9ceff72 100644 --- a/source/Network/ClientSideNetworkHandler.cpp +++ b/source/Network/ClientSideNetworkHandler.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include #include "ClientSideNetworkHandler.hpp" diff --git a/source/Network/ClientSideNetworkHandler.hpp b/source/Network/ClientSideNetworkHandler.hpp index f7930ac..db05d7a 100644 --- a/source/Network/ClientSideNetworkHandler.hpp +++ b/source/Network/ClientSideNetworkHandler.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "NetEventCallback.hpp" diff --git a/source/Network/MinecraftPackets.cpp b/source/Network/MinecraftPackets.cpp index 3fdfaa2..dc0e96e 100644 --- a/source/Network/MinecraftPackets.cpp +++ b/source/Network/MinecraftPackets.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "MinecraftPackets.hpp" Packet* MinecraftPackets::createPacket(int type) diff --git a/source/Network/MinecraftPackets.hpp b/source/Network/MinecraftPackets.hpp index 50a2172..0b4c93f 100644 --- a/source/Network/MinecraftPackets.hpp +++ b/source/Network/MinecraftPackets.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Packet.hpp" diff --git a/source/Network/NetEventCallback.cpp b/source/Network/NetEventCallback.cpp index fdaab8a..871234b 100644 --- a/source/Network/NetEventCallback.cpp +++ b/source/Network/NetEventCallback.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "NetEventCallback.hpp" void NetEventCallback::levelGenerated(Level* level) diff --git a/source/Network/NetEventCallback.hpp b/source/Network/NetEventCallback.hpp index 4313e3d..0d2f165 100644 --- a/source/Network/NetEventCallback.hpp +++ b/source/Network/NetEventCallback.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "RakNetTypes.h" diff --git a/source/Network/Packet.hpp b/source/Network/Packet.hpp index 3ff90a2..844a6db 100644 --- a/source/Network/Packet.hpp +++ b/source/Network/Packet.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/Network/Packets/AddPlayerPacket.cpp b/source/Network/Packets/AddPlayerPacket.cpp index 8e28edf..d5a7d6e 100644 --- a/source/Network/Packets/AddPlayerPacket.cpp +++ b/source/Network/Packets/AddPlayerPacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" AddPlayerPacket::AddPlayerPacket(const RakNet::RakNetGUID& guid, RakNet::RakString name, int id, float x, float y, float z) diff --git a/source/Network/Packets/ChunkDataPacket.cpp b/source/Network/Packets/ChunkDataPacket.cpp index 6fc2cd2..7421a72 100644 --- a/source/Network/Packets/ChunkDataPacket.cpp +++ b/source/Network/Packets/ChunkDataPacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" #include "LevelChunk.hpp" diff --git a/source/Network/Packets/LoginPacket.cpp b/source/Network/Packets/LoginPacket.cpp index f5cee9b..cc6a0a5 100644 --- a/source/Network/Packets/LoginPacket.cpp +++ b/source/Network/Packets/LoginPacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" void LoginPacket::handle(const RakNet::RakNetGUID& guid, NetEventCallback* pCallback) diff --git a/source/Network/Packets/MessagePacket.cpp b/source/Network/Packets/MessagePacket.cpp index 8092c97..517807a 100644 --- a/source/Network/Packets/MessagePacket.cpp +++ b/source/Network/Packets/MessagePacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" void MessagePacket::handle(const RakNet::RakNetGUID& guid, NetEventCallback* pCallback) diff --git a/source/Network/Packets/MovePlayerPacket.cpp b/source/Network/Packets/MovePlayerPacket.cpp index e78251c..8e21ba4 100644 --- a/source/Network/Packets/MovePlayerPacket.cpp +++ b/source/Network/Packets/MovePlayerPacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" void MovePlayerPacket::handle(const RakNet::RakNetGUID& guid, NetEventCallback* pCallback) diff --git a/source/Network/Packets/PlaceBlockPacket.cpp b/source/Network/Packets/PlaceBlockPacket.cpp index 16a3d17..baef5d9 100644 --- a/source/Network/Packets/PlaceBlockPacket.cpp +++ b/source/Network/Packets/PlaceBlockPacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" void PlaceBlockPacket::handle(const RakNet::RakNetGUID& guid, NetEventCallback* pCallback) diff --git a/source/Network/Packets/PlayerEquipmentPacket.cpp b/source/Network/Packets/PlayerEquipmentPacket.cpp index 5f09643..b9454ff 100644 --- a/source/Network/Packets/PlayerEquipmentPacket.cpp +++ b/source/Network/Packets/PlayerEquipmentPacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" void PlayerEquipmentPacket::handle(const RakNet::RakNetGUID& guid, NetEventCallback* pCallback) diff --git a/source/Network/Packets/RemoveBlockPacket.cpp b/source/Network/Packets/RemoveBlockPacket.cpp index 51b2c93..6e717bf 100644 --- a/source/Network/Packets/RemoveBlockPacket.cpp +++ b/source/Network/Packets/RemoveBlockPacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" void RemoveBlockPacket::handle(const RakNet::RakNetGUID& guid, NetEventCallback* pCallback) diff --git a/source/Network/Packets/RemoveEntityPacket.cpp b/source/Network/Packets/RemoveEntityPacket.cpp index 2c29f72..62912f0 100644 --- a/source/Network/Packets/RemoveEntityPacket.cpp +++ b/source/Network/Packets/RemoveEntityPacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" void RemoveEntityPacket::handle(const RakNet::RakNetGUID& guid, NetEventCallback* pCallback) diff --git a/source/Network/Packets/RequestChunkPacket.cpp b/source/Network/Packets/RequestChunkPacket.cpp index 43934b1..d9cb89b 100644 --- a/source/Network/Packets/RequestChunkPacket.cpp +++ b/source/Network/Packets/RequestChunkPacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" void RequestChunkPacket::handle(const RakNet::RakNetGUID& guid, NetEventCallback* pCallback) diff --git a/source/Network/Packets/StartGamePacket.cpp b/source/Network/Packets/StartGamePacket.cpp index 047bdce..1d948b5 100644 --- a/source/Network/Packets/StartGamePacket.cpp +++ b/source/Network/Packets/StartGamePacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" void StartGamePacket::handle(const RakNet::RakNetGUID& guid, NetEventCallback* pCallback) diff --git a/source/Network/Packets/UpdateBlockPacket.cpp b/source/Network/Packets/UpdateBlockPacket.cpp index 3092c98..158d19e 100644 --- a/source/Network/Packets/UpdateBlockPacket.cpp +++ b/source/Network/Packets/UpdateBlockPacket.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Packet.hpp" void UpdateBlockPacket::handle(const RakNet::RakNetGUID& guid, NetEventCallback* pCallback) diff --git a/source/Network/PingedCompatibleServer.hpp b/source/Network/PingedCompatibleServer.hpp index d257387..cd7a87b 100644 --- a/source/Network/PingedCompatibleServer.hpp +++ b/source/Network/PingedCompatibleServer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/Network/RakNetInstance.cpp b/source/Network/RakNetInstance.cpp index 68bdb24..33bc536 100644 --- a/source/Network/RakNetInstance.cpp +++ b/source/Network/RakNetInstance.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "RakNetInstance.hpp" #include "MinecraftPackets.hpp" #include "GetTime.h" diff --git a/source/Network/RakNetInstance.hpp b/source/Network/RakNetInstance.hpp index 76bb9cf..bf10bb2 100644 --- a/source/Network/RakNetInstance.hpp +++ b/source/Network/RakNetInstance.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/Network/ServerSideNetworkHandler.cpp b/source/Network/ServerSideNetworkHandler.cpp index 935b427..52d8351 100644 --- a/source/Network/ServerSideNetworkHandler.cpp +++ b/source/Network/ServerSideNetworkHandler.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ServerSideNetworkHandler.hpp" // This lets you make the server shut up and not log events in the debug console. diff --git a/source/Network/ServerSideNetworkHandler.hpp b/source/Network/ServerSideNetworkHandler.hpp index 45be6e3..eaa9e15 100644 --- a/source/Network/ServerSideNetworkHandler.hpp +++ b/source/Network/ServerSideNetworkHandler.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "NetEventCallback.hpp" diff --git a/source/Options.cpp b/source/Options.cpp index 9e7d6fa..2f7287a 100644 --- a/source/Options.cpp +++ b/source/Options.cpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Options.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #include "Options.hpp" diff --git a/source/Options.hpp b/source/Options.hpp index cf16d2e..d582c3d 100644 --- a/source/Options.hpp +++ b/source/Options.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Options.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/Renderer/Cube.cpp b/source/Renderer/Cube.cpp index 89b8f13..74f6f55 100644 --- a/source/Renderer/Cube.cpp +++ b/source/Renderer/Cube.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Cube.hpp" float Cube::c = 180.0f / float(M_PI); diff --git a/source/Renderer/Cube.hpp b/source/Renderer/Cube.hpp index 7143137..007c8e5 100644 --- a/source/Renderer/Cube.hpp +++ b/source/Renderer/Cube.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "PolygonQuad.hpp" diff --git a/source/Renderer/DynamicTexture.cpp b/source/Renderer/DynamicTexture.cpp index cb31963..8de2df8 100644 --- a/source/Renderer/DynamicTexture.cpp +++ b/source/Renderer/DynamicTexture.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "DynamicTexture.hpp" #include "Utils.hpp" diff --git a/source/Renderer/DynamicTexture.hpp b/source/Renderer/DynamicTexture.hpp index 8eb412a..a95c5a7 100644 --- a/source/Renderer/DynamicTexture.hpp +++ b/source/Renderer/DynamicTexture.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Textures.hpp" diff --git a/source/Renderer/Font.cpp b/source/Renderer/Font.cpp index 6137acb..8b88ee2 100644 --- a/source/Renderer/Font.cpp +++ b/source/Renderer/Font.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Font.hpp" #include "Tesselator.hpp" diff --git a/source/Renderer/Font.hpp b/source/Renderer/Font.hpp index 11b33b8..8d175f4 100644 --- a/source/Renderer/Font.hpp +++ b/source/Renderer/Font.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Textures.hpp" diff --git a/source/Renderer/GameRenderer.cpp b/source/Renderer/GameRenderer.cpp index 423f076..16db20f 100644 --- a/source/Renderer/GameRenderer.cpp +++ b/source/Renderer/GameRenderer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "compat/GL.hpp" #include "GameRenderer.hpp" #include "Minecraft.hpp" diff --git a/source/Renderer/GameRenderer.hpp b/source/Renderer/GameRenderer.hpp index 6f22b3e..15123ad 100644 --- a/source/Renderer/GameRenderer.hpp +++ b/source/Renderer/GameRenderer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "ItemInHandRenderer.hpp" diff --git a/source/Renderer/PolygonQuad.cpp b/source/Renderer/PolygonQuad.cpp index 1942fe4..118e11c 100644 --- a/source/Renderer/PolygonQuad.cpp +++ b/source/Renderer/PolygonQuad.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "PolygonQuad.hpp" PolygonQuad::PolygonQuad(VertexPT* a, VertexPT* b, VertexPT* c, VertexPT* d) diff --git a/source/Renderer/PolygonQuad.hpp b/source/Renderer/PolygonQuad.hpp index c1a4ea0..991e692 100644 --- a/source/Renderer/PolygonQuad.hpp +++ b/source/Renderer/PolygonQuad.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/Renderer/RenderChunk.cpp b/source/Renderer/RenderChunk.cpp index fdd263b..6b77347 100644 --- a/source/Renderer/RenderChunk.cpp +++ b/source/Renderer/RenderChunk.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "RenderChunk.hpp" int RenderChunk::runningId = 0; diff --git a/source/Renderer/RenderChunk.hpp b/source/Renderer/RenderChunk.hpp index f59dc49..6eb3aaa 100644 --- a/source/Renderer/RenderChunk.hpp +++ b/source/Renderer/RenderChunk.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "compat/GL.hpp" diff --git a/source/Renderer/RenderList.cpp b/source/Renderer/RenderList.cpp index 3dddac5..a826945 100644 --- a/source/Renderer/RenderList.cpp +++ b/source/Renderer/RenderList.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "RenderList.hpp" #include "Tesselator.hpp" diff --git a/source/Renderer/RenderList.hpp b/source/Renderer/RenderList.hpp index 788a1aa..3019869 100644 --- a/source/Renderer/RenderList.hpp +++ b/source/Renderer/RenderList.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "RenderChunk.hpp" diff --git a/source/Renderer/Tesselator.cpp b/source/Renderer/Tesselator.cpp index c2e1bdc..aff3516 100644 --- a/source/Renderer/Tesselator.cpp +++ b/source/Renderer/Tesselator.cpp @@ -1,12 +1,11 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Tesselator.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ + #include "compat/GL.hpp" #include "Tesselator.hpp" #include "Utils.hpp" diff --git a/source/Renderer/Tesselator.hpp b/source/Renderer/Tesselator.hpp index 886d061..f8a408f 100644 --- a/source/Renderer/Tesselator.hpp +++ b/source/Renderer/Tesselator.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Tesselator.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/Renderer/Texture.hpp b/source/Renderer/Texture.hpp index 4bb0e56..634acf4 100644 --- a/source/Renderer/Texture.hpp +++ b/source/Renderer/Texture.hpp @@ -1,11 +1,9 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - Texture.hpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once diff --git a/source/Renderer/Textures.cpp b/source/Renderer/Textures.cpp index eb1a736..0142804 100644 --- a/source/Renderer/Textures.cpp +++ b/source/Renderer/Textures.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Textures.hpp" bool Textures::MIPMAP = false; diff --git a/source/Renderer/Textures.hpp b/source/Renderer/Textures.hpp index c95e1dc..df31637 100644 --- a/source/Renderer/Textures.hpp +++ b/source/Renderer/Textures.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/Renderer/VertexPT.hpp b/source/Renderer/VertexPT.hpp index d83175d..d7313f9 100644 --- a/source/Renderer/VertexPT.hpp +++ b/source/Renderer/VertexPT.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once struct VertexPT diff --git a/source/Renderer/WaterSideTexture.cpp b/source/Renderer/WaterSideTexture.cpp index a25f257..13c793b 100644 --- a/source/Renderer/WaterSideTexture.cpp +++ b/source/Renderer/WaterSideTexture.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "DynamicTexture.hpp" #include "Tile.hpp" diff --git a/source/Renderer/WaterTexture.cpp b/source/Renderer/WaterTexture.cpp index d08e2a2..9f874bf 100644 --- a/source/Renderer/WaterTexture.cpp +++ b/source/Renderer/WaterTexture.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "DynamicTexture.hpp" #include "Tile.hpp" diff --git a/source/Sound/SoundData.cpp b/source/Sound/SoundData.cpp index 461d4f4..7650d8f 100644 --- a/source/Sound/SoundData.cpp +++ b/source/Sound/SoundData.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "SoundData.hpp" // -------------------------------------------------------------------- diff --git a/source/Sound/SoundData.hpp b/source/Sound/SoundData.hpp index 4a92c03..3e7895e 100644 --- a/source/Sound/SoundData.hpp +++ b/source/Sound/SoundData.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/Sound/SoundDefs.hpp b/source/Sound/SoundDefs.hpp index dce7dc5..84ff3a1 100644 --- a/source/Sound/SoundDefs.hpp +++ b/source/Sound/SoundDefs.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "SoundData.hpp" // Minecraft Pocket Edition Reverse Engineering Project diff --git a/source/Sound/SoundEngine.cpp b/source/Sound/SoundEngine.cpp index 0225082..d754610 100644 --- a/source/Sound/SoundEngine.cpp +++ b/source/Sound/SoundEngine.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "SoundEngine.hpp" #include "SoundDefs.hpp" diff --git a/source/Sound/SoundEngine.hpp b/source/Sound/SoundEngine.hpp index 410e09f..f6e4565 100644 --- a/source/Sound/SoundEngine.hpp +++ b/source/Sound/SoundEngine.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "SoundSystem.hpp" diff --git a/source/Sound/SoundRepository.cpp b/source/Sound/SoundRepository.cpp index 4659049..862aa9a 100644 --- a/source/Sound/SoundRepository.cpp +++ b/source/Sound/SoundRepository.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "SoundRepository.hpp" #include "Utils.hpp" #include "Mth.hpp" diff --git a/source/Sound/SoundRepository.hpp b/source/Sound/SoundRepository.hpp index 921c869..ed9d055 100644 --- a/source/Sound/SoundRepository.hpp +++ b/source/Sound/SoundRepository.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/Sound/SoundSystem.cpp b/source/Sound/SoundSystem.cpp index fb714ae..40f366e 100644 --- a/source/Sound/SoundSystem.cpp +++ b/source/Sound/SoundSystem.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "SoundSystem.hpp" bool SoundSystem::isAvailable() diff --git a/source/Sound/SoundSystem.hpp b/source/Sound/SoundSystem.hpp index d052c1f..32ae9a6 100644 --- a/source/Sound/SoundSystem.hpp +++ b/source/Sound/SoundSystem.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/UserInput/Controller.cpp b/source/UserInput/Controller.cpp index fb08c95..7c193e6 100644 --- a/source/UserInput/Controller.cpp +++ b/source/UserInput/Controller.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Controller.hpp" bool Controller::isTouchedValues[2]; diff --git a/source/UserInput/Controller.hpp b/source/UserInput/Controller.hpp index 2e505cc..019f26d 100644 --- a/source/UserInput/Controller.hpp +++ b/source/UserInput/Controller.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/UserInput/ControllerTurnInput.cpp b/source/UserInput/ControllerTurnInput.cpp index 6831246..063a0fd 100644 --- a/source/UserInput/ControllerTurnInput.cpp +++ b/source/UserInput/ControllerTurnInput.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ControllerTurnInput.hpp" #include "Controller.hpp" diff --git a/source/UserInput/ControllerTurnInput.hpp b/source/UserInput/ControllerTurnInput.hpp index 06d0e2c..ae79920 100644 --- a/source/UserInput/ControllerTurnInput.hpp +++ b/source/UserInput/ControllerTurnInput.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "ITurnInput.hpp" diff --git a/source/UserInput/ITurnInput.cpp b/source/UserInput/ITurnInput.cpp index 9df4ce5..935631f 100644 --- a/source/UserInput/ITurnInput.cpp +++ b/source/UserInput/ITurnInput.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ITurnInput.hpp" #include "Utils.hpp" diff --git a/source/UserInput/ITurnInput.hpp b/source/UserInput/ITurnInput.hpp index aa8ea7c..ac81c01 100644 --- a/source/UserInput/ITurnInput.hpp +++ b/source/UserInput/ITurnInput.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once class ITurnInput diff --git a/source/UserInput/Keyboard.cpp b/source/UserInput/Keyboard.cpp index 87c3598..90461bf 100644 --- a/source/UserInput/Keyboard.cpp +++ b/source/UserInput/Keyboard.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Keyboard.hpp" std::vector Keyboard::_inputs; diff --git a/source/UserInput/Keyboard.hpp b/source/UserInput/Keyboard.hpp index 0c29b2f..74f8ae1 100644 --- a/source/UserInput/Keyboard.hpp +++ b/source/UserInput/Keyboard.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/UserInput/KeyboardInput.cpp b/source/UserInput/KeyboardInput.cpp index eaa8a9b..76186d4 100644 --- a/source/UserInput/KeyboardInput.cpp +++ b/source/UserInput/KeyboardInput.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "KeyboardInput.hpp" KeyboardInput::KeyboardInput(Options* pOpts) diff --git a/source/UserInput/KeyboardInput.hpp b/source/UserInput/KeyboardInput.hpp index 45fae03..e50ca24 100644 --- a/source/UserInput/KeyboardInput.hpp +++ b/source/UserInput/KeyboardInput.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Options.hpp" diff --git a/source/UserInput/Mouse.cpp b/source/UserInput/Mouse.cpp index 6a3b9eb..ce4dd50 100644 --- a/source/UserInput/Mouse.cpp +++ b/source/UserInput/Mouse.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Mouse.hpp" std::vector Mouse::_inputs; diff --git a/source/UserInput/Mouse.hpp b/source/UserInput/Mouse.hpp index b867d24..f17a1c9 100644 --- a/source/UserInput/Mouse.hpp +++ b/source/UserInput/Mouse.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/UserInput/MouseTurnInput.cpp b/source/UserInput/MouseTurnInput.cpp index ffff2d6..c7794fe 100644 --- a/source/UserInput/MouseTurnInput.cpp +++ b/source/UserInput/MouseTurnInput.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "MouseTurnInput.hpp" #include "Mouse.hpp" diff --git a/source/UserInput/MouseTurnInput.hpp b/source/UserInput/MouseTurnInput.hpp index a2a477d..5b1a170 100644 --- a/source/UserInput/MouseTurnInput.hpp +++ b/source/UserInput/MouseTurnInput.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "ITurnInput.hpp" diff --git a/source/UserInput/User.hpp b/source/UserInput/User.hpp index 2a05332..3df3abf 100644 --- a/source/UserInput/User.hpp +++ b/source/UserInput/User.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/World/Dimension.cpp b/source/World/Dimension.cpp index 91cf53a..ca866b7 100644 --- a/source/World/Dimension.cpp +++ b/source/World/Dimension.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Dimension.hpp" #include "TestChunkSource.hpp" #include "RandomLevelSource.hpp" diff --git a/source/World/Dimension.hpp b/source/World/Dimension.hpp index 2a8dc1b..8f31b98 100644 --- a/source/World/Dimension.hpp +++ b/source/World/Dimension.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Vec3.hpp" diff --git a/source/World/Entity/Entity.cpp b/source/World/Entity/Entity.cpp index bd13547..bebd267 100644 --- a/source/World/Entity/Entity.cpp +++ b/source/World/Entity/Entity.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Entity.hpp" #include "Player.hpp" #include "Level.hpp" diff --git a/source/World/Entity/Entity.hpp b/source/World/Entity/Entity.hpp index 29f686a..e820638 100644 --- a/source/World/Entity/Entity.hpp +++ b/source/World/Entity/Entity.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "AABB.hpp" diff --git a/source/World/Entity/FallingTile.cpp b/source/World/Entity/FallingTile.cpp index b9c681c..526c30a 100644 --- a/source/World/Entity/FallingTile.cpp +++ b/source/World/Entity/FallingTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "FallingTile.hpp" #include "Level.hpp" diff --git a/source/World/Entity/FallingTile.hpp b/source/World/Entity/FallingTile.hpp index cab113b..48d011f 100644 --- a/source/World/Entity/FallingTile.hpp +++ b/source/World/Entity/FallingTile.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Entity.hpp" diff --git a/source/World/Entity/ItemEntity.cpp b/source/World/Entity/ItemEntity.cpp index 50b5ca2..6cc987a 100644 --- a/source/World/Entity/ItemEntity.cpp +++ b/source/World/Entity/ItemEntity.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ItemEntity.hpp" #include "Level.hpp" diff --git a/source/World/Entity/ItemEntity.hpp b/source/World/Entity/ItemEntity.hpp index bfd0756..bcd374e 100644 --- a/source/World/Entity/ItemEntity.hpp +++ b/source/World/Entity/ItemEntity.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Entity.hpp" diff --git a/source/World/Entity/LocalPlayer.cpp b/source/World/Entity/LocalPlayer.cpp index bcb874c..e072590 100644 --- a/source/World/Entity/LocalPlayer.cpp +++ b/source/World/Entity/LocalPlayer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "LocalPlayer.hpp" #include "Minecraft.hpp" diff --git a/source/World/Entity/LocalPlayer.hpp b/source/World/Entity/LocalPlayer.hpp index 6c7512f..4eaa0ad 100644 --- a/source/World/Entity/LocalPlayer.hpp +++ b/source/World/Entity/LocalPlayer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Player.hpp" diff --git a/source/World/Entity/Mob.cpp b/source/World/Entity/Mob.cpp index d138c5c..1693347 100644 --- a/source/World/Entity/Mob.cpp +++ b/source/World/Entity/Mob.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Mob.hpp" #include "Level.hpp" @@ -55,7 +63,7 @@ void Mob::tick() aiStep(); updateWalkAnim(); - //@TODO: unf*ck this variable mess + //@TODO: untangle this variable mess float deltaX, deltaZ, dist, x1, x2, x3, x4, x5, x6, x7, field_E8_2, field_E8_new, v36; bool angleOOB = false; diff --git a/source/World/Entity/Mob.hpp b/source/World/Entity/Mob.hpp index 327e3be..98af388 100644 --- a/source/World/Entity/Mob.hpp +++ b/source/World/Entity/Mob.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Entity.hpp" diff --git a/source/World/Entity/Models/HumanoidModel.cpp b/source/World/Entity/Models/HumanoidModel.cpp index 5e5112e..ba707f6 100644 --- a/source/World/Entity/Models/HumanoidModel.cpp +++ b/source/World/Entity/Models/HumanoidModel.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "HumanoidModel.hpp" #include "Minecraft.hpp" diff --git a/source/World/Entity/Models/HumanoidModel.hpp b/source/World/Entity/Models/HumanoidModel.hpp index 5961d3a..55facfc 100644 --- a/source/World/Entity/Models/HumanoidModel.hpp +++ b/source/World/Entity/Models/HumanoidModel.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Model.hpp" diff --git a/source/World/Entity/Models/Model.cpp b/source/World/Entity/Models/Model.cpp index 1b0d75d..15c6cd6 100644 --- a/source/World/Entity/Models/Model.cpp +++ b/source/World/Entity/Models/Model.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Model.hpp" void Model::onGraphicsReset() diff --git a/source/World/Entity/Models/Model.hpp b/source/World/Entity/Models/Model.hpp index 3720279..b017f98 100644 --- a/source/World/Entity/Models/Model.hpp +++ b/source/World/Entity/Models/Model.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Cube.hpp" diff --git a/source/World/Entity/Player.cpp b/source/World/Entity/Player.cpp index d3b61b4..2a288c9 100644 --- a/source/World/Entity/Player.cpp +++ b/source/World/Entity/Player.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Player.hpp" #include "Level.hpp" diff --git a/source/World/Entity/Player.hpp b/source/World/Entity/Player.hpp index e38ab8e..6ced7f5 100644 --- a/source/World/Entity/Player.hpp +++ b/source/World/Entity/Player.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Mob.hpp" diff --git a/source/World/Entity/PrimedTnt.cpp b/source/World/Entity/PrimedTnt.cpp index 263d922..603e24b 100644 --- a/source/World/Entity/PrimedTnt.cpp +++ b/source/World/Entity/PrimedTnt.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "PrimedTnt.hpp" #include "Level.hpp" diff --git a/source/World/Entity/PrimedTnt.hpp b/source/World/Entity/PrimedTnt.hpp index d270699..f43e15d 100644 --- a/source/World/Entity/PrimedTnt.hpp +++ b/source/World/Entity/PrimedTnt.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Entity.hpp" diff --git a/source/World/Entity/TripodCamera.cpp b/source/World/Entity/TripodCamera.cpp index b26fa6c..b38f771 100644 --- a/source/World/Entity/TripodCamera.cpp +++ b/source/World/Entity/TripodCamera.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "TripodCamera.hpp" #include "Player.hpp" #include "Level.hpp" diff --git a/source/World/Entity/TripodCamera.hpp b/source/World/Entity/TripodCamera.hpp index a8c36d9..10d72a8 100644 --- a/source/World/Entity/TripodCamera.hpp +++ b/source/World/Entity/TripodCamera.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Mob.hpp" diff --git a/source/World/Explosion.cpp b/source/World/Explosion.cpp index ef44bee..4010e52 100644 --- a/source/World/Explosion.cpp +++ b/source/World/Explosion.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Explosion.hpp" Explosion::Explosion(Level* level, Entity* entity, float x, float y, float z, float power) diff --git a/source/World/Explosion.hpp b/source/World/Explosion.hpp index 334004c..7d0b174 100644 --- a/source/World/Explosion.hpp +++ b/source/World/Explosion.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/World/Generator/Biome.cpp b/source/World/Generator/Biome.cpp index 1380b73..aaa498f 100644 --- a/source/World/Generator/Biome.cpp +++ b/source/World/Generator/Biome.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Biome.hpp" #include "Tile.hpp" diff --git a/source/World/Generator/Biome.hpp b/source/World/Generator/Biome.hpp index 23d889d..5742751 100644 --- a/source/World/Generator/Biome.hpp +++ b/source/World/Generator/Biome.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/World/Generator/BiomeSource.cpp b/source/World/Generator/BiomeSource.cpp index 01f992a..f45854b 100644 --- a/source/World/Generator/BiomeSource.cpp +++ b/source/World/Generator/BiomeSource.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "BiomeSource.hpp" #include "Level.hpp" diff --git a/source/World/Generator/BiomeSource.hpp b/source/World/Generator/BiomeSource.hpp index 72258a6..578adea 100644 --- a/source/World/Generator/BiomeSource.hpp +++ b/source/World/Generator/BiomeSource.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Biome.hpp" diff --git a/source/World/Generator/BirchFeature.cpp b/source/World/Generator/BirchFeature.cpp index 6328f17..09c990f 100644 --- a/source/World/Generator/BirchFeature.cpp +++ b/source/World/Generator/BirchFeature.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Feature.hpp" #include "Level.hpp" diff --git a/source/World/Generator/ChunkCache.cpp b/source/World/Generator/ChunkCache.cpp index a8e4195..285ac04 100644 --- a/source/World/Generator/ChunkCache.cpp +++ b/source/World/Generator/ChunkCache.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "LevelChunk.hpp" #include "ChunkCache.hpp" #include "Level.hpp" diff --git a/source/World/Generator/ChunkCache.hpp b/source/World/Generator/ChunkCache.hpp index c5b1c79..50b13f8 100644 --- a/source/World/Generator/ChunkCache.hpp +++ b/source/World/Generator/ChunkCache.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "ChunkSource.hpp" diff --git a/source/World/Generator/ChunkSource.cpp b/source/World/Generator/ChunkSource.cpp index 6006329..b647f30 100644 --- a/source/World/Generator/ChunkSource.cpp +++ b/source/World/Generator/ChunkSource.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ChunkSource.hpp" #include "Level.hpp" diff --git a/source/World/Generator/ChunkSource.hpp b/source/World/Generator/ChunkSource.hpp index abc2f72..cb68ca8 100644 --- a/source/World/Generator/ChunkSource.hpp +++ b/source/World/Generator/ChunkSource.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include class Level; diff --git a/source/World/Generator/ClayFeature.cpp b/source/World/Generator/ClayFeature.cpp index 78a5d14..02a7868 100644 --- a/source/World/Generator/ClayFeature.cpp +++ b/source/World/Generator/ClayFeature.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Feature.hpp" #include "Level.hpp" diff --git a/source/World/Generator/Feature.cpp b/source/World/Generator/Feature.cpp index 6a9d417..a90f7f7 100644 --- a/source/World/Generator/Feature.cpp +++ b/source/World/Generator/Feature.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Feature.hpp" void Feature::init(float a, float b, float c) diff --git a/source/World/Generator/Feature.hpp b/source/World/Generator/Feature.hpp index 89c7362..fd03be3 100644 --- a/source/World/Generator/Feature.hpp +++ b/source/World/Generator/Feature.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Random.hpp" diff --git a/source/World/Generator/FlowerFeature.cpp b/source/World/Generator/FlowerFeature.cpp index 55a92ab..df0029c 100644 --- a/source/World/Generator/FlowerFeature.cpp +++ b/source/World/Generator/FlowerFeature.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Feature.hpp" #include "Level.hpp" diff --git a/source/World/Generator/OreFeature.cpp b/source/World/Generator/OreFeature.cpp index 71a5ab2..74438fd 100644 --- a/source/World/Generator/OreFeature.cpp +++ b/source/World/Generator/OreFeature.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Feature.hpp" #include "Level.hpp" diff --git a/source/World/Generator/PerformanceTestChunkSource.cpp b/source/World/Generator/PerformanceTestChunkSource.cpp index 1bc623f..5483d47 100644 --- a/source/World/Generator/PerformanceTestChunkSource.cpp +++ b/source/World/Generator/PerformanceTestChunkSource.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "PerformanceTestChunkSource.hpp" #include "Level.hpp" diff --git a/source/World/Generator/PerformanceTestChunkSource.hpp b/source/World/Generator/PerformanceTestChunkSource.hpp index cec7f9d..1ad7bb0 100644 --- a/source/World/Generator/PerformanceTestChunkSource.hpp +++ b/source/World/Generator/PerformanceTestChunkSource.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "ChunkSource.hpp" diff --git a/source/World/Generator/PineFeature.cpp b/source/World/Generator/PineFeature.cpp index f06bbe5..11beb12 100644 --- a/source/World/Generator/PineFeature.cpp +++ b/source/World/Generator/PineFeature.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Feature.hpp" #include "Level.hpp" diff --git a/source/World/Generator/RandomLevelSource.cpp b/source/World/Generator/RandomLevelSource.cpp index 26d9744..f5c9ef2 100644 --- a/source/World/Generator/RandomLevelSource.cpp +++ b/source/World/Generator/RandomLevelSource.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "RandomLevelSource.hpp" #include "Level.hpp" diff --git a/source/World/Generator/RandomLevelSource.hpp b/source/World/Generator/RandomLevelSource.hpp index 8166843..6e1dfdd 100644 --- a/source/World/Generator/RandomLevelSource.hpp +++ b/source/World/Generator/RandomLevelSource.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once // @NOTE: This class appears to reference a mythical "std::hashtable", but I couldn't find any traces of it. diff --git a/source/World/Generator/SpringFeature.cpp b/source/World/Generator/SpringFeature.cpp index 817c824..9662ae6 100644 --- a/source/World/Generator/SpringFeature.cpp +++ b/source/World/Generator/SpringFeature.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Feature.hpp" #include "Level.hpp" diff --git a/source/World/Generator/SpruceFeature.cpp b/source/World/Generator/SpruceFeature.cpp index 00e1d68..950ef89 100644 --- a/source/World/Generator/SpruceFeature.cpp +++ b/source/World/Generator/SpruceFeature.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Feature.hpp" #include "Level.hpp" diff --git a/source/World/Generator/TestChunkSource.cpp b/source/World/Generator/TestChunkSource.cpp index 73ab701..8b8625c 100644 --- a/source/World/Generator/TestChunkSource.cpp +++ b/source/World/Generator/TestChunkSource.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "TestChunkSource.hpp" #include "Level.hpp" diff --git a/source/World/Generator/TestChunkSource.hpp b/source/World/Generator/TestChunkSource.hpp index 5958975..5f8fbc2 100644 --- a/source/World/Generator/TestChunkSource.hpp +++ b/source/World/Generator/TestChunkSource.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Utils.hpp" diff --git a/source/World/Generator/TreeFeature.cpp b/source/World/Generator/TreeFeature.cpp index 7d33fb7..3a11dc0 100644 --- a/source/World/Generator/TreeFeature.cpp +++ b/source/World/Generator/TreeFeature.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Feature.hpp" #include "Level.hpp" diff --git a/source/World/Item/CameraItem.cpp b/source/World/Item/CameraItem.cpp index 51931fa..ea38b0c 100644 --- a/source/World/Item/CameraItem.cpp +++ b/source/World/Item/CameraItem.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Item.hpp" #include "TripodCamera.hpp" #include "Level.hpp" diff --git a/source/World/Item/DoorItem.cpp b/source/World/Item/DoorItem.cpp index 40f8294..edd9cb4 100644 --- a/source/World/Item/DoorItem.cpp +++ b/source/World/Item/DoorItem.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Item.hpp" #include "Tile.hpp" #include "Player.hpp" diff --git a/source/World/Item/Item.cpp b/source/World/Item/Item.cpp index 30280d3..6712751 100644 --- a/source/World/Item/Item.cpp +++ b/source/World/Item/Item.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Item.hpp" #define ITEM(x) ((x) - 256) diff --git a/source/World/Item/Item.hpp b/source/World/Item/Item.hpp index 8fce3ce..656797a 100644 --- a/source/World/Item/Item.hpp +++ b/source/World/Item/Item.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/World/Item/ItemInstance.cpp b/source/World/Item/ItemInstance.cpp index 5077919..d9073a3 100644 --- a/source/World/Item/ItemInstance.cpp +++ b/source/World/Item/ItemInstance.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include #include "ItemInstance.hpp" #include "Tile.hpp" diff --git a/source/World/Item/ItemInstance.hpp b/source/World/Item/ItemInstance.hpp index 71c2059..92295c5 100644 --- a/source/World/Item/ItemInstance.hpp +++ b/source/World/Item/ItemInstance.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Utils.hpp" diff --git a/source/World/Item/TileItem.cpp b/source/World/Item/TileItem.cpp index 975ec53..7db0025 100644 --- a/source/World/Item/TileItem.cpp +++ b/source/World/Item/TileItem.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Item.hpp" #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Item/TilePlanterItem.cpp b/source/World/Item/TilePlanterItem.cpp index 8dfa13c..a4ecbd1 100644 --- a/source/World/Item/TilePlanterItem.cpp +++ b/source/World/Item/TilePlanterItem.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Item.hpp" #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Level.cpp b/source/World/Level.cpp index 8c35aa3..e804a2b 100644 --- a/source/World/Level.cpp +++ b/source/World/Level.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Level.hpp" #include "ChunkCache.hpp" #include "Util.hpp" @@ -463,7 +471,7 @@ void Level::updateLight(const LightLayer& ll, int a, int b, int c, int d, int e, for (int i = 0; i < int(m_lightUpdates.size()); i++) { - //dont know what the fuck this is v19 = &v15[~v17 - 0x49249249 * (i >> 2)]; + //dont know what the hell this is v19 = &v15[~v17 - 0x49249249 * (i >> 2)]; LightUpdate* pUpd = &m_lightUpdates[i]; if (pUpd->m_lightLayer == &ll && pUpd->expandToContain(a, b, c, d, e, f)) diff --git a/source/World/Level.hpp b/source/World/Level.hpp index 0d92306..2caf133 100644 --- a/source/World/Level.hpp +++ b/source/World/Level.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/World/LevelChunk.cpp b/source/World/LevelChunk.cpp index 807adcf..4690dcf 100644 --- a/source/World/LevelChunk.cpp +++ b/source/World/LevelChunk.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Level.hpp" bool LevelChunk::touchedSky = false; diff --git a/source/World/LevelChunk.hpp b/source/World/LevelChunk.hpp index a55af55..dedb1a7 100644 --- a/source/World/LevelChunk.hpp +++ b/source/World/LevelChunk.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/World/LevelData.cpp b/source/World/LevelData.cpp index b809a73..88038fa 100644 --- a/source/World/LevelData.cpp +++ b/source/World/LevelData.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "LevelData.hpp" LevelData::LevelData() diff --git a/source/World/LevelData.hpp b/source/World/LevelData.hpp index ae17d3e..eca56bf 100644 --- a/source/World/LevelData.hpp +++ b/source/World/LevelData.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/World/LevelListener.cpp b/source/World/LevelListener.cpp index 7763678..21aec3b 100644 --- a/source/World/LevelListener.cpp +++ b/source/World/LevelListener.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "LevelListener.hpp" void LevelListener::tileChanged(int x, int y, int z) diff --git a/source/World/LevelListener.hpp b/source/World/LevelListener.hpp index 8f3409f..ea8ff57 100644 --- a/source/World/LevelListener.hpp +++ b/source/World/LevelListener.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include #include "TripodCamera.hpp" diff --git a/source/World/LightLayer.cpp b/source/World/LightLayer.cpp index d8beecb..89c67a0 100644 --- a/source/World/LightLayer.cpp +++ b/source/World/LightLayer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "LightLayer.hpp" LightLayer LightLayer::Sky(15), LightLayer::Block(0); diff --git a/source/World/LightLayer.hpp b/source/World/LightLayer.hpp index d439dc4..367ff1d 100644 --- a/source/World/LightLayer.hpp +++ b/source/World/LightLayer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once class LightLayer diff --git a/source/World/LightUpdate.cpp b/source/World/LightUpdate.cpp index 5514b75..9e498ed 100644 --- a/source/World/LightUpdate.cpp +++ b/source/World/LightUpdate.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "LightUpdate.hpp" #include "Level.hpp" diff --git a/source/World/LightUpdate.hpp b/source/World/LightUpdate.hpp index 99f1101..0fb7bc4 100644 --- a/source/World/LightUpdate.hpp +++ b/source/World/LightUpdate.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "LightLayer.hpp" diff --git a/source/World/Material.cpp b/source/World/Material.cpp index d854edf..6982799 100644 --- a/source/World/Material.cpp +++ b/source/World/Material.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Material.hpp" Material::Material() diff --git a/source/World/Material.hpp b/source/World/Material.hpp index d1052c2..106900a 100644 --- a/source/World/Material.hpp +++ b/source/World/Material.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once class Material diff --git a/source/World/Particle/BubbleParticle.cpp b/source/World/Particle/BubbleParticle.cpp index 8ea4d3b..e521a02 100644 --- a/source/World/Particle/BubbleParticle.cpp +++ b/source/World/Particle/BubbleParticle.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Particle.hpp" #include "Level.hpp" diff --git a/source/World/Particle/ExplodeParticle.cpp b/source/World/Particle/ExplodeParticle.cpp index b30c5e4..9389d1a 100644 --- a/source/World/Particle/ExplodeParticle.cpp +++ b/source/World/Particle/ExplodeParticle.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Particle.hpp" ExplodeParticle::ExplodeParticle(Level* level, float x, float y, float z, float vx, float vy, float vz) : diff --git a/source/World/Particle/FlameParticle.cpp b/source/World/Particle/FlameParticle.cpp index f00acbd..8b5821d 100644 --- a/source/World/Particle/FlameParticle.cpp +++ b/source/World/Particle/FlameParticle.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Particle.hpp" FlameParticle::FlameParticle(Level* level, float x, float y, float z, float vx, float vy, float vz) : diff --git a/source/World/Particle/LavaParticle.cpp b/source/World/Particle/LavaParticle.cpp index f69f2d7..2f016c1 100644 --- a/source/World/Particle/LavaParticle.cpp +++ b/source/World/Particle/LavaParticle.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Particle.hpp" #include "Level.hpp" diff --git a/source/World/Particle/Particle.cpp b/source/World/Particle/Particle.cpp index d32c63c..3e7ddb4 100644 --- a/source/World/Particle/Particle.cpp +++ b/source/World/Particle/Particle.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Particle.hpp" float Particle::xOff, Particle::yOff, Particle::zOff; diff --git a/source/World/Particle/Particle.hpp b/source/World/Particle/Particle.hpp index 9210d5b..50f8c29 100644 --- a/source/World/Particle/Particle.hpp +++ b/source/World/Particle/Particle.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Entity.hpp" diff --git a/source/World/Particle/ParticleEngine.cpp b/source/World/Particle/ParticleEngine.cpp index 9f8e150..72aa74a 100644 --- a/source/World/Particle/ParticleEngine.cpp +++ b/source/World/Particle/ParticleEngine.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include #include "ParticleEngine.hpp" diff --git a/source/World/Particle/ParticleEngine.hpp b/source/World/Particle/ParticleEngine.hpp index 696353b..2b17fcc 100644 --- a/source/World/Particle/ParticleEngine.hpp +++ b/source/World/Particle/ParticleEngine.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Level.hpp" diff --git a/source/World/Particle/RedDustParticle.cpp b/source/World/Particle/RedDustParticle.cpp index 19d0932..2fdd9b5 100644 --- a/source/World/Particle/RedDustParticle.cpp +++ b/source/World/Particle/RedDustParticle.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Particle.hpp" RedDustParticle::RedDustParticle(Level* level, float x, float y, float z, float vx, float vy, float vz) : diff --git a/source/World/Particle/SmokeParticle.cpp b/source/World/Particle/SmokeParticle.cpp index ae75467..9f10ff3 100644 --- a/source/World/Particle/SmokeParticle.cpp +++ b/source/World/Particle/SmokeParticle.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Particle.hpp" SmokeParticle::SmokeParticle(Level* level, float x, float y, float z, float vx, float vy, float vz, float a9) : diff --git a/source/World/Particle/TerrainParticle.cpp b/source/World/Particle/TerrainParticle.cpp index 5b91a02..1e4583d 100644 --- a/source/World/Particle/TerrainParticle.cpp +++ b/source/World/Particle/TerrainParticle.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Particle.hpp" #include "Level.hpp" diff --git a/source/World/Region.cpp b/source/World/Region.cpp index a409187..7ca9926 100644 --- a/source/World/Region.cpp +++ b/source/World/Region.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Region.hpp" TileID Region::getTile(int x, int y, int z) diff --git a/source/World/Region.hpp b/source/World/Region.hpp index 3318764..23aac49 100644 --- a/source/World/Region.hpp +++ b/source/World/Region.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Level.hpp" diff --git a/source/World/Renderer/Chunk.cpp b/source/World/Renderer/Chunk.cpp index 8c7cf5f..6bfae87 100644 --- a/source/World/Renderer/Chunk.cpp +++ b/source/World/Renderer/Chunk.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Chunk.hpp" #include "Level.hpp" #include "Region.hpp" diff --git a/source/World/Renderer/Chunk.hpp b/source/World/Renderer/Chunk.hpp index 66fa16b..03cdc11 100644 --- a/source/World/Renderer/Chunk.hpp +++ b/source/World/Renderer/Chunk.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Utils.hpp" diff --git a/source/World/Renderer/Culler.cpp b/source/World/Renderer/Culler.cpp index 162caea..190781a 100644 --- a/source/World/Renderer/Culler.cpp +++ b/source/World/Renderer/Culler.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Culler.hpp" void Culler::prepare(float x, float y, float z) diff --git a/source/World/Renderer/Culler.hpp b/source/World/Renderer/Culler.hpp index eb6b682..832a090 100644 --- a/source/World/Renderer/Culler.hpp +++ b/source/World/Renderer/Culler.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "AABB.hpp" diff --git a/source/World/Renderer/EntityRenderDispatcher.cpp b/source/World/Renderer/EntityRenderDispatcher.cpp index 05718a0..24ed0e7 100644 --- a/source/World/Renderer/EntityRenderDispatcher.cpp +++ b/source/World/Renderer/EntityRenderDispatcher.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "EntityRenderDispatcher.hpp" #include "ItemInHandRenderer.hpp" #include "Minecraft.hpp" diff --git a/source/World/Renderer/EntityRenderDispatcher.hpp b/source/World/Renderer/EntityRenderDispatcher.hpp index c6c66e0..65fe6ab 100644 --- a/source/World/Renderer/EntityRenderDispatcher.hpp +++ b/source/World/Renderer/EntityRenderDispatcher.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "EntityRenderer.hpp" diff --git a/source/World/Renderer/EntityRenderer.cpp b/source/World/Renderer/EntityRenderer.cpp index d08ebb6..c70c507 100644 --- a/source/World/Renderer/EntityRenderer.cpp +++ b/source/World/Renderer/EntityRenderer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "EntityRenderer.hpp" #include "EntityRenderDispatcher.hpp" diff --git a/source/World/Renderer/EntityRenderer.hpp b/source/World/Renderer/EntityRenderer.hpp index ec1ae32..fc7aa7f 100644 --- a/source/World/Renderer/EntityRenderer.hpp +++ b/source/World/Renderer/EntityRenderer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "HumanoidModel.hpp" diff --git a/source/World/Renderer/FallingTileRenderer.cpp b/source/World/Renderer/FallingTileRenderer.cpp index 39f6651..add3948 100644 --- a/source/World/Renderer/FallingTileRenderer.cpp +++ b/source/World/Renderer/FallingTileRenderer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Utils.hpp" // include the utils only to let us know what enhancements we have #if defined(ENH_ALLOW_SAND_GRAVITY) #include "FallingTileRenderer.hpp" diff --git a/source/World/Renderer/FallingTileRenderer.hpp b/source/World/Renderer/FallingTileRenderer.hpp index beec998..4903fea 100644 --- a/source/World/Renderer/FallingTileRenderer.hpp +++ b/source/World/Renderer/FallingTileRenderer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #if defined(ENH_ALLOW_SAND_GRAVITY) diff --git a/source/World/Renderer/Frustum.cpp b/source/World/Renderer/Frustum.cpp index d5141b0..e0e45d0 100644 --- a/source/World/Renderer/Frustum.cpp +++ b/source/World/Renderer/Frustum.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Frustum.hpp" Frustum Frustum::frustum; diff --git a/source/World/Renderer/Frustum.hpp b/source/World/Renderer/Frustum.hpp index 5cd5b43..e01ad23 100644 --- a/source/World/Renderer/Frustum.hpp +++ b/source/World/Renderer/Frustum.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Matrix.hpp" diff --git a/source/World/Renderer/FrustumCuller.cpp b/source/World/Renderer/FrustumCuller.cpp index 7984ad1..4b699ae 100644 --- a/source/World/Renderer/FrustumCuller.cpp +++ b/source/World/Renderer/FrustumCuller.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "FrustumCuller.hpp" bool FrustumCuller::cubeFullyInFrustum(float minX, float minY, float minZ, float maxX, float maxY, float maxZ) diff --git a/source/World/Renderer/FrustumCuller.hpp b/source/World/Renderer/FrustumCuller.hpp index 357edd5..d3f88a9 100644 --- a/source/World/Renderer/FrustumCuller.hpp +++ b/source/World/Renderer/FrustumCuller.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Vec3.hpp" diff --git a/source/World/Renderer/HumanoidMobRenderer.cpp b/source/World/Renderer/HumanoidMobRenderer.cpp index e836307..92c7111 100644 --- a/source/World/Renderer/HumanoidMobRenderer.cpp +++ b/source/World/Renderer/HumanoidMobRenderer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "HumanoidMobRenderer.hpp" #include "EntityRenderDispatcher.hpp" #include "ItemInHandRenderer.hpp" diff --git a/source/World/Renderer/HumanoidMobRenderer.hpp b/source/World/Renderer/HumanoidMobRenderer.hpp index aef4138..9d68f2a 100644 --- a/source/World/Renderer/HumanoidMobRenderer.hpp +++ b/source/World/Renderer/HumanoidMobRenderer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "MobRenderer.hpp" diff --git a/source/World/Renderer/ItemInHandRenderer.cpp b/source/World/Renderer/ItemInHandRenderer.cpp index ad2bdb6..8d6eac6 100644 --- a/source/World/Renderer/ItemInHandRenderer.cpp +++ b/source/World/Renderer/ItemInHandRenderer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ItemInHandRenderer.hpp" #include "Minecraft.hpp" diff --git a/source/World/Renderer/ItemInHandRenderer.hpp b/source/World/Renderer/ItemInHandRenderer.hpp index d89f477..b5b8249 100644 --- a/source/World/Renderer/ItemInHandRenderer.hpp +++ b/source/World/Renderer/ItemInHandRenderer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "ItemInstance.hpp" diff --git a/source/World/Renderer/ItemRenderer.cpp b/source/World/Renderer/ItemRenderer.cpp index bc1ec07..00f23d6 100644 --- a/source/World/Renderer/ItemRenderer.cpp +++ b/source/World/Renderer/ItemRenderer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ItemRenderer.hpp" #include "TileRenderer.hpp" #include "ItemEntity.hpp" diff --git a/source/World/Renderer/ItemRenderer.hpp b/source/World/Renderer/ItemRenderer.hpp index 04e04a7..37d4997 100644 --- a/source/World/Renderer/ItemRenderer.hpp +++ b/source/World/Renderer/ItemRenderer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "EntityRenderer.hpp" diff --git a/source/World/Renderer/LevelRenderer.cpp b/source/World/Renderer/LevelRenderer.cpp index 5bc0520..b9a09ac 100644 --- a/source/World/Renderer/LevelRenderer.cpp +++ b/source/World/Renderer/LevelRenderer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "LevelRenderer.hpp" #include "Minecraft.hpp" @@ -678,7 +686,7 @@ typedef ChunkVector::iterator ChunkVectorIterator; bool LevelRenderer::updateDirtyChunks(Mob* pMob, bool b) { - // @TODO: untangle this shit + // @TODO: untangle this thing int v3; // r4 ChunkVectorIterator field_88_Beg; // r3 diff --git a/source/World/Renderer/LevelRenderer.hpp b/source/World/Renderer/LevelRenderer.hpp index 3964696..21d025b 100644 --- a/source/World/Renderer/LevelRenderer.hpp +++ b/source/World/Renderer/LevelRenderer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/World/Renderer/MobRenderer.cpp b/source/World/Renderer/MobRenderer.cpp index 9daaf5d..190b574 100644 --- a/source/World/Renderer/MobRenderer.cpp +++ b/source/World/Renderer/MobRenderer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "MobRenderer.hpp" #include "EntityRenderDispatcher.hpp" diff --git a/source/World/Renderer/MobRenderer.hpp b/source/World/Renderer/MobRenderer.hpp index 65e6d69..5c25053 100644 --- a/source/World/Renderer/MobRenderer.hpp +++ b/source/World/Renderer/MobRenderer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "EntityRenderer.hpp" diff --git a/source/World/Renderer/TileRenderer.cpp b/source/World/Renderer/TileRenderer.cpp index 982068e..d8e119b 100644 --- a/source/World/Renderer/TileRenderer.cpp +++ b/source/World/Renderer/TileRenderer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "TileRenderer.hpp" #include "Minecraft.hpp" diff --git a/source/World/Renderer/TileRenderer.hpp b/source/World/Renderer/TileRenderer.hpp index 678cc97..56a5f5c 100644 --- a/source/World/Renderer/TileRenderer.hpp +++ b/source/World/Renderer/TileRenderer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Region.hpp" diff --git a/source/World/Renderer/TntRenderer.cpp b/source/World/Renderer/TntRenderer.cpp index 64fdb87..d6f85fb 100644 --- a/source/World/Renderer/TntRenderer.cpp +++ b/source/World/Renderer/TntRenderer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "TntRenderer.hpp" #include "PrimedTnt.hpp" diff --git a/source/World/Renderer/TntRenderer.hpp b/source/World/Renderer/TntRenderer.hpp index 708fd5a..783a8c7 100644 --- a/source/World/Renderer/TntRenderer.hpp +++ b/source/World/Renderer/TntRenderer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "EntityRenderer.hpp" diff --git a/source/World/Renderer/TripodCameraRenderer.cpp b/source/World/Renderer/TripodCameraRenderer.cpp index 04d5a62..1d19c96 100644 --- a/source/World/Renderer/TripodCameraRenderer.cpp +++ b/source/World/Renderer/TripodCameraRenderer.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "TripodCameraRenderer.hpp" #include "Minecraft.hpp" diff --git a/source/World/Renderer/TripodCameraRenderer.hpp b/source/World/Renderer/TripodCameraRenderer.hpp index 9b732a4..0b1335f 100644 --- a/source/World/Renderer/TripodCameraRenderer.hpp +++ b/source/World/Renderer/TripodCameraRenderer.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "EntityRenderer.hpp" diff --git a/source/World/Storage/ChunkStorage.cpp b/source/World/Storage/ChunkStorage.cpp index 9598d54..58c2eda 100644 --- a/source/World/Storage/ChunkStorage.cpp +++ b/source/World/Storage/ChunkStorage.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "ChunkStorage.hpp" ChunkStorage::~ChunkStorage() diff --git a/source/World/Storage/ChunkStorage.hpp b/source/World/Storage/ChunkStorage.hpp index 492ca36..2b10db3 100644 --- a/source/World/Storage/ChunkStorage.hpp +++ b/source/World/Storage/ChunkStorage.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/World/Storage/LevelSource.cpp b/source/World/Storage/LevelSource.cpp index bf956e3..9eb5ca1 100644 --- a/source/World/Storage/LevelSource.cpp +++ b/source/World/Storage/LevelSource.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "LevelSource.hpp" LevelSource::~LevelSource() diff --git a/source/World/Storage/LevelSource.hpp b/source/World/Storage/LevelSource.hpp index 91b1092..a3099fc 100644 --- a/source/World/Storage/LevelSource.hpp +++ b/source/World/Storage/LevelSource.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "Utils.hpp" diff --git a/source/World/Storage/LevelStorage.cpp b/source/World/Storage/LevelStorage.cpp index a535f34..5f105ff 100644 --- a/source/World/Storage/LevelStorage.cpp +++ b/source/World/Storage/LevelStorage.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "LevelStorage.hpp" LevelStorage::~LevelStorage() diff --git a/source/World/Storage/LevelStorage.hpp b/source/World/Storage/LevelStorage.hpp index 14600da..ba5d2ec 100644 --- a/source/World/Storage/LevelStorage.hpp +++ b/source/World/Storage/LevelStorage.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "ChunkStorage.hpp" diff --git a/source/World/Storage/LevelStorageSource.cpp b/source/World/Storage/LevelStorageSource.cpp index 39b8ed7..0fe53e8 100644 --- a/source/World/Storage/LevelStorageSource.cpp +++ b/source/World/Storage/LevelStorageSource.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "LevelStorageSource.hpp" LevelStorageSource::~LevelStorageSource() diff --git a/source/World/Storage/LevelStorageSource.hpp b/source/World/Storage/LevelStorageSource.hpp index 61d3ec7..a327515 100644 --- a/source/World/Storage/LevelStorageSource.hpp +++ b/source/World/Storage/LevelStorageSource.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "LevelStorage.hpp" diff --git a/source/World/Storage/MemoryChunkStorage.cpp b/source/World/Storage/MemoryChunkStorage.cpp index d7bb073..3407705 100644 --- a/source/World/Storage/MemoryChunkStorage.cpp +++ b/source/World/Storage/MemoryChunkStorage.cpp @@ -1 +1,9 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "MemoryChunkStorage.hpp" diff --git a/source/World/Storage/MemoryChunkStorage.hpp b/source/World/Storage/MemoryChunkStorage.hpp index 7c68dd6..78e18b8 100644 --- a/source/World/Storage/MemoryChunkStorage.hpp +++ b/source/World/Storage/MemoryChunkStorage.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "ChunkStorage.hpp" diff --git a/source/World/Storage/MemoryLevelStorage.cpp b/source/World/Storage/MemoryLevelStorage.cpp index 3674090..fd5dfcf 100644 --- a/source/World/Storage/MemoryLevelStorage.cpp +++ b/source/World/Storage/MemoryLevelStorage.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "MemoryLevelStorage.hpp" #include "MemoryChunkStorage.hpp" #include "LevelData.hpp" diff --git a/source/World/Storage/MemoryLevelStorage.hpp b/source/World/Storage/MemoryLevelStorage.hpp index 12cbe7b..9bb7a0f 100644 --- a/source/World/Storage/MemoryLevelStorage.hpp +++ b/source/World/Storage/MemoryLevelStorage.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "LevelStorage.hpp" diff --git a/source/World/Storage/MemoryLevelStorageSource.cpp b/source/World/Storage/MemoryLevelStorageSource.cpp index 96f6725..25021d5 100644 --- a/source/World/Storage/MemoryLevelStorageSource.cpp +++ b/source/World/Storage/MemoryLevelStorageSource.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "MemoryLevelStorage.hpp" #include "MemoryLevelStorageSource.hpp" diff --git a/source/World/Storage/MemoryLevelStorageSource.hpp b/source/World/Storage/MemoryLevelStorageSource.hpp index 4eca068..4833358 100644 --- a/source/World/Storage/MemoryLevelStorageSource.hpp +++ b/source/World/Storage/MemoryLevelStorageSource.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include "LevelStorageSource.hpp" diff --git a/source/World/TickNextTickData.cpp b/source/World/TickNextTickData.cpp index 0f5da9f..158859f 100644 --- a/source/World/TickNextTickData.cpp +++ b/source/World/TickNextTickData.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "TickNextTickData.hpp" int TickNextTickData::C; diff --git a/source/World/TickNextTickData.hpp b/source/World/TickNextTickData.hpp index 3a79844..59bbdcf 100644 --- a/source/World/TickNextTickData.hpp +++ b/source/World/TickNextTickData.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once struct TickNextTickData diff --git a/source/World/Tile/Bush.cpp b/source/World/Tile/Bush.cpp index 1ef2828..cc7d87c 100644 --- a/source/World/Tile/Bush.cpp +++ b/source/World/Tile/Bush.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/ClayTile.cpp b/source/World/Tile/ClayTile.cpp index 928f556..101e9ee 100644 --- a/source/World/Tile/ClayTile.cpp +++ b/source/World/Tile/ClayTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/ClothTile.cpp b/source/World/Tile/ClothTile.cpp index 828f336..c0119e3 100644 --- a/source/World/Tile/ClothTile.cpp +++ b/source/World/Tile/ClothTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/DirtTile.cpp b/source/World/Tile/DirtTile.cpp index aff25a9..15a41e8 100644 --- a/source/World/Tile/DirtTile.cpp +++ b/source/World/Tile/DirtTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/DoorTile.cpp b/source/World/Tile/DoorTile.cpp index f5a8155..5b859e9 100644 --- a/source/World/Tile/DoorTile.cpp +++ b/source/World/Tile/DoorTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Item.hpp" #include "Level.hpp" diff --git a/source/World/Tile/FarmTile.cpp b/source/World/Tile/FarmTile.cpp index 5eb5c6a..bd249f7 100644 --- a/source/World/Tile/FarmTile.cpp +++ b/source/World/Tile/FarmTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/FireTile.cpp b/source/World/Tile/FireTile.cpp index a4c7513..65f155b 100644 --- a/source/World/Tile/FireTile.cpp +++ b/source/World/Tile/FireTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/GlassTile.cpp b/source/World/Tile/GlassTile.cpp index 32120b7..11c0bda 100644 --- a/source/World/Tile/GlassTile.cpp +++ b/source/World/Tile/GlassTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/GrassTile.cpp b/source/World/Tile/GrassTile.cpp index 4fa1a96..3599c3b 100644 --- a/source/World/Tile/GrassTile.cpp +++ b/source/World/Tile/GrassTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/GravelTile.cpp b/source/World/Tile/GravelTile.cpp index 7547519..90a1089 100644 --- a/source/World/Tile/GravelTile.cpp +++ b/source/World/Tile/GravelTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/HalfTransparentTile.cpp b/source/World/Tile/HalfTransparentTile.cpp index 1474d9e..66dcc9c 100644 --- a/source/World/Tile/HalfTransparentTile.cpp +++ b/source/World/Tile/HalfTransparentTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/IceTile.cpp b/source/World/Tile/IceTile.cpp index 4ea91f7..b40bbba 100644 --- a/source/World/Tile/IceTile.cpp +++ b/source/World/Tile/IceTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/InvisibleTile.cpp b/source/World/Tile/InvisibleTile.cpp index 003285d..155c4a4 100644 --- a/source/World/Tile/InvisibleTile.cpp +++ b/source/World/Tile/InvisibleTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/LadderTile.cpp b/source/World/Tile/LadderTile.cpp index fa42f61..d851464 100644 --- a/source/World/Tile/LadderTile.cpp +++ b/source/World/Tile/LadderTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/LeafTile.cpp b/source/World/Tile/LeafTile.cpp index 0b9312d..23774be 100644 --- a/source/World/Tile/LeafTile.cpp +++ b/source/World/Tile/LeafTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/LiquidTile.cpp b/source/World/Tile/LiquidTile.cpp index 98bcae9..dcba9c0 100644 --- a/source/World/Tile/LiquidTile.cpp +++ b/source/World/Tile/LiquidTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/LiquidTileDynamic.cpp b/source/World/Tile/LiquidTileDynamic.cpp index 4a9243c..af0806e 100644 --- a/source/World/Tile/LiquidTileDynamic.cpp +++ b/source/World/Tile/LiquidTileDynamic.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/LiquidTileStatic.cpp b/source/World/Tile/LiquidTileStatic.cpp index 9fdb38c..693a019 100644 --- a/source/World/Tile/LiquidTileStatic.cpp +++ b/source/World/Tile/LiquidTileStatic.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/MetalTile.cpp b/source/World/Tile/MetalTile.cpp index df0ea9f..1621543 100644 --- a/source/World/Tile/MetalTile.cpp +++ b/source/World/Tile/MetalTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/ObsidianTile.cpp b/source/World/Tile/ObsidianTile.cpp index 5ae50c1..da1a3bd 100644 --- a/source/World/Tile/ObsidianTile.cpp +++ b/source/World/Tile/ObsidianTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/OreTile.cpp b/source/World/Tile/OreTile.cpp index cd6d422..a4c7bcc 100644 --- a/source/World/Tile/OreTile.cpp +++ b/source/World/Tile/OreTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/RedStoneOreTile.cpp b/source/World/Tile/RedStoneOreTile.cpp index d490bcf..000fcce 100644 --- a/source/World/Tile/RedStoneOreTile.cpp +++ b/source/World/Tile/RedStoneOreTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/ReedTile.cpp b/source/World/Tile/ReedTile.cpp index e5cc081..7ede47e 100644 --- a/source/World/Tile/ReedTile.cpp +++ b/source/World/Tile/ReedTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/SandStoneTile.cpp b/source/World/Tile/SandStoneTile.cpp index ef39e04..8aa6614 100644 --- a/source/World/Tile/SandStoneTile.cpp +++ b/source/World/Tile/SandStoneTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/SandTile.cpp b/source/World/Tile/SandTile.cpp index c341726..5f3e8d1 100644 --- a/source/World/Tile/SandTile.cpp +++ b/source/World/Tile/SandTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" #include "FallingTile.hpp" diff --git a/source/World/Tile/StairTile.cpp b/source/World/Tile/StairTile.cpp index dd8411a..5e00bea 100644 --- a/source/World/Tile/StairTile.cpp +++ b/source/World/Tile/StairTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/StoneSlabTile.cpp b/source/World/Tile/StoneSlabTile.cpp index 9b68bfd..3599986 100644 --- a/source/World/Tile/StoneSlabTile.cpp +++ b/source/World/Tile/StoneSlabTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/StoneTile.cpp b/source/World/Tile/StoneTile.cpp index 96113fa..5419837 100644 --- a/source/World/Tile/StoneTile.cpp +++ b/source/World/Tile/StoneTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/Tile.cpp b/source/World/Tile/Tile.cpp index 6da9946..3c13cb0 100644 --- a/source/World/Tile/Tile.cpp +++ b/source/World/Tile/Tile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Level.hpp" #include "Item.hpp" #include "ItemEntity.hpp" diff --git a/source/World/Tile/Tile.hpp b/source/World/Tile/Tile.hpp index bedb700..c2fcf76 100644 --- a/source/World/Tile/Tile.hpp +++ b/source/World/Tile/Tile.hpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #pragma once #include diff --git a/source/World/Tile/TntTile.cpp b/source/World/Tile/TntTile.cpp index 3713e74..963cb37 100644 --- a/source/World/Tile/TntTile.cpp +++ b/source/World/Tile/TntTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" #include "PrimedTnt.hpp" diff --git a/source/World/Tile/TopSnowTile.cpp b/source/World/Tile/TopSnowTile.cpp index b2c26c5..496cee1 100644 --- a/source/World/Tile/TopSnowTile.cpp +++ b/source/World/Tile/TopSnowTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/TorchTile.cpp b/source/World/Tile/TorchTile.cpp index 6ffdac1..506a353 100644 --- a/source/World/Tile/TorchTile.cpp +++ b/source/World/Tile/TorchTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/TransparentTile.cpp b/source/World/Tile/TransparentTile.cpp index 86e12f0..7c07423 100644 --- a/source/World/Tile/TransparentTile.cpp +++ b/source/World/Tile/TransparentTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/World/Tile/TreeTile.cpp b/source/World/Tile/TreeTile.cpp index 1ff41ac..b801794 100644 --- a/source/World/Tile/TreeTile.cpp +++ b/source/World/Tile/TreeTile.cpp @@ -1,3 +1,11 @@ +/******************************************************************** + Minecraft: Pocket Edition - Decompilation Project + Copyright (C) 2023 iProgramInCpp + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause + ********************************************************************/ + #include "Tile.hpp" #include "Level.hpp" diff --git a/source/main.cpp b/source/main.cpp index 957731e..c10e37b 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -1,12 +1,11 @@ /******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp - - main.cpp - - The following code is licensed under the following license: - < no license yet :( > + + The following code is licensed under the BSD 1 clause license. + SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ + #include #include