From dead2521c8f1211078535c0c2a98270143b87452 Mon Sep 17 00:00:00 2001 From: 4VRDriver <44267643+4VRDriver@users.noreply.github.com> Date: Sat, 5 Sep 2020 11:32:30 +0200 Subject: [PATCH] Reorganize and add License --- CMakeLists.txt | 20 ++++++++++---------- Fall-Fever | 2 +- LICENSE | 21 +++++++++++++++++++++ Camera.cpp => src/Camera.cpp | 0 Camera.h => src/Camera.h | 0 Controller.cpp => src/Controller.cpp | 0 Controller.h => src/Controller.h | 0 EventHandler.cpp => src/EventHandler.cpp | 0 EventHandler.h => src/EventHandler.h | 0 Mesh.cpp => src/Mesh.cpp | 0 Mesh.h => src/Mesh.h | 0 Model.cpp => src/Model.cpp | 0 Model.h => src/Model.h | 0 ShaderProgram.cpp => src/ShaderProgram.cpp | 0 ShaderProgram.h => src/ShaderProgram.h | 0 Texture.cpp => src/Texture.cpp | 0 Texture.h => src/Texture.h | 0 VertexBuffer.cpp => src/VertexBuffer.cpp | 0 VertexBuffer.h => src/VertexBuffer.h | 0 Window.cpp => src/Window.cpp | 0 Window.h => src/Window.h | 0 defines.h => src/defines.h | 0 eventActions.h => src/eventActions.h | 0 main.cpp => src/main.cpp | 0 24 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 LICENSE rename Camera.cpp => src/Camera.cpp (100%) rename Camera.h => src/Camera.h (100%) rename Controller.cpp => src/Controller.cpp (100%) rename Controller.h => src/Controller.h (100%) rename EventHandler.cpp => src/EventHandler.cpp (100%) rename EventHandler.h => src/EventHandler.h (100%) rename Mesh.cpp => src/Mesh.cpp (100%) rename Mesh.h => src/Mesh.h (100%) rename Model.cpp => src/Model.cpp (100%) rename Model.h => src/Model.h (100%) rename ShaderProgram.cpp => src/ShaderProgram.cpp (100%) rename ShaderProgram.h => src/ShaderProgram.h (100%) rename Texture.cpp => src/Texture.cpp (100%) rename Texture.h => src/Texture.h (100%) rename VertexBuffer.cpp => src/VertexBuffer.cpp (100%) rename VertexBuffer.h => src/VertexBuffer.h (100%) rename Window.cpp => src/Window.cpp (100%) rename Window.h => src/Window.h (100%) rename defines.h => src/defines.h (100%) rename eventActions.h => src/eventActions.h (100%) rename main.cpp => src/main.cpp (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b8ce25..b3dfb1d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,16 +16,16 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG") add_executable(Fall-Fever - main.cpp - Controller.cpp - Window.cpp - EventHandler.cpp - ShaderProgram.cpp - VertexBuffer.cpp - Texture.cpp - Camera.cpp - Mesh.cpp - Model.cpp + src/main.cpp + src/Controller.cpp + src/Window.cpp + src/EventHandler.cpp + src/ShaderProgram.cpp + src/VertexBuffer.cpp + src/Texture.cpp + src/Camera.cpp + src/Mesh.cpp + src/Model.cpp ) target_link_libraries( diff --git a/Fall-Fever b/Fall-Fever index 4f45bfc..a219058 120000 --- a/Fall-Fever +++ b/Fall-Fever @@ -1 +1 @@ -/home/derek/Projekte/Fall-Fever/build/Fall-Fever \ No newline at end of file +/home/derek/Projekte/CXX/Fall-Fever/build/Fall-Fever \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..dac5387 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 4VRDriver + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Camera.cpp b/src/Camera.cpp similarity index 100% rename from Camera.cpp rename to src/Camera.cpp diff --git a/Camera.h b/src/Camera.h similarity index 100% rename from Camera.h rename to src/Camera.h diff --git a/Controller.cpp b/src/Controller.cpp similarity index 100% rename from Controller.cpp rename to src/Controller.cpp diff --git a/Controller.h b/src/Controller.h similarity index 100% rename from Controller.h rename to src/Controller.h diff --git a/EventHandler.cpp b/src/EventHandler.cpp similarity index 100% rename from EventHandler.cpp rename to src/EventHandler.cpp diff --git a/EventHandler.h b/src/EventHandler.h similarity index 100% rename from EventHandler.h rename to src/EventHandler.h diff --git a/Mesh.cpp b/src/Mesh.cpp similarity index 100% rename from Mesh.cpp rename to src/Mesh.cpp diff --git a/Mesh.h b/src/Mesh.h similarity index 100% rename from Mesh.h rename to src/Mesh.h diff --git a/Model.cpp b/src/Model.cpp similarity index 100% rename from Model.cpp rename to src/Model.cpp diff --git a/Model.h b/src/Model.h similarity index 100% rename from Model.h rename to src/Model.h diff --git a/ShaderProgram.cpp b/src/ShaderProgram.cpp similarity index 100% rename from ShaderProgram.cpp rename to src/ShaderProgram.cpp diff --git a/ShaderProgram.h b/src/ShaderProgram.h similarity index 100% rename from ShaderProgram.h rename to src/ShaderProgram.h diff --git a/Texture.cpp b/src/Texture.cpp similarity index 100% rename from Texture.cpp rename to src/Texture.cpp diff --git a/Texture.h b/src/Texture.h similarity index 100% rename from Texture.h rename to src/Texture.h diff --git a/VertexBuffer.cpp b/src/VertexBuffer.cpp similarity index 100% rename from VertexBuffer.cpp rename to src/VertexBuffer.cpp diff --git a/VertexBuffer.h b/src/VertexBuffer.h similarity index 100% rename from VertexBuffer.h rename to src/VertexBuffer.h diff --git a/Window.cpp b/src/Window.cpp similarity index 100% rename from Window.cpp rename to src/Window.cpp diff --git a/Window.h b/src/Window.h similarity index 100% rename from Window.h rename to src/Window.h diff --git a/defines.h b/src/defines.h similarity index 100% rename from defines.h rename to src/defines.h diff --git a/eventActions.h b/src/eventActions.h similarity index 100% rename from eventActions.h rename to src/eventActions.h diff --git a/main.cpp b/src/main.cpp similarity index 100% rename from main.cpp rename to src/main.cpp