diff --git a/Client/include/Client/LocalWorld.hpp b/Client/include/Client/LocalWorld.hpp index 8ad4745..ffbb43e 100644 --- a/Client/include/Client/LocalWorld.hpp +++ b/Client/include/Client/LocalWorld.hpp @@ -76,7 +76,7 @@ namespace CaveGame::Client this->enabled = enable; } void Disable() { Enable(false); } - bool IsEnabled() const { return enabled; } + [[nodiscard]] bool IsEnabled() const { return enabled; } protected: bool enabled = false; diff --git a/Server/include/Server/GameServer.hpp b/Server/include/Server/GameServer.hpp index ba1c825..fd8c96c 100644 --- a/Server/include/Server/GameServer.hpp +++ b/Server/include/Server/GameServer.hpp @@ -54,6 +54,9 @@ namespace CaveGame::Server } } + + void StartServerAsynchronous() {} + void StartServerSynchronous() {} protected: private: diff --git a/ServerApp/main.cpp b/ServerApp/main.cpp index c101d1a..84222ba 100644 --- a/ServerApp/main.cpp +++ b/ServerApp/main.cpp @@ -308,24 +308,23 @@ public: } }; +// TODO: Boneyard structure - Rare surface "dungeon" + int main(int argc, char** argv) { Logs::Server.IncludeLocation(false); Logs::Client.IncludeLocation(false); - std::cout << "Running Program" << std::endl; std::thread server(RunServer); std::thread client(RunClient); - server.detach(); std::this_thread::sleep_for(100ms); client.detach(); - std::string input; getline(std::cin, input); while (input != "exit") {