team.cpp File Reference

Team-management, allies, setup at start of scenario. More...

#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>

Include dependency graph for team.cpp:

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


Detailed Description

Team-management, allies, setup at start of scenario.

Definition in file team.cpp.


Define Documentation

#define LOG_NG   LOG_STREAM(info, engine)

Definition at line 34 of file team.cpp.


Function Documentation

bool is_observer (  ) 

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().


Variable Documentation

std::vector<team>* teams = NULL [static]

Definition at line 37 of file team.cpp.


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