summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-19 20:45:46 +0000
committerrubidium <rubidium@openttd.org>2007-12-19 20:45:46 +0000
commitd582aea639e5d3ee592ec37f90b03bebbc3163f1 (patch)
tree01d7c4429e1c30bf65208609d37c644b6618ab26 /src/network
parent8896bea3064b6106b175585bd3098238c21a78a1 (diff)
downloadopenttd-d582aea639e5d3ee592ec37f90b03bebbc3163f1.tar.xz
(svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_gui.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 70372d8bc..c9b6c5211 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -17,6 +17,8 @@
#include "network_gui.h"
#include "network_gamelist.h"
#include "../gui.h"
+#include "../window_gui.h"
+#include "../textbuf_gui.h"
#include "../gfx.h"
#include "../command.h"
#include "../variables.h"
@@ -31,6 +33,11 @@
#define BGC 5
#define BTC 15
+struct chatquerystr_d : public querystr_d {
+ int dest;
+};
+assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(chatquerystr_d));
+
struct network_d {
PlayerID company; // select company in network lobby
byte field; // select text-field in start-server and game-listing