summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/NetLobbyServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/NetLobbyServer.h')
-rw-r--r--StarsEx/NetLobbyServer.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/StarsEx/NetLobbyServer.h b/StarsEx/NetLobbyServer.h
index 2f08f83..ea5c0d7 100644
--- a/StarsEx/NetLobbyServer.h
+++ b/StarsEx/NetLobbyServer.h
@@ -11,13 +11,16 @@
UDP Server Engine for Multiplayer Lobby
*/
-
-#ifndef NetLobbyServer_h
-#define NetLobbyServer_h
+#pragma once
// FOR NETWORK MENU TESTING (extra latency in msec):
// #define EXTRA_LATENCY 300
+#include <cstdint>
+
+#include <List.h>
+#include <Text.h>
+
#include "NetLobby.h"
// +-------------------------------------------------------------------+
@@ -59,7 +62,7 @@ public:
virtual void UnmapUnit(const char* user);
virtual void SendUnits();
- virtual void SelectMission(DWORD id);
+ virtual void SelectMission(std::uint32_t id);
virtual Text Serialize(Mission* m, NetUser* u=0);
virtual Mission* GetSelectedMission();
@@ -105,14 +108,10 @@ protected:
Text server_name;
NetAddr server_addr;
- DWORD announce_time;
+ std::uint32_t announce_time;
NetServerConfig* server_config;
Text server_mission;
int motd_index;
List<Text> motd;
};
-
-// +-------------------------------------------------------------------+
-
-#endif // NetLobbyServer_h \ No newline at end of file