fix couple TODO
[carveJwlIkooP6JGAAIwe30JlM.git] / gameserver.h
index ac1c4914201c5b8cca64e8ed825c36e9ba0f2164..00df20e2f0a5570f8b9cba777f2d84e05a6531b0 100644 (file)
@@ -1,16 +1,13 @@
-#ifndef GAMESERVER_H
-#define GAMESERVER_H
-
+#pragma once
 #define VG_SERVER
 
-#include "vg/vg.h"
+#include "vg/vg_platform.h"
 #include "vg/vg_steam.h"
 #include "vg/vg_steam_networking.h"
 #include "vg/vg_steam_http.h"
 #include "vg/vg_steam_auth.h"
 #include "network_msg.h"
 #include "network_common.h"
-#include "highscores.h"
 #include <sys/socket.h>
 
 #define CLIENT_KNOWLEDGE_SAME_WORLD0 0x1
@@ -36,6 +33,9 @@ struct {
       }
       items[k_netmsg_playeritem_max];
 
+      char region[ NETWORK_REGION_MAX ];
+      u32  region_flags;
+
       u64  steamid;
    }
    clients[ NETWORK_MAX_PLAYERS ];
@@ -52,5 +52,3 @@ static gameserver = {
 };
 
 static ISteamNetworkingSockets *hSteamNetworkingSockets = NULL;
-
-#endif /* GAMESERVER_H */