Classes | Defines | Functions | Variables

play_controller.cpp File Reference

Handle input via mouse & keyboard, events, schedule commands. More...

#include "play_controller.hpp"
#include "dialogs.hpp"
#include "foreach.hpp"
#include "game_events.hpp"
#include "gettext.hpp"
#include "halo.hpp"
#include "loadscreen.hpp"
#include "log.hpp"
#include "pathfind/teleport.hpp"
#include "resources.hpp"
#include "savegame.hpp"
#include "sound.hpp"
#include "unit_id.hpp"
#include "terrain_filter.hpp"
#include "save_blocker.hpp"
#include "preferences_display.hpp"
#include "replay.hpp"
#include "soundsource.hpp"
#include "tooltips.hpp"
#include "game_preferences.hpp"
#include "wml_exception.hpp"
#include "formula_string_utils.hpp"
#include "ai/manager.hpp"
#include "ai/testing.hpp"
#include "whiteboard/manager.hpp"
#include "scripting/lua.hpp"
Include dependency graph for play_controller.cpp:

Go to the source code of this file.

Classes

struct  placing_info

Defines

#define LOG_NG   LOG_STREAM(info, log_engine)
#define DBG_NG   LOG_STREAM(debug, log_engine)
#define ERR_DP   LOG_STREAM(err, log_display)

Functions

static void clear_resources ()
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)
static void trim_items (std::vector< std::string > &newitems)

Variables

static lg::log_domain log_engine ("engine")
static lg::log_domain log_display ("display")

Detailed Description

Handle input via mouse & keyboard, events, schedule commands.

Definition in file play_controller.cpp.


Define Documentation

#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 51 of file play_controller.cpp.

Referenced by play_controller::check_victory().

#define ERR_DP   LOG_STREAM(err, log_display)

Definition at line 54 of file play_controller.cpp.

Referenced by play_controller::enter_textbox(), and play_controller::tab().

#define LOG_NG   LOG_STREAM(info, log_engine)

Function Documentation

static void clear_resources (  )  [static]
static bool operator< ( const placing_info a,
const placing_info b 
) [static]

Definition at line 331 of file play_controller.cpp.

References placing_info::score.

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

Definition at line 298 of file play_controller.cpp.

References preferences::editor::TransitionUpdateMode::count, gamemap::on_board(), pos, t_translation::read_list(), gui2::terrain, map_location::x, and map_location::y.

Referenced by play_controller::place_sides_in_preferred_locations().

Here is the call graph for this function:

Here is the caller graph for this function:

static void trim_items ( std::vector< std::string > &  newitems  )  [static]

Definition at line 1088 of file play_controller.cpp.

Referenced by play_controller::expand_autosaves().

Here is the caller graph for this function:


Variable Documentation

lg::log_domain log_display("display") [static]
lg::log_domain log_engine("engine") [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:08:40 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs