Moved server/server_utilities up one directory

Also modified makefiles to account for the change.
This commit is contained in:
2016-03-21 19:07:09 +11:00
parent 19792f8aec
commit fd11f4e0e6
17 changed files with 27 additions and 41 deletions
+2 -1
View File
@@ -27,7 +27,7 @@
#include <chrono>
std::list<int> ClientManager::CheckConnections() {
//list of clients to disconnect
//return a list of clients to disconnect
std::list<int> returnList;
for (auto& it : elementMap) {
@@ -60,6 +60,7 @@ void ClientManager::HandlePong(ServerPacket* const argPacket) {
}
int ClientManager::Create(IPaddress add) {
//return the client's index
ClientData& client = elementMap[counter];
client.SetAddress(add);
return counter++;
+2
View File
@@ -31,6 +31,8 @@
#include <list>
#include <map>
//DOCS: The heartbeat system is built into ClientManager
class ClientManager: public Singleton<ClientManager> {
public:
//methods
+1 -1
View File
@@ -1,5 +1,5 @@
#config
INCLUDES+=. ../server_utilities ../../common/network ../../common/network/packet_types ../../common/utilities
INCLUDES+=. .. ../../common/network ../../common/network/packet_types ../../common/utilities
LIBS+=
CXXFLAGS+=-std=c++11 $(addprefix -I,$(INCLUDES))