summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-01-03 21:47:01 +0000
committerrubidium <rubidium@openttd.org>2012-01-03 21:47:01 +0000
commitd8d2f7455986fa17615f5ab722e6a5e0d43c9563 (patch)
tree1a5eed4d16350c150a940e65eb681898ac90d6a5 /src
parent6d6be50ae0b0a0b233f918c3d7b9c0b623676439 (diff)
downloadopenttd-d8d2f7455986fa17615f5ab722e6a5e0d43c9563.tar.xz
(svn r23741) -Revert (r23740): the few parts that the Windows / non-network compiles stumble on
Diffstat (limited to 'src')
-rw-r--r--src/company_cmd.cpp3
-rw-r--r--src/console.cpp3
-rw-r--r--src/console_cmds.cpp3
-rw-r--r--src/debug.cpp2
-rw-r--r--src/ini_load.cpp1
5 files changed, 12 insertions, 0 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index eba947298..a95bc9fbc 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -17,6 +17,8 @@
#include "news_func.h"
#include "cmd_helper.h"
#include "command_func.h"
+#include "network/network.h"
+#include "network/network_func.h"
#include "network/network_base.h"
#include "network/network_admin.h"
#include "ai/ai.hpp"
@@ -33,6 +35,7 @@
#include "smallmap_gui.h"
#include "game/game.hpp"
+#include "table/strings.h"
CompanyByte _local_company; ///< Company controlled by the human player at this client. Can also be #COMPANY_SPECTATOR.
CompanyByte _current_company; ///< Company currently doing an action.
diff --git a/src/console.cpp b/src/console.cpp
index c9c98169f..5ffc4ed52 100644
--- a/src/console.cpp
+++ b/src/console.cpp
@@ -11,7 +11,10 @@
#include "stdafx.h"
#include "console_internal.h"
+#include "network/network.h"
+#include "network/network_func.h"
#include "network/network_admin.h"
+#include "debug.h"
#include "console_func.h"
#include "settings_type.h"
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index 04a1c6b8e..05846c96f 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -11,9 +11,12 @@
#include "stdafx.h"
#include "console_internal.h"
+#include "debug.h"
#include "engine_func.h"
#include "landscape.h"
#include "saveload/saveload.h"
+#include "network/network.h"
+#include "network/network_func.h"
#include "network/network_base.h"
#include "network/network_admin.h"
#include "network/network_client.h"
diff --git a/src/debug.cpp b/src/debug.cpp
index 4d5340262..f7d31b89a 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -12,6 +12,8 @@
#include "stdafx.h"
#include <stdarg.h>
#include "console_func.h"
+#include "debug.h"
+#include "string_func.h"
#include "fileio_func.h"
#include "settings_type.h"
diff --git a/src/ini_load.cpp b/src/ini_load.cpp
index bc044511a..6a2087303 100644
--- a/src/ini_load.cpp
+++ b/src/ini_load.cpp
@@ -13,6 +13,7 @@
#include "core/alloc_func.hpp"
#include "core/mem_func.hpp"
#include "ini_type.h"
+#include "string_func.h"
/**
* Construct a new in-memory item of an Ini file.