Skip to content

Commit

Permalink
Cleaned up terrain/type_data.hpp includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jan 2, 2021
1 parent d4a8fa8 commit d16404b
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 12 deletions.
2 changes: 0 additions & 2 deletions src/editor/map/editor_map.cpp
Expand Up @@ -23,8 +23,6 @@
#include "map/label.hpp"
#include "wml_exception.hpp"

#include "terrain/type_data.hpp"

namespace editor {

editor_map_load_exception wrap_exc(const char* type, const std::string& e_msg, const std::string& filename)
Expand Down
1 change: 0 additions & 1 deletion src/editor/map/map_context.cpp
Expand Up @@ -27,7 +27,6 @@
#include "serialization/binary_or_text.hpp"
#include "serialization/parser.hpp"
#include "team.hpp"
#include "terrain/type_data.hpp"
#include "units/unit.hpp"
#include "game_config_view.hpp"

Expand Down
1 change: 0 additions & 1 deletion src/game_board.cpp
Expand Up @@ -18,7 +18,6 @@
#include "log.hpp"
#include "map/map.hpp"
#include "recall_list_manager.hpp"
#include "terrain/type_data.hpp"
#include "units/unit.hpp"

#include <set>
Expand Down
1 change: 0 additions & 1 deletion src/game_board.hpp
Expand Up @@ -16,7 +16,6 @@

#include "display_context.hpp"
#include "team.hpp"
#include "terrain/type_data.hpp"
#include "units/map.hpp"
#include "units/id.hpp"
#include "utils/optional_fwd.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/game_display.cpp
Expand Up @@ -39,7 +39,6 @@
#include "tod_manager.hpp"
#include "color.hpp"
#include "synced_context.hpp"
#include "terrain/type_data.hpp"
#include "units/unit.hpp"
#include "units/drawer.hpp"
#include "whiteboard/manager.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/game_initialization/playcampaign.cpp
Expand Up @@ -42,7 +42,6 @@
#include "savegame.hpp"
#include "saved_game.hpp"
#include "sound.hpp"
#include "terrain/type_data.hpp"
#include "wml_exception.hpp"
#include "formula/string_utils.hpp"
#include "wesnothd_connection.hpp"
Expand Down
1 change: 1 addition & 0 deletions src/gui/widgets/unit_preview_pane.cpp
Expand Up @@ -38,6 +38,7 @@
#include "resources.hpp"
#include "team.hpp"
#include "terrain/movement.hpp"
#include "terrain/type_data.hpp"
#include "units/attack_type.hpp"
#include "units/types.hpp"
#include "units/helper.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/movetype.cpp
Expand Up @@ -24,7 +24,6 @@
#include "log.hpp"
#include "map/map.hpp"
#include "terrain/translation.hpp"
#include "terrain/type_data.hpp"
#include "units/types.hpp" // for attack_type

static lg::log_domain log_config("config");
Expand Down
1 change: 0 additions & 1 deletion src/play_controller.cpp
Expand Up @@ -60,7 +60,6 @@
#include "soundsource.hpp"
#include "statistics.hpp"
#include "synced_context.hpp"
#include "terrain/type_data.hpp"
#include "tooltips.hpp"
#include "units/unit.hpp"
#include "units/types.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/play_controller.hpp
Expand Up @@ -22,7 +22,6 @@
#include "menu_events.hpp"
#include "mouse_events.hpp"
#include "persist_manager.hpp"
#include "terrain/type_data.hpp"
#include "tod_manager.hpp"
#include "game_state.hpp"
#include "utils/optional_fwd.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/scripting/game_lua_kernel.cpp
Expand Up @@ -93,7 +93,6 @@
#include "terrain/terrain.hpp" // for terrain_type
#include "terrain/filter.hpp" // for terrain_filter
#include "terrain/translation.hpp" // for read_terrain_code, etc
#include "terrain/type_data.hpp"
#include "time_of_day.hpp" // for time_of_day
#include "tod_manager.hpp" // for tod_manager
#include "tstring.hpp" // for t_string, operator+
Expand Down
1 change: 0 additions & 1 deletion src/tests/utils/fake_display.cpp
Expand Up @@ -20,7 +20,6 @@
#include "game_config_view.hpp"
#include "game_display.hpp"
#include "reports.hpp"
#include "terrain/type_data.hpp"

namespace wb
{
Expand Down

0 comments on commit d16404b

Please sign in to comment.