FastEcslent::Entity Class Reference

#include <ent.h>

Inheritance diagram for FastEcslent::Entity:

FastEcslent::Building FastEcslent::Building FastEcslent::Building FastEcslent::Building FastEcslent::Building FastEcslent::Helion FastEcslent::Helion FastEcslent::Helion FastEcslent::Helion FastEcslent::Helion FastEcslent::Marauder FastEcslent::Marauder FastEcslent::Marauder FastEcslent::Marauder FastEcslent::Marauder FastEcslent::Marine FastEcslent::Marine FastEcslent::Marine FastEcslent::Marine FastEcslent::Marine FastEcslent::Reaper FastEcslent::Reaper FastEcslent::Reaper FastEcslent::Reaper FastEcslent::Reaper FastEcslent::SCVehicle FastEcslent::SCVehicle FastEcslent::SCVehicle FastEcslent::SCVehicle FastEcslent::SCVehicle FastEcslent::Tank FastEcslent::Tank FastEcslent::Tank FastEcslent::Tank FastEcslent::Tank FastEcslent::Thor FastEcslent::Thor FastEcslent::Thor FastEcslent::Thor FastEcslent::Thor

List of all members.

Public Member Functions

 Entity (Engine *eng, EntityType entType)
UnitAspectgetAspect (UnitAspectType i)
void removeAspect (UnitAspectType i)
void addAspect (UnitAspect *asp)
void switchState (EntityState newState)
virtual void print ()
virtual void tick (double dt)
virtual void gestatingTick (double dt)
virtual void aliveTick (double dt)
virtual void dyingTick (double dt)
virtual void deadTick (double dt)
virtual bool raising (double dt)
virtual bool sinking (double dt)
 Entity (Engine *eng, EntityType entType)
virtual void init ()
UnitAspectgetAspect (UnitAspectType i)
void removeAspect (UnitAspectType i)
void addAspect (UnitAspect *asp)
void switchState (EntityState newState)
virtual void print ()
virtual void tick (double dt)
virtual void gestatingTick (double dt)
virtual void aliveTick (double dt)
virtual void dyingTick (double dt)
virtual void deadTick (double dt)
virtual bool raising (double dt)
virtual bool sinking (double dt)
 Entity (Engine *eng, EntityType entType)
virtual void init ()
UnitAspectgetAspect (UnitAspectType i)
void removeAspect (UnitAspectType i)
void addAspect (UnitAspect *asp)
void switchState (EntityState newState)
virtual void print ()
virtual void tick (double dt)
virtual void gestatingTick (double dt)
virtual void aliveTick (double dt)
virtual void dyingTick (double dt)
virtual void deadTick (double dt)
virtual bool raising (double dt)
virtual bool sinking (double dt)
 Entity (Engine *eng, EntityType entType)
UnitAspectgetAspect (UnitAspectType i)
void removeAspect (UnitAspectType i)
void addAspect (UnitAspect *asp)
void switchState (EntityState newState)
virtual void print ()
virtual void tick (double dt)
virtual void gestatingTick (double dt)
virtual void aliveTick (double dt)
virtual void dyingTick (double dt)
virtual void deadTick (double dt)
virtual bool raising (double dt)
virtual bool sinking (double dt)
 Entity (Engine *eng, EntityType entType)
virtual void init ()
UnitAspectgetAspect (UnitAspectType i)
void removeAspect (UnitAspectType i)
void addAspect (UnitAspect *asp)
void switchState (EntityState newState)
virtual void print ()
virtual void tick (double dt)
virtual void gestatingTick (double dt)
virtual void aliveTick (double dt)
virtual void dyingTick (double dt)
virtual void deadTick (double dt)
virtual bool raising (double dt)
virtual bool sinking (double dt)

Public Attributes

Ogre::Vector3 pos
Ogre::Vector3 vel
Ogre::Vector3 acc
Ogre::Vector3 potentialVec
double attractivePotential
Ogre::Quaternion rot
float yaw
float desiredSpeed
float desiredHeading
float speed
float maxSpeed
float minSpeed
float speedRange
float heading
float maxAcceleration
float maxRotationalSpeed
float turningRadius
float length
float width
float height
float depth
float mass
std::string uiname
std::string meshName
Engineengine
Identity entityId
EntityType entityType
EntityClass entityClass
EntityState entityState
double gestationPeriod
double timeLeftToBirth
double timeLeftToDie
double hitpoints
boost::mutex entLock
std::deque< UnitAspect * > aspects
Weaponweapon
UnitAIai
Physicsphysics
Builderbuilder
NetAspectnetAspect
bool isSelected
bool selectable
bool didSelectSoundPlayed
bool isNewBorn
Engineengine
int idNumber
std::deque< UnitAspect * > aspects
Weaponweapon
UnitAIai
Physicsphysics
Engineengine
std::deque< UnitAspect * > aspects
Weaponweapon
UnitAIai
Physicsphysics
Engineengine
std::deque< UnitAspect * > aspects
Weaponweapon
UnitAIai
Physicsphysics
NetAspectnetAspect
Engineengine
std::deque< UnitAspect * > aspects
Weaponweapon
UnitAIai
Physicsphysics
NetAspectnetAspect

