diff --git a/src/playturn.cpp b/src/playturn.cpp index 3f6dd0250ac7..c8d731755430 100644 --- a/src/playturn.cpp +++ b/src/playturn.cpp @@ -13,27 +13,42 @@ */ #include "playturn.hpp" - -#include "actions/undo.hpp" -#include "construct_dialog.hpp" -#include "game_display.hpp" -#include "game_end_exceptions.hpp" -#include "game_preferences.hpp" -#include "gettext.hpp" +#include "global.hpp" + +#include "actions/undo.hpp" // for undo_list +#include "chat_events.hpp" // for chat_handler, etc +#include "config.hpp" // for config, etc +#include "formula_string_utils.hpp" // for vgettext +#include "game_board.hpp" // for game_board +#include "game_display.hpp" // for game_display +#include "game_end_exceptions.hpp" // for end_level_exception, etc +#include "gettext.hpp" // for _ #include "gui/dialogs/simple_item_selector.hpp" -#include "log.hpp" +#include "log.hpp" // for LOG_STREAM, logger, etc +#include "make_enum.hpp" // for bad_enum_cast #include "map_label.hpp" -#include "replay.hpp" -#include "resources.hpp" -#include "whiteboard/manager.hpp" -#include "formula_string_utils.hpp" -#include "play_controller.hpp" -#include "savegame.hpp" - -#include - -#include -#include +#include "network.hpp" // for error +#include "play_controller.hpp" // for play_controller +#include "playturn_network_adapter.hpp" // for playturn_network_adapter +#include "preferences.hpp" // for message_bell +#include "replay.hpp" // for replay, recorder, do_replay, etc +#include "resources.hpp" // for gameboard, screen, etc +#include "serialization/string_utils.hpp" // for string_map +#include "team.hpp" // for team, team::CONTROLLER::AI, etc +#include "tstring.hpp" // for operator== +#include "util.hpp" // for lexical_cast +#include "whiteboard/manager.hpp" // for manager +#include "widgets/button.hpp" // for button + +#include // for auto_any_base, etc +#include // for shared_ptr +#include // for assert +#include // for atoi +#include // for time, NULL +#include // for map<>::mapped_type +#include // for operator<<, basic_ostream, etc +#include // for set +#include // for vector static lg::log_domain log_network("network"); #define ERR_NW LOG_STREAM(err, log_network) diff --git a/src/playturn.hpp b/src/playturn.hpp index 8808a9938e36..899ca4e86ffb 100644 --- a/src/playturn.hpp +++ b/src/playturn.hpp @@ -15,14 +15,13 @@ #ifndef PLAYTURN_HPP_INCLUDED #define PLAYTURN_HPP_INCLUDED -class config; -class replay_network_sender; - -#include "generic_event.hpp" -#include "network.hpp" -#include "playturn_network_adapter.hpp" +#include // for string +#include "generic_event.hpp" // for generic_event #include "replay.hpp" +class config; // lines 18-18 +class playturn_network_adapter; + /** TODO: rename this class since it isn't that much related to turns. */