summaryrefslogtreecommitdiff
path: root/src/network/network_gamelist.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-02 21:32:58 +0000
committerrubidium <rubidium@openttd.org>2007-02-02 21:32:58 +0000
commite50cc1ae49f2b7f9ec82ed0dbcf951fa6368a6c3 (patch)
tree99738f12180c8420560b26f5557eee0569a18899 /src/network/network_gamelist.cpp
parentfe996cb13d80eb79b5c9de1f0eb2c9b99ee82ad6 (diff)
downloadopenttd-e50cc1ae49f2b7f9ec82ed0dbcf951fa6368a6c3.tar.xz
(svn r8544) -Codechange: move game list related function/struct declarations to network_gamelist.h
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