FastEcslent::GameMgr Class Reference

#include <gameMgr.h>

Inheritance diagram for FastEcslent::GameMgr:

FastEcslent::Mgr FastEcslent::Mgr FastEcslent::Mgr FastEcslent::Mgr FastEcslent::Mgr

List of all members.

Public Member Functions

 GameMgr ()
 GameMgr (Engine *eng, Options opts)
void init ()
virtual void loadLevel ()
void tick (double dtime)
bool preReqExists (Player playerId, EntityType entType)
bool preReqResources (Player playerId, EntityType entType)
bool preReqEntities (Player playerId, EntityType entType)
bool consumeResources (Player playerId, EntityType entityType)
bool returnResources (Player playerId, EntityType entityType)
bool notExceedPopCap (Identity entId)
void setupEntityBuildTimes ()
void setupEntitySupply ()
void setupEntityBuildables ()
void WaterCraft ()
void makeBaseForSidePlayer (Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset)
std::vector< Entity * > createNEntitiesRadial (EntityType entType, int n, Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset, int yawOffsetMultiplier=1)
void createMineralPatch (int n, Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset, int yawOffsetMultiplier=1)
void startMining (Side side, Player player)
EntityfindClosestEntityOfTypeWithinDistance (EntityType entityType, Ogre::Vector3 pos, float distance, Side side, Player player)
void game0 ()
void tester ()
void clearClient ()
MineralPatchgetMineralPatch (int id)
MineralPatchinitMineralPatch ()
 GameMgr ()
 GameMgr (Engine *eng, Options opts)
void init ()
void tick (double dtime)
bool preReqExists (EntityType entType)
bool notExceedPopCap (Identity entId)
void setupEntityBuildTimes ()
void setupEntitySupply ()
void WaterCraft ()
void makeBaseForSidePlayer (Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset)
std::vector< Entity * > createNEntitiesRadial (EntityType entType, int n, Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset, int yawOffsetMultiplier=1)
void createMineralPatch (int n, Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset, int yawOffsetMultiplier=1)
void startMining (Side side, Player player)
EntityfindClosestEntityOfTypeWithinDistance (EntityType entityType, Ogre::Vector3 pos, float distance, Side side, Player player)
void game0 ()
void tester ()
 GameMgr ()
 GameMgr (Engine *eng, Options opts)
void init ()
void tick (double dtime)
bool preReqExists (EntityType entType)
bool notExceedPopCap (Identity entId)
void setupEntityBuildTimes ()
void setupEntitySupply ()
void WaterCraft ()
void makeBaseForSidePlayer (Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset)
std::vector< Entity * > createNEntitiesRadial (EntityType entType, int n, Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset, int yawOffsetMultiplier=1)
void createMineralPatch (int n, Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset, int yawOffsetMultiplier=1)
void startMining (Side side, Player player)
EntityfindClosestEntityOfTypeWithinDistance (EntityType entityType, Ogre::Vector3 pos, float distance, Side side, Player player)
void game0 ()
void tester ()
 GameMgr ()
 GameMgr (Engine *eng, Options opts)
void init ()
virtual void loadLevel ()
void tick (double dtime)
bool preReqExists (EntityType entType)
bool notExceedPopCap (Identity entId)
void setupEntityBuildTimes ()
void setupEntitySupply ()
void WaterCraft ()
void makeBaseForSidePlayer (Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset)
std::vector< Entity * > createNEntitiesRadial (EntityType entType, int n, Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset, int yawOffsetMultiplier=1)
void createMineralPatch (int n, Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset, int yawOffsetMultiplier=1)
void startMining (Side side, Player player)
EntityfindClosestEntityOfTypeWithinDistance (EntityType entityType, Ogre::Vector3 pos, float distance, Side side, Player player)
void game0 ()
void tester ()
void clearClient ()
 GameMgr ()
 GameMgr (Engine *eng, Options opts)
