From 1ae3c925d79a3855dc94a3e14bb68c52934742e6 Mon Sep 17 00:00:00 2001 From: gfgtdf Date: Mon, 2 Jun 2014 18:49:23 +0200 Subject: [PATCH] clear unused forward declarations --- src/ai/game_info.hpp | 1 - src/multiplayer_ui.hpp | 1 - src/storyscreen/controller.hpp | 1 - src/storyscreen/part.hpp | 1 - src/tod_manager.hpp | 1 - src/variable.hpp | 2 +- 6 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ai/game_info.hpp b/src/ai/game_info.hpp index cda247a435cd..5c2f8a5536c0 100644 --- a/src/ai/game_info.hpp +++ b/src/ai/game_info.hpp @@ -29,7 +29,6 @@ namespace pathfind { #include class game_display; -class game_state; class gamemap; class unit_map; class team; diff --git a/src/multiplayer_ui.hpp b/src/multiplayer_ui.hpp index e530fe9d3d0b..dc16d87cfcb3 100644 --- a/src/multiplayer_ui.hpp +++ b/src/multiplayer_ui.hpp @@ -28,7 +28,6 @@ class display; class game_display; class config; -class game_state; namespace mp { diff --git a/src/storyscreen/controller.hpp b/src/storyscreen/controller.hpp index b9c76f7e3843..1d3478d0abd0 100644 --- a/src/storyscreen/controller.hpp +++ b/src/storyscreen/controller.hpp @@ -27,7 +27,6 @@ #include class display; -class game_state; class vconfig; namespace storyscreen { diff --git a/src/storyscreen/part.hpp b/src/storyscreen/part.hpp index 5c45edb2ce71..062b29807200 100644 --- a/src/storyscreen/part.hpp +++ b/src/storyscreen/part.hpp @@ -29,7 +29,6 @@ class config; class vconfig; class display; -class game_state; namespace storyscreen { diff --git a/src/tod_manager.hpp b/src/tod_manager.hpp index 8ba885fdeda3..c436f579b57d 100644 --- a/src/tod_manager.hpp +++ b/src/tod_manager.hpp @@ -19,7 +19,6 @@ #include "time_of_day.hpp" #include "savegame_config.hpp" -class game_state; class gamemap; class unit_map; diff --git a/src/variable.hpp b/src/variable.hpp index 5f65452c8701..7a36fe7736c1 100644 --- a/src/variable.hpp +++ b/src/variable.hpp @@ -231,7 +231,7 @@ struct variable_info std::string key; //the name of the internal attribute or child bool explicit_index; //true if query ended in [...] specifier size_t index; //the index of the child - config *vars; //the containing node in game_state::variables + config *vars; //the containing node in game_data s variables /** * Results: after deciding the desired type, these methods can retrieve the result