Advanced Strategic Command
Functions | Variables
player.cpp File Reference
#include <algorithm>
#include <ctime>
#include <cmath>
#include "global.h"
#include "misc.h"
#include "typen.h"
#include "vehicletype.h"
#include "buildingtype.h"
#include "player.h"
#include "gamemap.h"
#include "cannedmessages.h"
Include dependency graph for player.cpp:

Go to the source code of this file.


template<typename T >
void swapData (T &t1, T &t2)


const char * diplomaticStateNames [diplomaticStateNum+1]
const int playerVersion = 3

Function Documentation

template<typename T >
void swapData ( T &  t1,
T &  t2 

Definition at line 343 of file player.cpp.

Referenced by DiplomaticStateVector::swap(), and Player::swap().

Variable Documentation

const char* diplomaticStateNames[diplomaticStateNum+1]
Initial value:

Definition at line 36 of file player.cpp.

Referenced by ChangeDiplomaticState::getDescription(), DiplomacyCommand::getDescription(), getStateName< AllianceSetupWidget::DiplomaticTransitions >(), getStateName< DiplomaticStates >(), and DiplomacyCommand::go().

const int playerVersion = 3

Definition at line 319 of file player.cpp.