diff options
author | rubidium <rubidium@openttd.org> | 2007-02-02 21:32:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-02-02 21:32:58 +0000 |
commit | 9ddd227eb3757473bce23b4cafec894a4e4eaa36 (patch) | |
tree | 99738f12180c8420560b26f5557eee0569a18899 /src/network/network_gamelist.cpp | |
parent | 6a820a30d1eaa1be688e392ec42f074859ccc10b (diff) | |
download | openttd-9ddd227eb3757473bce23b4cafec894a4e4eaa36.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.cpp | 14 |
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 |