Game Events: include manager in pump header to avoid having its include in so many places

This commit is contained in:
Charles Dang 2017-05-21 07:52:42 +11:00
parent c04e289c73
commit 79ffbbe9b4
21 changed files with 1 additions and 20 deletions

View file

@ -21,7 +21,6 @@
#include "actions/vision.hpp"
#include "ai/lua/aspect_advancements.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "preferences/game.hpp"
#include "game_data.hpp" //resources::gamedata->phase()

View file

@ -26,7 +26,6 @@
#include "attack_prediction.hpp"
#include "config_assign.hpp"
#include "game_config.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "preferences/game.hpp"
#include "game_data.hpp"

View file

@ -27,7 +27,6 @@
#include "config_assign.hpp"
#include "filter_context.hpp"
#include "game_display.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "game_state.hpp"
#include "preferences/game.hpp"

View file

@ -23,7 +23,6 @@
#include "actions/vision.hpp"
#include "config_assign.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "preferences/game.hpp"
#include "gettext.hpp"

View file

@ -24,7 +24,6 @@
#include "config.hpp"
#include "filter_context.hpp"
#include "game_board.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "preferences/game.hpp"
#include "game_data.hpp" // for resources::gamedata conversion variable_set

View file

@ -22,7 +22,6 @@
#include "actions/move.hpp"
#include "config.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "log.hpp"
#include "map/map.hpp"

View file

@ -20,7 +20,6 @@
#include "ai/manager.hpp"
#include "config.hpp" // for config, etc
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "generic_event.hpp" // for generic_event, etc
#include "log.hpp"

View file

@ -20,7 +20,6 @@
#include "game_events/action_wml.hpp"
#include "game_events/conditional_wml.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "actions/attack.hpp"

View file

@ -19,7 +19,6 @@
*/
#include "game_events/handlers.hpp"
#include "game_events/manager.hpp"
#include "game_events/manager_impl.hpp"
#include "game_events/menu_item.hpp"
#include "game_events/pump.hpp"

View file

@ -15,7 +15,6 @@
#include "game_events/manager_impl.hpp"
#include "game_events/handlers.hpp"
#include "game_events/manager.hpp"
#include "game_events/menu_item.hpp"
#include "game_events/pump.hpp"

View file

@ -21,7 +21,6 @@
#include "game_events/conditional_wml.hpp"
#include "game_events/handlers.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "game_config.hpp"

View file

@ -21,7 +21,6 @@
#include "game_events/pump.hpp"
#include "game_events/conditional_wml.hpp"
#include "game_events/handlers.hpp"
#include "game_events/manager.hpp"
#include "display_chat_manager.hpp"
#include "game_config.hpp"

View file

@ -29,6 +29,7 @@
#include "game_events/entity_location.hpp"
#include "game_events/handlers.hpp"
#include "game_events/manager.hpp"
#include "config.hpp"

View file

@ -37,7 +37,6 @@
#include "game_board.hpp"
#include "game_config_manager.hpp"
#include "game_end_exceptions.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "preferences/game.hpp"
#include "game_state.hpp"

View file

@ -23,7 +23,6 @@
#include "cursor.hpp" // for set, CURSOR_TYPE::NORMAL, etc
#include "game_board.hpp" // for game_board, etc
#include "game_config.hpp" // for red_to_green
#include "game_events/manager.hpp"
#include "game_events/pump.hpp" // for fire
#include "gettext.hpp" // for _
#include "gui/dialogs/transient_message.hpp" // for show_transient_message

View file

@ -28,7 +28,6 @@
#include "ai/testing.hpp"
#include "display_chat_manager.hpp"
#include "formula/string_utils.hpp"
#include "game_events/manager.hpp"
#include "game_events/menu_item.hpp"
#include "game_events/pump.hpp"
#include "preferences/game.hpp"

View file

@ -27,7 +27,6 @@
#include "config_assign.hpp"
#include "display_chat_manager.hpp"
#include "game_end_exceptions.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "preferences/game.hpp"
#include "gettext.hpp"

View file

@ -52,7 +52,6 @@
#include "game_errors.hpp" // for game_error
#include "game_events/conditional_wml.hpp" // for conditional_passed
#include "game_events/entity_location.hpp"
#include "game_events/manager.hpp" // for add_event_handler
#include "game_events/pump.hpp" // for queued_event
#include "preferences/game.hpp" // for encountered_units
#include "help/help.hpp"

View file

@ -16,7 +16,6 @@
#include "game_data.hpp"
#include "game_events/conditional_wml.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "log.hpp"
#include "resources.hpp"

View file

@ -27,7 +27,6 @@
#include "actions/undo.hpp"
#include "preferences/general.hpp"
#include "preferences/game.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "map/map.hpp"
#include "units/helper.hpp"

View file

@ -22,7 +22,6 @@
#include "ai/manager.hpp"
#include "font/text_formatting.hpp"
#include "formula/string_utils.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "game_data.hpp"
#include "map/map.hpp"