#include "global.hpp"
#include "game_events.hpp"
#include "game_errors.hpp"
#include "gamestatus.hpp"
#include "log.hpp"
#include "network.hpp"
#include "team.hpp"
#include "util.hpp"
#include "serialization/string_utils.hpp"
#include <algorithm>
#include <cassert>
#include <cstdlib>
#include <sstream>
Go to the source code of this file.
Namespaces | |
namespace | player_teams |
Defines | |
#define | LOG_NG LOG_STREAM(info, engine) |
Functions | |
bool | is_observer () |
void | validate_side (int side) |
int | player_teams::village_owner (const gamemap::location &loc) |
Variables | |
std::vector< team > * | teams = NULL |
Definition in file team.cpp.
bool is_observer | ( | ) |
Definition at line 653 of file team.cpp.
References teams.
Referenced by game_display::add_chat_message(), playsingle_controller::can_execute_command(), playmp_controller::can_execute_command(), check_victory(), events::menu_handler::clear_labels(), do_replay_handle(), events::menu_handler::has_friends(), events::menu_handler::has_team(), events::menu_handler::send_chat_message(), events::menu_handler::show_chat_log(), and events::menu_handler::speak().
void validate_side | ( | int | side | ) |
Definition at line 668 of file team.cpp.
References str_cast(), and teams.
Referenced by unit::read(), and unit::unit().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |