The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 "game_preferences.hpp"
#include "random_new_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/loadscreen.hpp"
#include "utils/functional.hpp"
#include <boost/make_shared.hpp>
#include <boost/shared_ptr.hpp>
#include <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

#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 45 of file game_state.cpp.

#define LOG_NG   LOG_STREAM(info, log_engine)

Function Documentation

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

Definition at line 127 of file game_state.cpp.

References placing_info::score.

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

Variable Documentation

lg::log_domain log_engine("engine")
static