Static Public Attributes

static int count = 0

Protected Member Functions

virtual void init ()
virtual void init ()

Private Member Functions

void reset ()
void reset ()
void reset ()
void reset ()
void reset ()


Detailed Description

Definition at line 44 of file ent.h.


Constructor & Destructor Documentation

FastEcslent::Entity::Entity ( Engine eng,
EntityType  entType 
)

Definition at line 87 of file ent.cpp.

References engine, entityClass, entityType, init(), meshName, reset(), FastEcslent::SURFACE, and uiname.

FastEcslent::Entity::Entity ( Engine eng,
EntityType  entType 
)

FastEcslent::Entity::Entity ( Engine eng,
EntityType  entType 
)

FastEcslent::Entity::Entity ( Engine eng,
EntityType  entType 
)

FastEcslent::Entity::Entity ( Engine eng,
EntityType  entType 
)


Member Function Documentation

void FastEcslent::Entity::reset (  )  [private]

Definition at line 33 of file ent.cpp.

References acc, FastEcslent::ALIVE, aspects, FastEcslent::BATTLEMASTER, desiredHeading, desiredSpeed, didSelectSoundPlayed, entityClass, entityId, entityState, gestationPeriod, heading, isNewBorn, isSelected, maxAcceleration, maxRotationalSpeed, maxSpeed, minSpeed, FastEcslent::ONE, FastEcslent::Identity::player, pos, rot, selectable, FastEcslent::Identity::side, speed, speedRange, FastEcslent::SURFACE, timeLeftToBirth, timeLeftToDie, turningRadius, vel, and yaw.

Referenced by Entity().

void FastEcslent::Entity::init (  )  [protected, virtual]

Reimplemented in FastEcslent::Building, FastEcslent::SCVehicle, FastEcslent::Building, FastEcslent::Building, FastEcslent::Building, and FastEcslent::Building.

Definition at line 112 of file ent.cpp.

References addAspect(), ai, FastEcslent::GameEntTypeProperties::buildTime, engine, entityType, FastEcslent::GameMgr::entTypeData, FastEcslent::Engine::gameMgr, gestationPeriod, FastEcslent::NetAspect::init(), FastEcslent::UnitAI::init(), FastEcslent::Physics::init(), FastEcslent::NASPECTTYPES, FastEcslent::NET, netAspect, physics, FastEcslent::PHYSICS, FastEcslent::UNITAI, weapon, and FastEcslent::WEAPON.

Referenced by Entity(), OgreGFX::FEMarineButton::handleMouseEvent(), and OgreGFX::FESCVButton::handleMouseEvent().

FastEcslent::UnitAspect * FastEcslent::Entity::getAspect ( UnitAspectType  i  ) 

Definition at line 178 of file ent.cpp.

References aspects.

Referenced by FastEcslent::addCommandForEnt(), FastEcslent::addMoveForEnt(), FastEcslent::BuildCommand::init(), FastEcslent::setGatherForEnt(), FastEcslent::setMoveForEnt(), FastEcslent::setPotentialMoveForEnt(), FastEcslent::GameMgr::startMining(), and FastEcslent::NetThread::updateState().

void FastEcslent::Entity::removeAspect ( UnitAspectType  i  ) 

Definition at line 186 of file ent.cpp.

References aspects.

void FastEcslent::Entity::addAspect ( UnitAspect asp  ) 

Definition at line 174 of file ent.cpp.

References aspects.

Referenced by FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::Factory::Factory(), FastEcslent::SCVehicle::init(), init(), and FastEcslent::Building::init().

void FastEcslent::Entity::switchState ( EntityState  newState  ) 

Definition at line 223 of file ent.cpp.

References FastEcslent::GameEntTypeProperties::buildTime, FastEcslent::DYING, engine, entityState, entityType, FastEcslent::GameMgr::entTypeData, FastEcslent::Engine::gameMgr, FastEcslent::GESTATING, isSelected, selectable, FastEcslent::Engine::selectionMgr, timeLeftToBirth, timeLeftToDie, and FastEcslent::SelectionMgr::unselect().

Referenced by FastEcslent::EntityMgr::cancelGestatingEntity(), FastEcslent::EntityMgr::createEntityAfterTime(), FastEcslent::EntityMgr::createEntityNow(), dyingTick(), gestatingTick(), raising(), sinking(), and FastEcslent::Weapon::takeDamage().

void FastEcslent::Entity::print (  )  [virtual]

Definition at line 18 of file ent.cpp.

References acc, DEBUG, desiredHeading, desiredSpeed, engine, entityId, heading, FastEcslent::Identity::id, FastEcslent::Engine::instanceId, isSelected, meshName, pos, speed, uiname, vel, and yaw.

Referenced by FastEcslent::EntityMgr::dumpAll(), FastEcslent::EntityMgr::dumpOne(), and FastEcslent::Group::print().

