summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-01-03 21:32:51 +0000
committerrubidium <rubidium@openttd.org>2012-01-03 21:32:51 +0000
commit6d6be50ae0b0a0b233f918c3d7b9c0b623676439 (patch)
tree363706bbe1ba6b6371262054186fc05b6ec938a7 /src/game
parentd880056415cf6254e86a3038a8ed2d02f8af2267 (diff)
downloadopenttd-6d6be50ae0b0a0b233f918c3d7b9c0b623676439.tar.xz
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
Diffstat (limited to 'src/game')
-rw-r--r--src/game/game_config.cpp1
-rw-r--r--src/game/game_core.cpp3
-rw-r--r--src/game/game_info.cpp4
-rw-r--r--src/game/game_instance.cpp2
-rw-r--r--src/game/game_scanner.cpp5
-rw-r--r--src/game/game_text.cpp2
6 files changed, 0 insertions, 17 deletions
diff --git a/src/game/game_config.cpp b/src/game/game_config.cpp
index cb12f68b8..a85c2f467 100644
--- a/src/game/game_config.cpp
+++ b/src/game/game_config.cpp
@@ -11,7 +11,6 @@
#include "../stdafx.h"
#include "../settings_type.h"
-#include "../core/random_func.hpp"
#include "game.hpp"
#include "game_config.hpp"
#include "game_info.hpp"
diff --git a/src/game/game_core.cpp b/src/game/game_core.cpp
index 27dd63b54..566618040 100644
--- a/src/game/game_core.cpp
+++ b/src/game/game_core.cpp
@@ -10,14 +10,11 @@
/** @file game_core.cpp Implementation of Game. */
#include "../stdafx.h"
-#include "../command_func.h"
#include "../core/backup_type.hpp"
-#include "../core/bitmath_func.hpp"
#include "../company_base.h"
#include "../company_func.h"
#include "../network/network.h"
#include "../window_func.h"
-#include "../fileio_func.h"
#include "game.hpp"
#include "game_scanner.hpp"
#include "game_config.hpp"
diff --git a/src/game/game_info.cpp b/src/game/game_info.cpp
index ab4f4edc7..947973f4d 100644
--- a/src/game/game_info.cpp
+++ b/src/game/game_info.cpp
@@ -11,14 +11,10 @@
#include "../stdafx.h"
-#include "../script/squirrel_helper.hpp"
#include "../script/squirrel_class.hpp"
#include "game_info.hpp"
#include "game_scanner.hpp"
-#include "../settings_type.h"
#include "../debug.h"
-#include "../rev.h"
-#include "game.hpp"
/**
* Check if the API version provided by the Game is supported.
diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp
index 442f6e22b..5ab94d4ea 100644
--- a/src/game/game_instance.cpp
+++ b/src/game/game_instance.cpp
@@ -10,9 +10,7 @@
/** @file game_instance.cpp Implementation of GameInstance. */
#include "../stdafx.h"
-#include "../debug.h"
#include "../error.h"
-#include "../saveload/saveload.h"
#include "../script/squirrel_class.hpp"
diff --git a/src/game/game_scanner.cpp b/src/game/game_scanner.cpp
index 056c1378a..f8c2b4f22 100644
--- a/src/game/game_scanner.cpp
+++ b/src/game/game_scanner.cpp
@@ -10,15 +10,10 @@
/** @file game_scanner.cpp allows scanning Game scripts */
#include "../stdafx.h"
-#include "../debug.h"
-#include "../fileio_func.h"
-#include "../network/network.h"
-#include "../core/random_func.hpp"
#include "../script/squirrel_class.hpp"
#include "game_info.hpp"
#include "game_scanner.hpp"
-#include "../script/api/script_controller.hpp"
void GameScannerInfo::Initialize()
diff --git a/src/game/game_text.cpp b/src/game/game_text.cpp
index 0b41579f3..4ffaa9e54 100644
--- a/src/game/game_text.cpp
+++ b/src/game/game_text.cpp
@@ -10,7 +10,6 @@
/** @file game_text.cpp Implementation of handling translated strings. */
#include "../stdafx.h"
-#include "../language.h"
#include "../strgen/strgen.h"
#include "../debug.h"
#include "../fileio_func.h"
@@ -21,7 +20,6 @@
#include "table/strings.h"
-#include <exception>
#include <stdarg.h>
void CDECL strgen_warning(const char *s, ...)