From bbd6c5b532134a4bab9600683b85084ef73e64e8 Mon Sep 17 00:00:00 2001 From: CPunch Date: Fri, 21 Aug 2020 21:03:12 -0500 Subject: [PATCH] moved header libraries --- Makefile | 3 ++- src/NPCManager.cpp | 2 +- src/{ => contrib}/INIReader.hpp | 0 src/{ => contrib}/JSON.hpp | 0 src/settings.cpp | 2 +- 5 files changed, 4 insertions(+), 3 deletions(-) rename src/{ => contrib}/INIReader.hpp (100%) rename src/{ => contrib}/JSON.hpp (100%) diff --git a/Makefile b/Makefile index be6ed7a..d8eef65 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,8 @@ HDR=\ src/CNShardServer.hpp\ src/CNShared.hpp\ src/CNStructs.hpp\ - src/INIReader.hpp\ + src/contrib/INIReader.hpp\ + src/contrib/JSON.hpp\ src/NanoManager.hpp\ src/ItemManager.hpp\ src/NPCManager.hpp\ diff --git a/src/NPCManager.cpp b/src/NPCManager.cpp index 8ac6a0d..42206dd 100644 --- a/src/NPCManager.cpp +++ b/src/NPCManager.cpp @@ -6,7 +6,7 @@ #include #include -#include "JSON.hpp" +#include "contrib/JSON.hpp" std::map NPCManager::NPCs; diff --git a/src/INIReader.hpp b/src/contrib/INIReader.hpp similarity index 100% rename from src/INIReader.hpp rename to src/contrib/INIReader.hpp diff --git a/src/JSON.hpp b/src/contrib/JSON.hpp similarity index 100% rename from src/JSON.hpp rename to src/contrib/JSON.hpp diff --git a/src/settings.cpp b/src/settings.cpp index a4fcb47..59dff6d 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1,6 +1,6 @@ #include #include "settings.hpp" -#include "INIReader.hpp" +#include "contrib/INIReader.hpp" // defaults :) int settings::LOGINPORT = 8001;