void init ()
virtual void loadLevel ()
void tick (double dtime)
bool preReqExists (EntityType entType)
bool notExceedPopCap (Identity entId)
void setupEntityBuildTimes ()
void setupEntitySupply ()
void WaterCraft ()
void makeBaseForSidePlayer (Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset)
std::vector< Entity * > createNEntitiesRadial (EntityType entType, int n, Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset, int yawOffsetMultiplier=1)
void createMineralPatch (int n, Side side, Player player, Ogre::Vector3 location, float offset, float yawOffset, int yawOffsetMultiplier=1)
void startMining (Side side, Player player)
EntityfindClosestEntityOfTypeWithinDistance (EntityType entityType, Ogre::Vector3 pos, float distance, Side side, Player player)
void game0 ()
void tester ()
void clearClient ()

Public Attributes

Options options
int popCap [NPLAYERS]
int pop [NPLAYERS]
int currentPopCap [NPLAYERS]
int currentEntityCounts [NPLAYERS][NENTITYTYPES]
EntityplayerEnts [NPLAYERS][PerPlayerMaxEnts]
int playerNEnts [NPLAYERS]
GameEntTypeProperties entTypeData [NENTITYTYPES]
Resources resources [NPLAYERS]
EntityplayerEnts [NPLAYERS][PerPlayerMaxEnts]
EntityplayerEnts [NPLAYERS][PerPlayerMaxEnts]
EntityplayerEnts [NPLAYERS][PerPlayerMaxEnts]
EntityplayerEnts [NPLAYERS][PerPlayerMaxEnts]

Private Attributes

int mineralPatchID
bool mineralPatchInit
bool initMining
std::vector< MineralPatch * > mineralPatches
int gameNumber
std::vector< MineralPatch * > mineralPatches
std::vector< MineralPatch * > mineralPatches
std::vector< MineralPatch * > mineralPatches
std::vector< MineralPatch * > mineralPatches


Detailed Description

Definition at line 54 of file gameMgr.h.


Constructor & Destructor Documentation

FastEcslent::GameMgr::GameMgr (  ) 

FastEcslent::GameMgr::GameMgr ( Engine eng,
Options  opts 
)

Definition at line 32 of file gameMgr.cpp.

References options.

FastEcslent::GameMgr::GameMgr (  ) 

FastEcslent::GameMgr::GameMgr ( Engine eng,
Options  opts 
)

FastEcslent::GameMgr::GameMgr (  ) 

FastEcslent::GameMgr::GameMgr ( Engine eng,
Options  opts 
)

FastEcslent::GameMgr::GameMgr (  ) 

FastEcslent::GameMgr::GameMgr ( Engine eng,
Options  opts 
)

FastEcslent::GameMgr::GameMgr (  ) 

FastEcslent::GameMgr::GameMgr ( Engine eng,
Options  opts 
)


Member Function Documentation

void FastEcslent::GameMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

Definition at line 38 of file gameMgr.cpp.

Referenced by FastEcslent::Engine::init().

void FastEcslent::GameMgr::loadLevel (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

Definition at line 41 of file gameMgr.cpp.

References FastEcslent::Mgr::engine, game0(), Options::gameNumber, FastEcslent::Engine::options, tester(), and WaterCraft().

Referenced by FastEcslent::Engine::loadLevel().

void FastEcslent::GameMgr::tick ( double  dtime  )  [virtual]

Reimplemented from FastEcslent::Mgr.

Definition at line 411 of file gameMgr.cpp.

Referenced by FastEcslent::Engine::tickAll().

bool FastEcslent::GameMgr::preReqExists ( Player  playerId,
EntityType  entType 
)

Definition at line 63 of file gameMgr.cpp.

References preReqEntities(), and preReqResources().

bool FastEcslent::GameMgr::preReqResources ( Player  playerId,
EntityType  entType 
)

Definition at line 70 of file gameMgr.cpp.

Referenced by preReqExists().

bool FastEcslent::GameMgr::preReqEntities ( Player  playerId,
EntityType  entType 
)

Definition at line 77 of file gameMgr.cpp.

References FastEcslent::Mgr::engine, FastEcslent::Engine::entityMgr, FastEcslent::NENTITYTYPES, and FastEcslent::EntityMgr::nEnts.

Referenced by preReqExists().

bool FastEcslent::GameMgr::consumeResources ( Player  playerId,
EntityType  entityType 
)

Definition at line 101 of file gameMgr.cpp.

References entTypeData, FastEcslent::GameEntTypeProperties::gas, FastEcslent::Resources::gas, FastEcslent::GameEntTypeProperties::minerals, FastEcslent::Resources::minerals, and resources.

Referenced by FastEcslent::Builder::enqueue().

bool FastEcslent::GameMgr::returnResources ( Player  playerId,
EntityType  entityType 
)

Definition at line 112 of file gameMgr.cpp.

References entTypeData, FastEcslent::GameEntTypeProperties::gas, FastEcslent::Resources::gas, FastEcslent::GameEntTypeProperties::minerals, FastEcslent::Resources::minerals, and resources.

bool FastEcslent::GameMgr::notExceedPopCap ( Identity  entId  ) 

Definition at line 57 of file gameMgr.cpp.

References FastEcslent::Mgr::engine, FastEcslent::Engine::entityMgr, FastEcslent::EntityMgr::ents, and FastEcslent::Identity::id.

void FastEcslent::GameMgr::setupEntityBuildTimes (  ) 

Definition at line 119 of file gameMgr.cpp.

References FastEcslent::ARMORY, FastEcslent::BARRACKS, FastEcslent::GameEntTypeProperties::buildTime, FastEcslent::COMMANDCENTER, FastEcslent::ENGINEERINGBAY, entTypeData, FastEcslent::FACTORY, FastEcslent::GAS, FastEcslent::HELLION, FastEcslent::MARAUDER, FastEcslent::MARINE, FastEcslent::GameEntTypeProperties::minerals, FastEcslent::MINERALS, FastEcslent::REAPER, FastEcslent::REFINERY, FastEcslent::SCV, FastEcslent::SUPPLYDEPOT, FastEcslent::TANK, and FastEcslent::THOR.

Referenced by game0(), and WaterCraft().

void FastEcslent::GameMgr::setupEntitySupply (  ) 

Definition at line 179 of file gameMgr.cpp.

References entTypeData, FastEcslent::HELLION, FastEcslent::MARAUDER, FastEcslent::MARINE, FastEcslent::NENTITYTYPES, FastEcslent::REAPER, FastEcslent::SCV, FastEcslent::GameEntTypeProperties::supply, FastEcslent::TANK, and FastEcslent::THOR.

Referenced by WaterCraft().

void FastEcslent::GameMgr::setupEntityBuildables (  ) 

Definition at line 158 of file gameMgr.cpp.

References FastEcslent::BARRACKS, FastEcslent::GameEntTypeProperties::buildableEntities, FastEcslent::COMMANDCENTER, entTypeData, FastEcslent::FACTORY, FastEcslent::HELLION, FastEcslent::MARINE, FastEcslent::GameEntTypeProperties::neededTypes, FastEcslent::NENTITYTYPES, FastEcslent::REFINERY, and FastEcslent::SCV.

Referenced by WaterCraft().

void FastEcslent::GameMgr::WaterCraft (  ) 

Definition at line 203 of file gameMgr.cpp.

References FastEcslent::BLUE, clearClient(), currentPopCap, FastEcslent::Mgr::engine, FastEcslent::Resources::gas, initMining, Options::isServer, makeBaseForSidePlayer(), mineralPatchID, mineralPatchInit, FastEcslent::Resources::minerals, FastEcslent::NPLAYERS, FastEcslent::ONE, FastEcslent::Engine::options, playerNEnts, pop, popCap, FastEcslent::RED, resources, setupEntityBuildables(), setupEntityBuildTimes(), setupEntitySupply(), and FastEcslent::THREE.

Referenced by loadLevel().

void FastEcslent::GameMgr::makeBaseForSidePlayer ( Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset 
)

Definition at line 249 of file gameMgr.cpp.

References FastEcslent::ALIVE, FastEcslent::COMMANDCENTER, FastEcslent::EntityMgr::createEntityForPlayerAndSide(), createMineralPatch(), createNEntitiesRadial(), currentEntityCounts, DEBUG, FastEcslent::Mgr::engine, FastEcslent::Engine::entityMgr, FastEcslent::Entity::entityState, FastEcslent::Entity::entityType, FastEcslent::GAS, FastEcslent::NEUTRAL, playerEnts, playerNEnts, FastEcslent::Entity::pos, FastEcslent::SCV, and FastEcslent::Entity::uiname.

Referenced by WaterCraft().

std::vector< FastEcslent::Entity * > FastEcslent::GameMgr::createNEntitiesRadial ( EntityType  entType,
int  n,
Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset,
int  yawOffsetMultiplier = 1 
)

Definition at line 269 of file gameMgr.cpp.

References FastEcslent::ALIVE, FastEcslent::EntityMgr::createEntityForPlayerAndSide(), currentEntityCounts, FastEcslent::Mgr::engine, FastEcslent::Engine::entityMgr, FastEcslent::Entity::entityState, FastEcslent::Entity::entityType, entTypeData, playerEnts, playerNEnts, pop, and FastEcslent::GameEntTypeProperties::supply.

Referenced by createMineralPatch(), and makeBaseForSidePlayer().

void FastEcslent::GameMgr::createMineralPatch ( int  n,
Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset,
int  yawOffsetMultiplier = 1 
)

Definition at line 298 of file gameMgr.cpp.

References FastEcslent::MineralPatch::addMineral(), createNEntitiesRadial(), FastEcslent::MineralPatch::getID(), mineralPatches, FastEcslent::Minerals::mineralPatchId, and FastEcslent::MINERALS.

Referenced by makeBaseForSidePlayer().

void FastEcslent::GameMgr::startMining ( Side  side,
Player  player 
)

Definition at line 332 of file gameMgr.cpp.

References FastEcslent::createGatherForEntAndMineral(), FastEcslent::Entity::entityType, findClosestEntityOfTypeWithinDistance(), FastEcslent::Entity::getAspect(), FastEcslent::MINERALS, playerEnts, playerNEnts, FastEcslent::Entity::pos, FastEcslent::SCV, FastEcslent::UnitAI::setCommand(), and FastEcslent::UNITAI.

FastEcslent::Entity * FastEcslent::GameMgr::findClosestEntityOfTypeWithinDistance ( EntityType  entityType,
Ogre::Vector3  pos,
float  distance,
Side  side,
Player  player 
)

Definition at line 309 of file gameMgr.cpp.

References FastEcslent::ALIVE, DEBUG, FastEcslent::Entity::entityState, FastEcslent::Entity::entityType, playerEnts, playerNEnts, FastEcslent::Entity::pos, and FastEcslent::Entity::uiname.

Referenced by FastEcslent::Gather::gatherTick(), and startMining().

void FastEcslent::GameMgr::game0 (  ) 

Definition at line 192 of file gameMgr.cpp.

References currentPopCap, FastEcslent::NPLAYERS, pop, popCap, setupEntityBuildTimes(), and tester().

Referenced by loadLevel().

void FastEcslent::GameMgr::tester (  ) 

Definition at line 348 of file gameMgr.cpp.

References FastEcslent::ARMORY, FastEcslent::BARRACKS, FastEcslent::COMMANDCENTER, FastEcslent::EntityMgr::createEntityAfterTime(), DEBUG, FastEcslent::Entity::desiredHeading, FastEcslent::Entity::desiredSpeed, FastEcslent::Mgr::engine, FastEcslent::ENGINEERINGBAY, FastEcslent::Engine::entityMgr, FastEcslent::FACTORY, FastEcslent::Entity::heading, FastEcslent::Entity::pos, FastEcslent::REFINERY, FastEcslent::SelectionMgr::resetAll(), FastEcslent::Engine::selectionMgr, FastEcslent::SUPPLYDEPOT, FastEcslent::Entity::uiname, and FastEcslent::Entity::yaw.

Referenced by game0(), and loadLevel().

void FastEcslent::GameMgr::clearClient (  ) 

Definition at line 245 of file gameMgr.cpp.

Referenced by WaterCraft().

FastEcslent::MineralPatch * FastEcslent::GameMgr::getMineralPatch ( int  id  ) 

Definition at line 423 of file gameMgr.cpp.

References initMineralPatch(), mineralPatches, and mineralPatchInit.

Referenced by initMineralPatch(), and FastEcslent::Gather::moveToEntityTick().

FastEcslent::MineralPatch * FastEcslent::GameMgr::initMineralPatch (  ) 

Definition at line 441 of file gameMgr.cpp.

References FastEcslent::MineralPatch::addMineral(), FastEcslent::Mgr::engine, FastEcslent::Engine::entityMgr, FastEcslent::Entity::entityType, FastEcslent::EntityMgr::ents, getMineralPatch(), FastEcslent::Minerals::mineralPatchId, FastEcslent::MINERALS, and FastEcslent::EntityMgr::nEnts.

Referenced by getMineralPatch().

void FastEcslent::GameMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::GameMgr::tick ( double  dtime  )  [virtual]

Reimplemented from FastEcslent::Mgr.

bool FastEcslent::GameMgr::preReqExists ( EntityType  entType  ) 

Definition at line 61 of file gameMgr.cpp.

bool FastEcslent::GameMgr::notExceedPopCap ( Identity  entId  ) 

void FastEcslent::GameMgr::setupEntityBuildTimes (  ) 

void FastEcslent::GameMgr::setupEntitySupply (  ) 

void FastEcslent::GameMgr::WaterCraft (  ) 

void FastEcslent::GameMgr::makeBaseForSidePlayer ( Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset 
)

std::vector<Entity*> FastEcslent::GameMgr::createNEntitiesRadial ( EntityType  entType,
int  n,
Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset,
int  yawOffsetMultiplier = 1 
)

void FastEcslent::GameMgr::createMineralPatch ( int  n,
Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset,
int  yawOffsetMultiplier = 1 
)

void FastEcslent::GameMgr::startMining ( Side  side,
Player  player 
)

Entity* FastEcslent::GameMgr::findClosestEntityOfTypeWithinDistance ( EntityType  entityType,
Ogre::Vector3  pos,
float  distance,
Side  side,
Player  player 
)

void FastEcslent::GameMgr::game0 (  ) 

void FastEcslent::GameMgr::tester (  ) 

void FastEcslent::GameMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::GameMgr::tick ( double  dtime  )  [virtual]

Reimplemented from FastEcslent::Mgr.

bool FastEcslent::GameMgr::preReqExists ( EntityType  entType  ) 

bool FastEcslent::GameMgr::notExceedPopCap ( Identity  entId  ) 

void FastEcslent::GameMgr::setupEntityBuildTimes (  ) 

void FastEcslent::GameMgr::setupEntitySupply (  ) 

void FastEcslent::GameMgr::WaterCraft (  ) 

void FastEcslent::GameMgr::makeBaseForSidePlayer ( Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset 
)

std::vector<Entity*> FastEcslent::GameMgr::createNEntitiesRadial ( EntityType  entType,
int  n,
Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset,
int  yawOffsetMultiplier = 1 
)

void FastEcslent::GameMgr::createMineralPatch ( int  n,
Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset,
int  yawOffsetMultiplier = 1 
)

void FastEcslent::GameMgr::startMining ( Side  side,
Player  player 
)

Entity* FastEcslent::GameMgr::findClosestEntityOfTypeWithinDistance ( EntityType  entityType,
Ogre::Vector3  pos,
float  distance,
Side  side,
Player  player 
)

void FastEcslent::GameMgr::game0 (  ) 

void FastEcslent::GameMgr::tester (  ) 

void FastEcslent::GameMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

virtual void FastEcslent::GameMgr::loadLevel (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::GameMgr::tick ( double  dtime  )  [virtual]

Reimplemented from FastEcslent::Mgr.

bool FastEcslent::GameMgr::preReqExists ( EntityType  entType  ) 

bool FastEcslent::GameMgr::notExceedPopCap ( Identity  entId  ) 

void FastEcslent::GameMgr::setupEntityBuildTimes (  ) 

void FastEcslent::GameMgr::setupEntitySupply (  ) 

void FastEcslent::GameMgr::WaterCraft (  ) 

void FastEcslent::GameMgr::makeBaseForSidePlayer ( Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset 
)

std::vector<Entity*> FastEcslent::GameMgr::createNEntitiesRadial ( EntityType  entType,
int  n,
Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset,
int  yawOffsetMultiplier = 1 
)

void FastEcslent::GameMgr::createMineralPatch ( int  n,
Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset,
int  yawOffsetMultiplier = 1 
)

void FastEcslent::GameMgr::startMining ( Side  side,
Player  player 
)

Entity* FastEcslent::GameMgr::findClosestEntityOfTypeWithinDistance ( EntityType  entityType,
Ogre::Vector3  pos,
float  distance,
Side  side,
Player  player 
)

void FastEcslent::GameMgr::game0 (  ) 

void FastEcslent::GameMgr::tester (  ) 

void FastEcslent::GameMgr::clearClient (  ) 

void FastEcslent::GameMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

virtual void FastEcslent::GameMgr::loadLevel (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::GameMgr::tick ( double  dtime  )  [virtual]

Reimplemented from FastEcslent::Mgr.

bool FastEcslent::GameMgr::preReqExists ( EntityType  entType  ) 

bool FastEcslent::GameMgr::notExceedPopCap ( Identity  entId  ) 

void FastEcslent::GameMgr::setupEntityBuildTimes (  ) 

void FastEcslent::GameMgr::setupEntitySupply (  ) 

void FastEcslent::GameMgr::WaterCraft (  ) 

void FastEcslent::GameMgr::makeBaseForSidePlayer ( Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset 
)

std::vector<Entity*> FastEcslent::GameMgr::createNEntitiesRadial ( EntityType  entType,
int  n,
Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset,
int  yawOffsetMultiplier = 1 
)

void FastEcslent::GameMgr::createMineralPatch ( int  n,
Side  side,
Player  player,
Ogre::Vector3  location,
float  offset,
float  yawOffset,
int  yawOffsetMultiplier = 1 
)

void FastEcslent::GameMgr::startMining ( Side  side,
Player  player 
)

Entity* FastEcslent::GameMgr::findClosestEntityOfTypeWithinDistance ( EntityType  entityType,
Ogre::Vector3  pos,
float  distance,
Side  side,
Player  player 
)

void FastEcslent::GameMgr::game0 (  ) 

void FastEcslent::GameMgr::tester (  ) 

void FastEcslent::GameMgr::clearClient (  ) 


Member Data Documentation

int FastEcslent::GameMgr::mineralPatchID [private]

Definition at line 57 of file gameMgr.h.

Referenced by WaterCraft().

bool FastEcslent::GameMgr::mineralPatchInit [private]

Definition at line 58 of file gameMgr.h.

Referenced by getMineralPatch(), and WaterCraft().

bool FastEcslent::GameMgr::initMining [private]

Definition at line 59 of file gameMgr.h.

Referenced by WaterCraft().

std::vector<MineralPatch*> FastEcslent::GameMgr::mineralPatches [private]

Definition at line 60 of file gameMgr.h.

Referenced by createMineralPatch(), and getMineralPatch().

Options FastEcslent::GameMgr::options

Definition at line 64 of file gameMgr.h.

Referenced by GameMgr().

int FastEcslent::GameMgr::popCap

Definition at line 66 of file gameMgr.h.

Referenced by game0(), and WaterCraft().

int FastEcslent::GameMgr::pop

Definition at line 67 of file gameMgr.h.

Referenced by FastEcslent::NetThread::createEnt(), createNEntitiesRadial(), game0(), and WaterCraft().

int FastEcslent::GameMgr::currentPopCap

Definition at line 68 of file gameMgr.h.

Referenced by game0(), and WaterCraft().

int FastEcslent::GameMgr::currentEntityCounts

Definition at line 69 of file gameMgr.h.

Referenced by FastEcslent::NetThread::createEnt(), createNEntitiesRadial(), and makeBaseForSidePlayer().

Entity* FastEcslent::GameMgr::playerEnts[NPLAYERS][PerPlayerMaxEnts]

Definition at line 70 of file gameMgr.h.

Referenced by FastEcslent::NetThread::createEnt(), createNEntitiesRadial(), findClosestEntityOfTypeWithinDistance(), makeBaseForSidePlayer(), and startMining().

int FastEcslent::GameMgr::playerNEnts

Definition at line 71 of file gameMgr.h.

Referenced by FastEcslent::NetThread::createEnt(), createNEntitiesRadial(), findClosestEntityOfTypeWithinDistance(), makeBaseForSidePlayer(), startMining(), and WaterCraft().

GameEntTypeProperties FastEcslent::GameMgr::entTypeData

Definition at line 73 of file gameMgr.h.

Referenced by consumeResources(), FastEcslent::NetThread::createEnt(), createNEntitiesRadial(), FastEcslent::Entity::init(), returnResources(), setupEntityBuildables(), setupEntityBuildTimes(), setupEntitySupply(), and FastEcslent::Entity::switchState().

Resources FastEcslent::GameMgr::resources

Definition at line 74 of file gameMgr.h.

Referenced by consumeResources(), returnResources(), FastEcslent::Gather::switchState(), and WaterCraft().

int FastEcslent::GameMgr::gameNumber [private]

Definition at line 56 of file gameMgr.h.

std::vector<MineralPatch*> FastEcslent::GameMgr::mineralPatches [private]

Definition at line 57 of file gameMgr.h.

Entity* FastEcslent::GameMgr::playerEnts[NPLAYERS][PerPlayerMaxEnts]

Definition at line 67 of file gameMgr.h.

std::vector<MineralPatch*> FastEcslent::GameMgr::mineralPatches [private]

Definition at line 57 of file gameMgr.h.

Entity* FastEcslent::GameMgr::playerEnts[NPLAYERS][PerPlayerMaxEnts]

Definition at line 67 of file gameMgr.h.

std::vector<MineralPatch*> FastEcslent::GameMgr::mineralPatches [private]

Definition at line 56 of file gameMgr.h.

Entity* FastEcslent::GameMgr::playerEnts[NPLAYERS][PerPlayerMaxEnts]

Definition at line 66 of file gameMgr.h.

std::vector<MineralPatch*> FastEcslent::GameMgr::mineralPatches [private]

Definition at line 56 of file gameMgr.h.

Entity* FastEcslent::GameMgr::playerEnts[NPLAYERS][PerPlayerMaxEnts]

Definition at line 66 of file gameMgr.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 13 14:54:21 2013 for FastECSLent by  doxygen 1.5.4