changeset 18892:7f83f5516b2a draft

(svn r23741) -Revert (r23740): the few parts that the Windows / non-network compiles stumble on
author rubidium <rubidium@openttd.org>
date Tue, 03 Jan 2012 21:47:01 +0000
parents 88567087417f
children 7e608ea7c5da
files src/company_cmd.cpp src/console.cpp src/console_cmds.cpp src/debug.cpp src/ini_load.cpp
diffstat 5 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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"
 
--- 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"
--- 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"
 
--- 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.