The Battle for Wesnoth  1.15.2+dev
Classes | Macros | Functions | Variables
game_state.cpp File Reference
#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/game.hpp"
#include "random_deterministic.hpp"
#include "reports.hpp"
#include "scripting/game_lua_kernel.hpp"
#include "teambuilder.hpp"
#include "units/unit.hpp"
#include "whiteboard/manager.hpp"
#include "gui/dialogs/loading_screen.hpp"
#include "utils/functional.hpp"
#include <SDL2/SDL_timer.h>
#include <algorithm>
#include <set>
Include dependency graph for game_state.cpp:

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)
 

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")
 

Macro Definition Documentation

◆ DBG_NG

#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 43 of file game_state.cpp.

◆ LOG_NG

#define LOG_NG   LOG_STREAM(info, log_engine)

Function Documentation

◆ operator<()

static bool operator< ( const placing_info a,
const placing_info b 
)
static

Definition at line 138 of file game_state.cpp.

References placing_info::score.

Referenced by help::topic::operator!=(), and help::section::section().

◆ placing_score()

static int placing_score ( const config side,
const gamemap map,
const map_location pos 
)
static

Variable Documentation

◆ log_engine

lg::log_domain log_engine("engine")
static