void FastEcslent::Entity::tick ( double  dt  )  [virtual]

Definition at line 199 of file ent.cpp.

References FastEcslent::ALIVE, aliveTick(), FastEcslent::DEAD, FastEcslent::DYING, dyingTick(), FastEcslent::GESTATING, and gestatingTick().

Referenced by FastEcslent::EntityMgr::tick().

void FastEcslent::Entity::gestatingTick ( double  dt  )  [virtual]

Definition at line 235 of file ent.cpp.

References FastEcslent::ALIVE, entLock, isNewBorn, raising(), and switchState().

Referenced by tick().

void FastEcslent::Entity::aliveTick ( double  dt  )  [virtual]

Definition at line 244 of file ent.cpp.

References aspects, DEBUG, and entLock.

Referenced by tick().

void FastEcslent::Entity::dyingTick ( double  dt  )  [virtual]

Definition at line 252 of file ent.cpp.

References FastEcslent::DEAD, entLock, sinking(), and switchState().

Referenced by tick().

void FastEcslent::Entity::deadTick ( double  dt  )  [virtual]

Definition at line 259 of file ent.cpp.

bool FastEcslent::Entity::raising ( double  dt  )  [virtual]

Definition at line 161 of file ent.cpp.

References FastEcslent::ALIVE, gestationPeriod, height, pos, switchState(), and timeLeftToBirth.

Referenced by gestatingTick().

bool FastEcslent::Entity::sinking ( double  dt  )  [virtual]

Definition at line 146 of file ent.cpp.

References FastEcslent::DEAD, height, pos, switchState(), and timeLeftToDie.

Referenced by dyingTick().

void FastEcslent::Entity::reset (  )  [private]

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

Reimplemented in FastEcslent::Building, FastEcslent::SCVehicle, FastEcslent::Building, FastEcslent::Building, FastEcslent::Building, and FastEcslent::Building.

UnitAspect* FastEcslent::Entity::getAspect ( UnitAspectType  i  ) 

void FastEcslent::Entity::removeAspect ( UnitAspectType  i  ) 

void FastEcslent::Entity::addAspect ( UnitAspect asp  ) 

void FastEcslent::Entity::switchState ( EntityState  newState  ) 

virtual void FastEcslent::Entity::print (  )  [virtual]

virtual void FastEcslent::Entity::tick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::gestatingTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::aliveTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::dyingTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::deadTick ( double  dt  )  [virtual]

virtual bool FastEcslent::Entity::raising ( double  dt  )  [virtual]

virtual bool FastEcslent::Entity::sinking ( double  dt  )  [virtual]

void FastEcslent::Entity::reset (  )  [private]

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

Reimplemented in FastEcslent::Building, FastEcslent::SCVehicle, FastEcslent::Building, FastEcslent::Building, FastEcslent::Building, and FastEcslent::Building.

UnitAspect* FastEcslent::Entity::getAspect ( UnitAspectType  i  ) 

void FastEcslent::Entity::removeAspect ( UnitAspectType  i  ) 

void FastEcslent::Entity::addAspect ( UnitAspect asp  ) 

void FastEcslent::Entity::switchState ( EntityState  newState  ) 

virtual void FastEcslent::Entity::print (  )  [virtual]

virtual void FastEcslent::Entity::tick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::gestatingTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::aliveTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::dyingTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::deadTick ( double  dt  )  [virtual]

virtual bool FastEcslent::Entity::raising ( double  dt  )  [virtual]

virtual bool FastEcslent::Entity::sinking ( double  dt  )  [virtual]

void FastEcslent::Entity::reset (  )  [private]

virtual void FastEcslent::Entity::init (  )  [protected, virtual]

Reimplemented in FastEcslent::Building, FastEcslent::SCVehicle, FastEcslent::Building, FastEcslent::Building, FastEcslent::Building, and FastEcslent::Building.

UnitAspect* FastEcslent::Entity::getAspect ( UnitAspectType  i  ) 

void FastEcslent::Entity::removeAspect ( UnitAspectType  i  ) 

void FastEcslent::Entity::addAspect ( UnitAspect asp  ) 

void FastEcslent::Entity::switchState ( EntityState  newState  ) 

virtual void FastEcslent::Entity::print (  )  [virtual]

virtual void FastEcslent::Entity::tick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::gestatingTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::aliveTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::dyingTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::deadTick ( double  dt  )  [virtual]

virtual bool FastEcslent::Entity::raising ( double  dt  )  [virtual]

virtual bool FastEcslent::Entity::sinking ( double  dt  )  [virtual]

void FastEcslent::Entity::reset (  )  [private]

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

Reimplemented in FastEcslent::Building, FastEcslent::SCVehicle, FastEcslent::Building, FastEcslent::Building, FastEcslent::Building, and FastEcslent::Building.

UnitAspect* FastEcslent::Entity::getAspect ( UnitAspectType  i  ) 

void FastEcslent::Entity::removeAspect ( UnitAspectType  i  ) 

void FastEcslent::Entity::addAspect ( UnitAspect asp  ) 

void FastEcslent::Entity::switchState ( EntityState  newState  ) 

virtual void FastEcslent::Entity::print (  )  [virtual]

virtual void FastEcslent::Entity::tick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::gestatingTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::aliveTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::dyingTick ( double  dt  )  [virtual]

virtual void FastEcslent::Entity::deadTick ( double  dt  )  [virtual]

virtual bool FastEcslent::Entity::raising ( double  dt  )  [virtual]

virtual bool FastEcslent::Entity::sinking ( double  dt  )  [virtual]


Member Data Documentation

int FastEcslent::Entity::count = 0 [static]

Definition at line 47 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::Gas::Gas(), FastEcslent::Helion::Helion(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), and FastEcslent::Thor::Thor().

Ogre::Vector3 FastEcslent::Entity::pos

Definition at line 50 of file ent.h.

Referenced by FastEcslent::Tactic::changeLeadership(), FastEcslent::Tactic::closestToTarget(), FastEcslent::Flock::cohesion(), FastEcslent::DistanceMgr::cpaSquaredDistance(), FastEcslent::DistanceMgr::cpaTime(), FastEcslent::EntityMgr::createEntity(), FastEcslent::createGatherForEntAndMineral(), OgreGFX::UIMgr::decorateSelectedEntities(), FastEcslent::Physics2D2::doHelmsman(), FastEcslent::Physics2D1::doHelmsman(), FastEcslent::PotentialMove::done(), FastEcslent::Move::done(), FastEcslent::fillStateFromEnt(), FastEcslent::GameMgr::findClosestEntityOfTypeWithinDistance(), FastEcslent::NetThread::getMyIP(), FastEcslent::MineralPatch::getNextMineral(), FastEcslent::Weapon::getUnitsInRadius(), FastEcslent::Weapon::getUnitsInRectangle(), OgreGFX::FEMarineButton::handleMouseEvent(), OgreGFX::FESCVButton::handleMouseEvent(), FastEcslent::Maintain::init(), FastEcslent::PotentialMove::init(), FastEcslent::Move::init(), FastEcslent::NetAspect::initNetworking(), FastEcslent::NetAspect::lerpPos(), FastEcslent::Maintain::Maintain(), FastEcslent::GameMgr::makeBaseForSidePlayer(), FastEcslent::BuildStructureFactory::MakeCommand(), OgreGFX::GraphicsInteractionManager::makeNode(), FastEcslent::Gather::moveToEntityTick(), print(), raising(), reset(), FastEcslent::Builder::selectRandPosInRadius(), FastEcslent::Refinery::setAssociatedOilField(), sinking(), FastEcslent::GameMgr::startMining(), FastEcslent::GameMgr::tester(), FastEcslent::Flock::tick(), FastEcslent::DistanceMgr::tick(), FastEcslent::Maintain::tick(), FastEcslent::PotentialMove::tick(), FastEcslent::Move::tick(), FastEcslent::NetAspect::updateEcslent(), and FastEcslent::DistanceMgr::wouldCollide().

Ogre::Vector3 FastEcslent::Entity::vel

Definition at line 51 of file ent.h.

Referenced by FastEcslent::Flock::alignment(), FastEcslent::Flock::applyForces(), FastEcslent::DistanceMgr::cpaSquaredDistance(), FastEcslent::DistanceMgr::cpaTime(), FastEcslent::NetThread::createEnt(), FastEcslent::Physics2D2::doHelmsman(), FastEcslent::Physics2D1::doHelmsman(), FastEcslent::fillStateFromEnt(), FastEcslent::NetThread::getMyIP(), FastEcslent::NetAspect::lerpPos(), print(), reset(), FastEcslent::Flock::tick(), FastEcslent::Maintain::tick(), and FastEcslent::PotentialMove::tick().

Ogre::Vector3 FastEcslent::Entity::acc

Definition at line 52 of file ent.h.

Referenced by print(), and reset().

Ogre::Vector3 FastEcslent::Entity::potentialVec

Definition at line 54 of file ent.h.

Referenced by FastEcslent::PotentialMove::tick().

double FastEcslent::Entity::attractivePotential

Definition at line 55 of file ent.h.

Referenced by FastEcslent::PotentialMove::tick().

Ogre::Quaternion FastEcslent::Entity::rot

Definition at line 57 of file ent.h.

Referenced by FastEcslent::Physics2D2::doHelmsman(), reset(), and FastEcslent::Maintain::tick().

float FastEcslent::Entity::yaw

Definition at line 58 of file ent.h.

Referenced by FastEcslent::EntityMgr::createEntity(), FastEcslent::Physics2D2::doHelmsman(), FastEcslent::fillStateFromEnt(), FastEcslent::NetThread::getMyIP(), OgreGFX::FEMarineButton::handleMouseEvent(), OgreGFX::FESCVButton::handleMouseEvent(), FastEcslent::NetAspect::initNetworking(), FastEcslent::NetAspect::lerpRot(), print(), reset(), FastEcslent::GameMgr::tester(), and FastEcslent::NetAspect::updateEcslent().

float FastEcslent::Entity::desiredSpeed

Definition at line 59 of file ent.h.

Referenced by FastEcslent::Flock::applyForces(), FastEcslent::NetThread::createEnt(), FastEcslent::EntityMgr::createEntityForPlayerAndSide(), OgreGFX::UIMgr::decorateSelectedEntities(), FastEcslent::Physics2D2::doHelmsman(), FastEcslent::Physics2D1::doHelmsman(), FastEcslent::fillStateFromEnt(), FastEcslent::NetThread::getMyIP(), OgreGFX::FEMarineButton::handleMouseEvent(), OgreGFX::FESCVButton::handleMouseEvent(), FastEcslent::Physics2D2::init(), FastEcslent::Physics2D1::init(), FastEcslent::PotentialMove::init(), FastEcslent::Move::init(), FastEcslent::NetAspect::initNetworking(), FastEcslent::Gather::moveToEntityTick(), print(), FastEcslent::NetThread::propagateCommand(), reset(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::GameMgr::tester(), FastEcslent::NetAspect::tick(), FastEcslent::Maintain::tick(), FastEcslent::PotentialMove::tick(), FastEcslent::Move::tick(), and FastEcslent::NetAspect::updateEcslent().

float FastEcslent::Entity::desiredHeading

Definition at line 60 of file ent.h.

Referenced by FastEcslent::Flock::applyForces(), FastEcslent::NetThread::createEnt(), OgreGFX::UIMgr::decorateSelectedEntities(), FastEcslent::Physics2D2::doHelmsman(), FastEcslent::Physics2D1::doHelmsman(), FastEcslent::fillStateFromEnt(), FastEcslent::NetThread::getMyIP(), OgreGFX::FEMarineButton::handleMouseEvent(), OgreGFX::FESCVButton::handleMouseEvent(), FastEcslent::Physics2D2::init(), FastEcslent::Physics2D1::init(), FastEcslent::Move::init(), FastEcslent::NetAspect::initNetworking(), FastEcslent::Gather::moveToEntityTick(), print(), FastEcslent::NetThread::propagateCommand(), reset(), FastEcslent::GameMgr::tester(), FastEcslent::NetAspect::tick(), FastEcslent::Maintain::tick(), FastEcslent::PotentialMove::tick(), FastEcslent::Move::tick(), and FastEcslent::NetAspect::updateEcslent().

float FastEcslent::Entity::speed

Definition at line 61 of file ent.h.

Referenced by FastEcslent::Flock::computeSeparation(), OgreGFX::UIMgr::decorateSelectedEntities(), FastEcslent::Physics2D2::doHelmsman(), FastEcslent::Physics2D1::doHelmsman(), FastEcslent::Physics2D2::init(), FastEcslent::Physics2D1::init(), FastEcslent::NetAspect::initNetworking(), FastEcslent::Gather::moveToEntityTick(), print(), reset(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::Weapon::tick(), and FastEcslent::Maintain::tick().

float FastEcslent::Entity::maxSpeed

Definition at line 62 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::NetThread::createEnt(), FastEcslent::Physics2D2::doHelmsman(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::fillInfoFromEnt(), FastEcslent::Gas::Gas(), FastEcslent::NetThread::getMyIP(), FastEcslent::Helion::Helion(), FastEcslent::Flock::init(), FastEcslent::PotentialMove::init(), FastEcslent::Move::init(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), FastEcslent::Gather::moveToEntityTick(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), reset(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), FastEcslent::Thor::Thor(), FastEcslent::Maintain::tick(), FastEcslent::PotentialMove::tick(), and FastEcslent::Move::tick().

float FastEcslent::Entity::minSpeed

Definition at line 63 of file ent.h.

Referenced by FastEcslent::Flock::applyForces(), FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::Physics2D2::doHelmsman(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::Gas::Gas(), FastEcslent::NetThread::getMyIP(), FastEcslent::Helion::Helion(), FastEcslent::Flock::init(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), reset(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), FastEcslent::Thor::Thor(), and FastEcslent::PotentialMove::tick().

float FastEcslent::Entity::speedRange

Definition at line 64 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), OgreGFX::UIMgr::decorateSelectedEntities(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::Gas::Gas(), FastEcslent::Helion::Helion(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), reset(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), and FastEcslent::Thor::Thor().

float FastEcslent::Entity::heading

Definition at line 65 of file ent.h.

Referenced by FastEcslent::EntityMgr::createEntity(), OgreGFX::UIMgr::decorateSelectedEntities(), FastEcslent::Physics2D2::doHelmsman(), FastEcslent::Physics2D1::doHelmsman(), OgreGFX::FEMarineButton::handleMouseEvent(), OgreGFX::FESCVButton::handleMouseEvent(), FastEcslent::Physics2D2::init(), FastEcslent::Physics2D1::init(), FastEcslent::Maintain::init(), OgreGFX::GraphicsInteractionManager::makeNode(), FastEcslent::Gather::moveToEntityTick(), print(), reset(), FastEcslent::GameMgr::tester(), and FastEcslent::PotentialMove::tick().

float FastEcslent::Entity::maxAcceleration

Definition at line 66 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::Physics2D2::doHelmsman(), FastEcslent::Physics2D1::doHelmsman(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::Gas::Gas(), FastEcslent::Helion::Helion(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), reset(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), and FastEcslent::Thor::Thor().

float FastEcslent::Entity::maxRotationalSpeed

Definition at line 67 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::Physics2D2::doHelmsman(), FastEcslent::Physics2D1::doHelmsman(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::Gas::Gas(), FastEcslent::Helion::Helion(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), reset(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), and FastEcslent::Thor::Thor().

float FastEcslent::Entity::turningRadius

Definition at line 70 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::PotentialMove::done(), FastEcslent::Move::done(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::Gas::Gas(), FastEcslent::Helion::Helion(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), reset(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), and FastEcslent::Thor::Thor().

float FastEcslent::Entity::length

Definition at line 72 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::NetThread::createEnt(), OgreGFX::UIMgr::decorateSelectedEntities(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::fillInfoFromEnt(), FastEcslent::Gas::Gas(), FastEcslent::NetThread::getMyIP(), FastEcslent::Helion::Helion(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), FastEcslent::Gather::moveToEntityTick(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), and FastEcslent::Thor::Thor().

float FastEcslent::Entity::width

Definition at line 72 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::NetThread::createEnt(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::fillInfoFromEnt(), FastEcslent::Gas::Gas(), FastEcslent::NetThread::getMyIP(), FastEcslent::Helion::Helion(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), and FastEcslent::Thor::Thor().

float FastEcslent::Entity::height

Definition at line 72 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::Gas::Gas(), FastEcslent::Helion::Helion(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), raising(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), FastEcslent::SCVehicle::SCVehicle(), sinking(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), and FastEcslent::Thor::Thor().

float FastEcslent::Entity::depth

Definition at line 72 of file ent.h.

Referenced by FastEcslent::NetThread::createEnt(), FastEcslent::fillInfoFromEnt(), and FastEcslent::NetThread::getMyIP().

float FastEcslent::Entity::mass

Definition at line 73 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::Flock::computeSeparation(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::Gas::Gas(), FastEcslent::Helion::Helion(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), FastEcslent::Tactic::mostMassive(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), FastEcslent::Thor::Thor(), and FastEcslent::PotentialMove::tick().

std::string FastEcslent::Entity::uiname

Definition at line 75 of file ent.h.

Referenced by OgreGFX::WidgetMgr::activateMenu(), FastEcslent::Group::addMember(), FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::Building::Building(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::NetThread::createEnt(), FastEcslent::EngineeringBay::EngineeringBay(), Entity(), FastEcslent::Factory::Factory(), FastEcslent::fillInfoFromEnt(), FastEcslent::GameMgr::findClosestEntityOfTypeWithinDistance(), FastEcslent::Gas::Gas(), FastEcslent::NetThread::getMyIP(), FastEcslent::Helion::Helion(), FastEcslent::Flock::init(), FastEcslent::Maintain::Maintain(), FastEcslent::GameMgr::makeBaseForSidePlayer(), OgreGFX::GraphicsInteractionManager::makeNode(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), print(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), FastEcslent::GameMgr::tester(), FastEcslent::Thor::Thor(), and FastEcslent::Wait::tick().

std::string FastEcslent::Entity::meshName

Definition at line 76 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::Building::Building(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::EngineeringBay::EngineeringBay(), Entity(), FastEcslent::Factory::Factory(), FastEcslent::Gas::Gas(), FastEcslent::Helion::Helion(), OgreGFX::GraphicsInteractionManager::makeNode(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), print(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Tank::Tank(), and FastEcslent::Thor::Thor().

Engine* FastEcslent::Entity::engine

Definition at line 78 of file ent.h.

Referenced by FastEcslent::Builder::cancelEntityBeingBuilt(), FastEcslent::NetAspect::createEntity(), FastEcslent::Builder::enqueue(), Entity(), FastEcslent::Gather::gatherTick(), FastEcslent::Weapon::getUnitsInRadius(), FastEcslent::Weapon::getUnitsInRectangle(), FastEcslent::Weapon::init(), init(), FastEcslent::BuildStructureFactory::MakeCommand(), FastEcslent::Gather::moveToEntityTick(), print(), FastEcslent::NetAspect::requestMineralPatchID(), FastEcslent::Builder::selectRandPosInRadius(), FastEcslent::Refinery::setAssociatedOilField(), FastEcslent::setPotentialMoveForEnt(), FastEcslent::Builder::startBuildingNextEntity(), switchState(), FastEcslent::Gather::switchState(), FastEcslent::Weapon::tick(), FastEcslent::UnitAI::tick(), OgreSND::SoundMgr::tick(), FastEcslent::NetAspect::tick(), FastEcslent::PotentialMove::tick(), and FastEcslent::NetAspect::updateServer().

Identity FastEcslent::Entity::entityId

Definition at line 79 of file ent.h.

Referenced by FastEcslent::EntityMgr::addEntityToGame(), FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::Flock::computeSeparation(), FastEcslent::NetThread::createEntFromClientReq(), FastEcslent::EntityMgr::createEntityForPlayerAndSide(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::fillInfoFromEnt(), FastEcslent::fillStateFromEnt(), FastEcslent::Gas::Gas(), FastEcslent::NetThread::getMyIP(), FastEcslent::Helion::Helion(), FastEcslent::DistanceMgr::isColliding(), FastEcslent::Group::isMember(), OgreGFX::GraphicsInteractionManager::makeNode(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), print(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), reset(), FastEcslent::NetThread::responseMineralPatchID(), FastEcslent::Engine::runTests(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SelectionMgr::select(), FastEcslent::NetThread::sendInfo(), FastEcslent::setPotentialMoveForEnt(), FastEcslent::Builder::startBuildingNextEntity(), FastEcslent::SupplyDepot::SupplyDepot(), FastEcslent::Gather::switchState(), FastEcslent::Tank::Tank(), FastEcslent::Thor::Thor(), FastEcslent::Weapon::tick(), FastEcslent::UnitAI::tick(), OgreSND::SoundMgr::tick(), FastEcslent::DistanceMgr::tick(), FastEcslent::PotentialMove::tick(), and FastEcslent::SelectionMgr::unselect().

EntityType FastEcslent::Entity::entityType

Definition at line 81 of file ent.h.

Referenced by OgreGFX::WidgetMgr::activateMenu(), OgreGFX::UIMgr::CommandGatherOrPFMove(), FastEcslent::NetThread::createEnt(), FastEcslent::GameMgr::createNEntitiesRadial(), OgreGFX::UIMgr::decorateSelectedEntities(), Entity(), FastEcslent::fillInfoFromEnt(), FastEcslent::GameMgr::findClosestEntityOfTypeWithinDistance(), FastEcslent::Gather::Gather(), FastEcslent::NetThread::getMyIP(), FastEcslent::Weapon::init(), init(), FastEcslent::GameMgr::initMineralPatch(), FastEcslent::NetAspect::initNetworking(), FastEcslent::GameMgr::makeBaseForSidePlayer(), OgreGFX::GraphicsInteractionManager::makeNode(), FastEcslent::Gather::postProcess(), FastEcslent::NetThread::responseMineralPatchID(), FastEcslent::Refinery::setAssociatedOilField(), FastEcslent::setGatherForEnt(), FastEcslent::GameMgr::startMining(), switchState(), OgreSND::SoundMgr::tick(), and FastEcslent::NetThread::updateMineralPatchID().

EntityClass FastEcslent::Entity::entityClass

Definition at line 82 of file ent.h.

Referenced by FastEcslent::Building::Building(), OgreGFX::UIMgr::CommandGatherOrPFMove(), OgreGFX::UIMgr::CommandPotentialFieldsMove(), OgreGFX::UIMgr::decorateSelectedEntities(), Entity(), OgreGFX::GraphicsInteractionManager::makeNode(), FastEcslent::NetThread::propagateCommand(), and reset().

EntityState FastEcslent::Entity::entityState

Definition at line 86 of file ent.h.

Referenced by FastEcslent::GameMgr::createNEntitiesRadial(), FastEcslent::GameMgr::findClosestEntityOfTypeWithinDistance(), FastEcslent::Gas::Gas(), FastEcslent::GameMgr::makeBaseForSidePlayer(), FastEcslent::Minerals::Minerals(), reset(), switchState(), FastEcslent::Weapon::tick(), and FastEcslent::DistanceMgr::tick().

double FastEcslent::Entity::gestationPeriod

Definition at line 87 of file ent.h.

Referenced by init(), raising(), and reset().

double FastEcslent::Entity::timeLeftToBirth

Definition at line 88 of file ent.h.

Referenced by FastEcslent::NetThread::createEnt(), FastEcslent::fillStateFromEnt(), raising(), reset(), switchState(), and FastEcslent::NetAspect::updateEcslent().

double FastEcslent::Entity::timeLeftToDie

Definition at line 89 of file ent.h.

Referenced by reset(), sinking(), and switchState().

double FastEcslent::Entity::hitpoints

Definition at line 91 of file ent.h.

Referenced by FastEcslent::NetThread::createEnt(), OgreGFX::UIMgr::decorateSelectedEntities(), FastEcslent::fillStateFromEnt(), FastEcslent::Helion::Helion(), FastEcslent::Weapon::init(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Reaper::Reaper(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::Weapon::takeDamage(), FastEcslent::Tank::Tank(), FastEcslent::Thor::Thor(), and FastEcslent::NetAspect::updateEcslent().

boost::mutex FastEcslent::Entity::entLock

Definition at line 93 of file ent.h.

Referenced by aliveTick(), dyingTick(), and gestatingTick().

std::deque<UnitAspect*> FastEcslent::Entity::aspects

Definition at line 95 of file ent.h.

Referenced by addAspect(), aliveTick(), getAspect(), removeAspect(), and reset().

Weapon* FastEcslent::Entity::weapon

Definition at line 97 of file ent.h.

Referenced by FastEcslent::Weapon::dealDamageToTarget(), init(), and FastEcslent::Building::init().

UnitAI* FastEcslent::Entity::ai

Definition at line 98 of file ent.h.

Referenced by FastEcslent::NetThread::createEnt(), FastEcslent::Gas::Gas(), init(), FastEcslent::Building::init(), FastEcslent::NetThread::propagateCommand(), FastEcslent::NetAspect::squalch(), FastEcslent::NetAspect::squalchOtherClients(), and FastEcslent::NetAspect::tick().

Physics* FastEcslent::Entity::physics

Definition at line 99 of file ent.h.

Referenced by init().

Builder* FastEcslent::Entity::builder

Definition at line 100 of file ent.h.

Referenced by FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::Factory::Factory(), FastEcslent::SCVehicle::init(), FastEcslent::BuildStructureFactory::MakeCommand(), and FastEcslent::NetAspect::setEntityBeingBuilt().

NetAspect* FastEcslent::Entity::netAspect

Definition at line 101 of file ent.h.

Referenced by FastEcslent::NetThread::createEntFromClientRes(), init(), and FastEcslent::NetThread::updateState().

bool FastEcslent::Entity::isSelected

Definition at line 104 of file ent.h.

Referenced by print(), reset(), FastEcslent::SelectionMgr::resetAll(), FastEcslent::Engine::runTests(), FastEcslent::SelectionMgr::select(), switchState(), OgreSND::SoundMgr::tick(), FastEcslent::GasFieldCommand::tick(), and FastEcslent::SelectionMgr::unselect().

bool FastEcslent::Entity::selectable

Definition at line 105 of file ent.h.

Referenced by FastEcslent::Armory::Armory(), FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), FastEcslent::EngineeringBay::EngineeringBay(), FastEcslent::Factory::Factory(), FastEcslent::Gas::Gas(), FastEcslent::Helion::Helion(), OgreGFX::GraphicsInteractionManager::makeNode(), FastEcslent::Marauder::Marauder(), FastEcslent::Marine::Marine(), FastEcslent::Minerals::Minerals(), FastEcslent::Reaper::Reaper(), FastEcslent::Refinery::Refinery(), reset(), FastEcslent::SCVehicle::SCVehicle(), FastEcslent::SupplyDepot::SupplyDepot(), switchState(), FastEcslent::Tank::Tank(), FastEcslent::Thor::Thor(), and FastEcslent::GasFieldCommand::tick().

bool FastEcslent::Entity::didSelectSoundPlayed

Definition at line 106 of file ent.h.

Referenced by reset(), and OgreSND::SoundMgr::tick().

bool FastEcslent::Entity::isNewBorn

Definition at line 107 of file ent.h.

Referenced by gestatingTick(), reset(), and OgreSND::SoundMgr::tick().

Engine* FastEcslent::Entity::engine

Definition at line 77 of file ent.h.

int FastEcslent::Entity::idNumber

Definition at line 79 of file ent.h.

std::deque<UnitAspect*> FastEcslent::Entity::aspects

Definition at line 93 of file ent.h.

Weapon* FastEcslent::Entity::weapon

Definition at line 95 of file ent.h.

UnitAI* FastEcslent::Entity::ai

Definition at line 96 of file ent.h.

Physics* FastEcslent::Entity::physics

Definition at line 97 of file ent.h.

Engine* FastEcslent::Entity::engine

Definition at line 77 of file ent.h.

std::deque<UnitAspect*> FastEcslent::Entity::aspects

Definition at line 93 of file ent.h.

Weapon* FastEcslent::Entity::weapon

Definition at line 95 of file ent.h.

UnitAI* FastEcslent::Entity::ai

Definition at line 96 of file ent.h.

Physics* FastEcslent::Entity::physics

Definition at line 97 of file ent.h.

Engine* FastEcslent::Entity::engine

Definition at line 77 of file ent.h.

std::deque<UnitAspect*> FastEcslent::Entity::aspects

Definition at line 93 of file ent.h.

Weapon* FastEcslent::Entity::weapon

Definition at line 95 of file ent.h.

UnitAI* FastEcslent::Entity::ai

Definition at line 96 of file ent.h.

Physics* FastEcslent::Entity::physics

Definition at line 97 of file ent.h.

NetAspect* FastEcslent::Entity::netAspect

Definition at line 98 of file ent.h.

Engine* FastEcslent::Entity::engine

Definition at line 77 of file ent.h.

std::deque<UnitAspect*> FastEcslent::Entity::aspects

Definition at line 93 of file ent.h.

Weapon* FastEcslent::Entity::weapon

Definition at line 95 of file ent.h.

UnitAI* FastEcslent::Entity::ai

Definition at line 96 of file ent.h.

Physics* FastEcslent::Entity::physics

Definition at line 97 of file ent.h.

NetAspect* FastEcslent::Entity::netAspect

Definition at line 98 of file ent.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