summaryrefslogtreecommitdiff
path: root/src/network/network_gamelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/network_gamelist.cpp')
-rw-r--r--src/network/network_gamelist.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/network/network_gamelist.cpp b/src/network/network_gamelist.cpp
index 4a9b8683b..c4b51c230 100644
--- a/src/network/network_gamelist.cpp
+++ b/src/network/network_gamelist.cpp
@@ -4,17 +4,23 @@
#include "../stdafx.h"
#include "../debug.h"
-#include "network_data.h"
#include "../newgrf_config.h"
#include "../helpers.hpp"
+#include "core/game.h"
#include "network_udp.h"
+#include "network_gamelist.h"
+#include "network_gui.h"
+
+/**
+ * @file network_gamelist.cpp This file handles the GameList
+ * Also, it handles the request to a server for data about the server
+ */
+
+NetworkGameList *_network_game_list = NULL;
/** Should we stop/contiue requerying of offline servers? */
static bool _stop_requerying = false;
-// This file handles the GameList
-// Also, it handles the request to a server for data about the server
-
/** Add a new item to the linked gamelist. If the IP and Port match
* return the existing item instead of adding it again
* @param ip the IP-address (inet_addr) of the to-be added item