The Battle for Wesnoth  1.19.0-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 "synced_context.hpp"
#include "teambuilder.hpp"
#include "units/unit.hpp"
#include "gui/dialogs/loading_screen.hpp"
#include "side_controller.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)
 
#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")
 

Macro Definition Documentation

◆ DBG_NG

#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 44 of file game_state.cpp.

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 45 of file game_state.cpp.

◆ LOG_NG

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 43 of file game_state.cpp.

Function Documentation

◆ operator<()

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

Definition at line 108 of file game_state.cpp.

References a, and b.

◆ 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") ( "engine"  )
static