Team-management, allies, setup at start of scenario. More...
#include "team.hpp"
#include "ai/manager.hpp"
#include "formula/string_utils.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "game_data.hpp"
#include "map/map.hpp"
#include "resources.hpp"
#include "play_controller.hpp"
#include "game_preferences.hpp"
#include "sdl/utils.hpp"
#include "units/types.hpp"
#include "synced_context.hpp"
#include "whiteboard/side_actions.hpp"
#include "config_assign.hpp"
#include "serialization/string_utils.hpp"
Go to the source code of this file.
Macros | |
#define | DBG_NG LOG_STREAM(debug, log_engine) |
#define | LOG_NG LOG_STREAM(info, log_engine) |
#define | WRN_NG LOG_STREAM(warn, log_engine) |
#define | ERR_NG LOG_STREAM(warn, log_engine) |
#define | DBG_NGE LOG_STREAM(debug, log_engine_enemies) |
#define | LOG_NGE LOG_STREAM(info, log_engine_enemies) |
#define | WRN_NGE LOG_STREAM(warn, log_engine_enemies) |
Functions | |
void | validate_side (int side) |
Variables | |
static lg::log_domain | log_engine ("engine") |
static lg::log_domain | log_engine_enemies ("engine/enemies") |
static std::vector< team > *& | teams = resources::teams |
Team-management, allies, setup at start of scenario.
Definition in file team.cpp.
#define DBG_NG LOG_STREAM(debug, log_engine) |
Definition at line 39 of file team.cpp.
Referenced by team::shroud_map::place().
#define DBG_NGE LOG_STREAM(debug, log_engine_enemies) |
#define ERR_NG LOG_STREAM(warn, log_engine) |
Definition at line 42 of file team.cpp.
Referenced by team::change_controller_by_wml().
#define LOG_NG LOG_STREAM(info, log_engine) |
Definition at line 40 of file team.cpp.
Referenced by team::build(), team::log_recruitable(), and team::team_info::read().
#define LOG_NGE LOG_STREAM(info, log_engine_enemies) |
Definition at line 46 of file team.cpp.
Referenced by team::calculate_is_enemy().
#define WRN_NG LOG_STREAM(warn, log_engine) |
Definition at line 41 of file team.cpp.
Referenced by team::build().
#define WRN_NGE LOG_STREAM(warn, log_engine_enemies) |
Definition at line 657 of file team.cpp.
Referenced by unit::unit().
|
static |
|
static |
|
static |
Definition at line 50 of file team.cpp.
Referenced by scoped_recall_unit::activate(), actions::actor_sighted(), pathfind::full_cost_map::add_unit(), actions::get_sides_not_seeing(), actions::get_village(), ai::helper_check_village(), display::init_flags_for_side_internal(), side_filter::match_internal(), pathfind::paths::paths(), editor::editor_action_village::perform(), editor::editor_action_village_delete::perform(), editor::editor_action_village::perform_without_undo(), editor::editor_action_village_delete::perform_without_undo(), turn_info::process_network_data(), display::set_playing_team(), game_display::set_playing_team(), display::set_team(), and campaign_controller::show_carryover_message().