play_controller.cpp File Reference

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

#include "play_controller.hpp"
#include "dialogs.hpp"
#include "config_adapter.hpp"
#include "game_display.hpp"
#include "game_errors.hpp"
#include "gettext.hpp"
#include "loadscreen.hpp"
#include "log.hpp"
#include "sound.hpp"
#include "team.hpp"
#include "terrain_filter.hpp"
#include "variable.hpp"
#include <cassert>

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, engine)

Functions

static int placing_score (const config &side, const gamemap &map, const gamemap::location &pos)
static bool operator< (const placing_info &a, const placing_info &b)
static void trim_items (std::vector< std::string > &newitems)


Detailed Description

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

Definition in file play_controller.cpp.


Define Documentation

#define LOG_NG   LOG_STREAM(info, engine)

Definition at line 34 of file play_controller.cpp.


Function Documentation

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

Definition at line 191 of file play_controller.cpp.

References placing_info::score.

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

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

Definition at line 813 of file play_controller.cpp.

Referenced by play_controller::expand_autosaves().


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs