#include "game_state.hpp"#include "actions/undo.hpp"#include "game_board.hpp"#include "game_data.hpp"#include "game_events/manager.hpp"#include "log.hpp"#include "map/map.hpp"#include "pathfind/pathfind.hpp"#include "pathfind/teleport.hpp"#include "play_controller.hpp"#include "preferences/preferences.hpp"#include "random_deterministic.hpp"#include "reports.hpp"#include "scripting/game_lua_kernel.hpp"#include "synced_context.hpp"#include "teambuilder.hpp"#include "units/unit.hpp"#include "gui/dialogs/loading_screen.hpp"#include "side_controller.hpp"#include <algorithm>#include <set>Go to the source code of this file.
Classes | |
| struct | placing_info |
Macros | |
| #define | LOG_NG LOG_STREAM(info, log_engine) |
| #define | DBG_NG LOG_STREAM(debug, log_engine) |
| #define | ERR_NG LOG_STREAM(err, log_engine) |
Functions | |
| static int | placing_score (const config &side, const gamemap &map, const map_location &pos) |
| static bool | operator< (const placing_info &a, const placing_info &b) |
Variables | |
| static lg::log_domain | log_engine ("engine") |
| #define DBG_NG LOG_STREAM(debug, log_engine) |
Definition at line 42 of file game_state.cpp.
| #define ERR_NG LOG_STREAM(err, log_engine) |
Definition at line 43 of file game_state.cpp.
| #define LOG_NG LOG_STREAM(info, log_engine) |
Definition at line 41 of file game_state.cpp.
|
static |
Definition at line 106 of file game_state.cpp.
References b, and placing_info::score.
|
static |
Definition at line 73 of file game_state.cpp.
References i, gamemap_base::on_board(), map_location::plus(), and t_translation::read_list().
Referenced by game_state::place_sides_in_preferred_locations().
|
static |