diff --git a/Editor/CMakeLists.txt~ b/Editor/CMakeLists.txt~ deleted file mode 100644 index 256fb3e..0000000 --- a/Editor/CMakeLists.txt~ +++ /dev/null @@ -1,8 +0,0 @@ -cmake_minimum_required(VERSION 4.2) - -project(Editor) - -set(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/editor.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/playerEditor.cpp) - -add_library(Editor SHARED ${SOURCES}) -target_include_directories(Editor PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/headers) diff --git a/Editor/headers/editor.h~ b/Editor/headers/editor.h~ deleted file mode 100644 index 53de911..0000000 --- a/Editor/headers/editor.h~ +++ /dev/null @@ -1,12 +0,0 @@ -#pragma once - -#include -#include - -class Editor -{ - - private: - - public: -}; diff --git a/Editor/headers/playerEditor.h~ b/Editor/headers/playerEditor.h~ deleted file mode 100644 index f08ba42..0000000 --- a/Editor/headers/playerEditor.h~ +++ /dev/null @@ -1,39 +0,0 @@ -#pragma once -#include -#include -#include -#include -#include -#include "Extern/json.hpp" -#include "Creature.h" - -struct PlayerE : Creature -{ - - int id; - int level; - std::vector stats; - std::string name; - std::string description; - - void Init(); - void LevelUp(); - void Die(); - void TakeDamage(int damageType, float damage); - float GetHealth(); -} - - -class PlayerEditor -{ - private: - Player *toEdit; - std::vector players; - - std::vector commands; - public: - void Create(); - void Edit(); - - bool Save(); -}; diff --git a/Editor/src/playerEditor.cpp~ b/Editor/src/playerEditor.cpp~ deleted file mode 100644 index 6d96daa..0000000 --- a/Editor/src/playerEditor.cpp~ +++ /dev/null @@ -1,21 +0,0 @@ -#include "playerEditor.h" - -void Create() -{ - if (toEdit == nullptr) - { - toEdit = new PlayerE(); - } - players.push_back(toEdit); -} - - -void Edit() -{ - - printf("Options: %s\n"); - for (auto command : commands.begin())' - { - printf("%s\n", command.c_str()); - } -} diff --git a/Engine/src/main.cpp~ b/Engine/src/main.cpp~ deleted file mode 100644 index 3bafe10..0000000 --- a/Engine/src/main.cpp~ +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() -{ - - return 0; -} diff --git a/Engine/src/scenery.cpp~ b/Engine/src/scenery.cpp~ deleted file mode 100644 index 4d0c57b..0000000 --- a/Engine/src/scenery.cpp~ +++ /dev/null @@ -1 +0,0 @@ -#include "object.h"