#include <engine.h>
Definition at line 36 of file engine.h.
FastEcslent::Engine::Engine | ( | int | instId, | |
Options | opts | |||
) |
Definition at line 20 of file engine.cpp.
References FastEcslent::GAME, gameState, instanceId, options, and quit.
FastEcslent::Engine::~Engine | ( | ) |
Definition at line 27 of file engine.cpp.
References distanceMgr, entityMgr, gameMgr, groupMgr, and selectionMgr.
FastEcslent::Engine::Engine | ( | int | instId, | |
Options | opts | |||
) | [inline] |
FastEcslent::Engine::~Engine | ( | ) | [inline] |
Definition at line 70 of file engine.h.
References distanceMgr, entityMgr, gameMgr, groupMgr, and selectionMgr.
FastEcslent::Engine::Engine | ( | int | instId, | |
Options | opts | |||
) | [inline] |
FastEcslent::Engine::~Engine | ( | ) | [inline] |
Definition at line 70 of file engine.h.
References distanceMgr, entityMgr, gameMgr, groupMgr, and selectionMgr.
FastEcslent::Engine::Engine | ( | int | instId, | |
Options | opts | |||
) | [inline] |
Definition at line 76 of file engine.h.
References FastEcslent::GAME, gameState, instanceId, options, and quit.
FastEcslent::Engine::~Engine | ( | ) | [inline] |
Definition at line 83 of file engine.h.
References distanceMgr, entityMgr, gameMgr, groupMgr, and selectionMgr.
FastEcslent::Engine::Engine | ( | int | instId, | |
Options | opts | |||
) | [inline] |
Definition at line 76 of file engine.h.
References FastEcslent::GAME, gameState, instanceId, options, and quit.
FastEcslent::Engine::~Engine | ( | ) | [inline] |
Definition at line 83 of file engine.h.
References distanceMgr, entityMgr, gameMgr, groupMgr, and selectionMgr.
void FastEcslent::Engine::tickAll | ( | float | dt | ) | [private] |
Definition at line 108 of file engine.cpp.
References distanceMgr, entityMgr, gameMgr, groupMgr, options, selectionMgr, Options::tacticalAI, FastEcslent::GroupMgr::tick(), FastEcslent::DistanceMgr::tick(), FastEcslent::GameMgr::tick(), FastEcslent::WeaponMgr::tick(), FastEcslent::SelectionMgr::tick(), FastEcslent::EntityMgr::tick(), and weaponMgr.
Referenced by run().
void FastEcslent::Engine::runTests | ( | ) | [private] |
Definition at line 168 of file engine.cpp.
References distanceMgr, distanceTimer, FastEcslent::DistanceMgr::dumpAll(), FastEcslent::Entity::entityId, entityMgr, FastEcslent::SelectionMgr::getNSelectedEnts(), FastEcslent::SelectionMgr::getSelectedEnts(), FastEcslent::MilliSecondTimer::hasFired(), FastEcslent::Identity::id, FastEcslent::Entity::isSelected, FastEcslent::EntityMgr::nEnts, options, selectionMgr, selectionTimer, Options::tacticalAI, and FastEcslent::SelectionMgr::unselect().
void FastEcslent::Engine::showMenu | ( | ) |
void FastEcslent::Engine::constructManagers | ( | ) |
Definition at line 35 of file engine.cpp.
References distanceMgr, Options::enableGfx, Options::enableNetworking, entityMgr, gameMgr, gfx, groupMgr, net, options, selectionMgr, Options::tacticalAI, and weaponMgr.
Referenced by main().
void FastEcslent::Engine::init | ( | ) |
Definition at line 54 of file engine.cpp.
References distanceMgr, distanceTimer, Options::enableGfx, Options::enableNetworking, entityMgr, gameMgr, gameState, gfx, groupMgr, FastEcslent::GfxThread::init(), FastEcslent::NetThread::init(), FastEcslent::GroupMgr::init(), FastEcslent::DistanceMgr::init(), FastEcslent::GameMgr::init(), FastEcslent::WeaponMgr::init(), FastEcslent::SelectionMgr::init(), FastEcslent::EntityMgr::init(), FastEcslent::LOBBY, net, options, selectionMgr, selectionTimer, sleepInterval, Options::tacticalAI, and weaponMgr.
Referenced by main().
void FastEcslent::Engine::loadLevel | ( | ) |
Definition at line 79 of file engine.cpp.
References Options::enableGfx, Options::enableNetworking, gameMgr, gfx, FastEcslent::GfxThread::gimPtr, FastEcslent::GameMgr::loadLevel(), FastEcslent::LOBBY, net, options, FastEcslent::GfxThread::run(), FastEcslent::NetThread::run(), and sleepInterval.
Referenced by main().
void FastEcslent::Engine::releaseLevel | ( | ) |
Definition at line 94 of file engine.cpp.
References Options::enableGfx, Options::enableNetworking, gfx, FastEcslent::GfxThread::join(), net, options, and FastEcslent::NetThread::stopAndJoin().
Referenced by main().
void FastEcslent::Engine::run | ( | ) |
Definition at line 125 of file engine.cpp.
References FastEcslent::EntityMgr::dumpOne(), entityMgr, getCurrentTime(), options, quit, Options::speedup, and tickAll().
Referenced by main().
void FastEcslent::Engine::stop | ( | ) |
void FastEcslent::Engine::tickAll | ( | float | dt | ) | [private] |
void FastEcslent::Engine::runTests | ( | ) | [private] |
void FastEcslent::Engine::showMenu | ( | ) |
void FastEcslent::Engine::constructManagers | ( | ) |
void FastEcslent::Engine::init | ( | ) |
void FastEcslent::Engine::loadLevel | ( | ) |
void FastEcslent::Engine::releaseLevel | ( | ) |
void FastEcslent::Engine::run | ( | ) |
void FastEcslent::Engine::stop | ( | ) |
void FastEcslent::Engine::tickAll | ( | float | dt | ) | [private] |
void FastEcslent::Engine::runTests | ( | ) | [private] |
void FastEcslent::Engine::showMenu | ( | ) |
void FastEcslent::Engine::constructManagers | ( | ) |
void FastEcslent::Engine::init | ( | ) |
void FastEcslent::Engine::loadLevel | ( | ) |
void FastEcslent::Engine::releaseLevel | ( | ) |
void FastEcslent::Engine::run | ( | ) |
void FastEcslent::Engine::stop | ( | ) |
void FastEcslent::Engine::tickAll | ( | float | dt | ) | [private] |
void FastEcslent::Engine::runTests | ( | ) | [private] |
void FastEcslent::Engine::showMenu | ( | ) |
void FastEcslent::Engine::constructManagers | ( | ) |
void FastEcslent::Engine::init | ( | ) |
void FastEcslent::Engine::loadLevel | ( | ) |
void FastEcslent::Engine::releaseLevel | ( | ) |
void FastEcslent::Engine::run | ( | ) |
void FastEcslent::Engine::stop | ( | ) |
void FastEcslent::Engine::tickAll | ( | float | dt | ) | [private] |
void FastEcslent::Engine::runTests | ( | ) | [private] |
void FastEcslent::Engine::showMenu | ( | ) |
void FastEcslent::Engine::constructManagers | ( | ) |
void FastEcslent::Engine::init | ( | ) |
void FastEcslent::Engine::loadLevel | ( | ) |
void FastEcslent::Engine::releaseLevel | ( | ) |
void FastEcslent::Engine::run | ( | ) |
void FastEcslent::Engine::stop | ( | ) |
boost::posix_time::milliseconds* FastEcslent::Engine::sleepInterval [private] |
Definition at line 51 of file engine.h.
Referenced by OgreGFX::LobbyMgr::buttonHit(), OgreGFX::LobbyMgr::checkBoxToggled(), FastEcslent::NetLobby::clientSwap(), OgreGFX::LobbyMgr::configureGame(), constructManagers(), FastEcslent::NetThread::createEntFromClientReq(), Engine(), OgreGFX::WidgetMgr::frameRenderingQueued(), FastEcslent::NetThread::gameTick(), FastEcslent::NetThread::getMyIP(), OgreGFX::LobbyMgr::handleExitButton(), FastEcslent::NetThread::init(), FastEcslent::NetLobby::init(), init(), OgreGFX::LobbyMgr::itemSelected(), OgreGFX::LobbyMgr::loadGame(), FastEcslent::GameMgr::loadLevel(), loadLevel(), OgreGFX::LobbyMgr::loadOptions(), OgreGFX::LobbyMgr::lobbyEnter(), OgreGFX::LobbyMgr::lobbyExit(), FastEcslent::NetLobby::lobbyStart(), OgreGFX::LobbyMgr::refreshServerAndSlots(), releaseLevel(), run(), runTests(), FastEcslent::NetLobby::runThread(), FastEcslent::NetLobby::sendLobbyClientResponse(), FastEcslent::setPotentialMoveForEnt(), FastEcslent::UnitAI::tick(), FastEcslent::NetAspect::tick(), tickAll(), OgreGFX::UIMgr::updateFEEngineWithSelections(), and FastEcslent::GameMgr::WaterCraft().
Definition at line 52 of file engine.h.
Referenced by FastEcslent::GroupMgr::createGroup(), Engine(), FastEcslent::NetThread::getMyIP(), FastEcslent::NetThread::init(), FastEcslent::GfxThread::init(), FastEcslent::Entity::print(), and FastEcslent::NetThread::run().
Definition at line 56 of file engine.h.
Referenced by Engine(), OgreGFX::GraphicsInteractionManager::frameRenderingQueued(), and run().
volatile GameState FastEcslent::Engine::gameState |
Definition at line 59 of file engine.h.
Referenced by Engine(), OgreGFX::LobbyMgr::frameStarted(), FastEcslent::NetThread::gameTick(), OgreGFX::LobbyMgr::init(), init(), and OgreGFX::LobbyMgr::startGame().
boost::mutex FastEcslent::Engine::quitLock |
Definition at line 61 of file engine.h.
Referenced by OgreGFX::GraphicsInteractionManager::frameRenderingQueued().
Definition at line 63 of file engine.h.
Referenced by FastEcslent::Builder::cancelEntityBeingBuilt(), OgreGFX::UIMgr::CommandGatherOrPFMove(), OgreGFX::UIMgr::CommandMaintainAttack(), OgreGFX::UIMgr::CommandMove(), OgreGFX::UIMgr::CommandPotentialFieldsMove(), constructManagers(), OgreGFX::GraphicsInteractionManager::copySimState(), OgreSND::SoundMgr::copySoundState(), FastEcslent::NetThread::createEnt(), FastEcslent::NetThread::createEntFromClientReq(), FastEcslent::NetThread::createEntFromClientRes(), FastEcslent::GameMgr::createNEntitiesRadial(), OgreGFX::UIMgr::decorateSelectedEntities(), OgreGFX::UIMgr::drawUnderMouseCircle(), FastEcslent::DistanceMgr::dumpAll(), FastEcslent::DistanceMgr::dumpOne(), FastEcslent::Weapon::getUnitsInRadius(), FastEcslent::Weapon::getUnitsInRectangle(), ThreadTester::go(), OgreGFX::UIMgr::groupFromSelections(), OgreGFX::GraphicsInteractionManager::handleBornEnts(), OgreGFX::UIMgr::handleCommand(), OgreGFX::FEMarineButton::handleMouseEvent(), OgreGFX::FESCVButton::handleMouseEvent(), FastEcslent::Flock::init(), init(), FastEcslent::GameMgr::initMineralPatch(), FastEcslent::DistanceMgr::isColliding(), FastEcslent::GameMgr::makeBaseForSidePlayer(), FastEcslent::BuildStructureFactory::MakeCommand(), OgreGFX::GraphicsInteractionManager::makeInitialEntityNodes(), FastEcslent::GameMgr::notExceedPopCap(), FastEcslent::GameMgr::preReqEntities(), FastEcslent::NetThread::propagateCommand(), FastEcslent::SelectionMgr::resetAll(), FastEcslent::NetThread::responseMineralPatchID(), run(), runTests(), FastEcslent::SelectionMgr::select(), FastEcslent::NetThread::sendInfo(), FastEcslent::NetThread::serve(), FastEcslent::Refinery::setAssociatedOilField(), FastEcslent::Builder::startBuildingNextEntity(), FastEcslent::GameMgr::tester(), FastEcslent::Weapon::tick(), OgreSND::SoundMgr::tick(), FastEcslent::DistanceMgr::tick(), FastEcslent::PotentialMove::tick(), tickAll(), FastEcslent::SelectionMgr::unselect(), FastEcslent::DistanceMgr::wouldCollide(), and ~Engine().
Definition at line 64 of file engine.h.
Referenced by OgreGFX::UIMgr::clearSelectionsAndUpdateFEEngine(), constructManagers(), OgreGFX::WidgetMgr::frameRenderingQueued(), OgreGFX::FEMarineButton::handleMouseEvent(), OgreGFX::FESCVButton::handleMouseEvent(), init(), runTests(), FastEcslent::Entity::switchState(), FastEcslent::GameMgr::tester(), tickAll(), OgreGFX::UIMgr::updateFEEngineWithSelections(), and ~Engine().
Definition at line 65 of file engine.h.
Referenced by constructManagers(), OgreGFX::UIMgr::decorateSelectedEntities(), OgreGFX::WidgetMgr::frameRenderingQueued(), FastEcslent::Weapon::init(), init(), and tickAll().
Definition at line 66 of file engine.h.
Referenced by constructManagers(), FastEcslent::NetThread::createEnt(), FastEcslent::Builder::enqueue(), OgreGFX::WidgetMgr::frameRenderingQueued(), FastEcslent::Gather::gatherTick(), FastEcslent::Entity::init(), init(), loadLevel(), FastEcslent::Gather::moveToEntityTick(), FastEcslent::Entity::switchState(), FastEcslent::Gather::switchState(), tickAll(), and ~Engine().
Definition at line 67 of file engine.h.
Referenced by constructManagers(), FastEcslent::Weapon::init(), FastEcslent::Flock::init(), init(), runTests(), FastEcslent::Builder::selectRandPosInRadius(), FastEcslent::PotentialMove::tick(), tickAll(), and ~Engine().
Definition at line 68 of file engine.h.
Referenced by constructManagers(), OgreGFX::UIMgr::groupFromSelections(), init(), tickAll(), and ~Engine().
Definition at line 73 of file engine.h.
Referenced by constructManagers(), FastEcslent::NetAspect::createEntity(), init(), loadLevel(), releaseLevel(), FastEcslent::NetAspect::requestMineralPatchID(), FastEcslent::Builder::startBuildingNextEntity(), FastEcslent::NetAspect::tick(), and FastEcslent::NetAspect::updateServer().
Definition at line 74 of file engine.h.
Referenced by OgreGFX::LobbyMgr::checkBoxToggled(), FastEcslent::NetLobby::clientEnter(), FastEcslent::NetLobby::clientExit(), FastEcslent::NetLobby::clientSwap(), constructManagers(), init(), FastEcslent::NetLobby::joinRequest(), loadLevel(), releaseLevel(), FastEcslent::NetLobby::sendLobbyServerInfo(), FastEcslent::NetLobby::serverExit(), FastEcslent::NetLobby::startByRemote(), and FastEcslent::NetLobby::updateLobbyServer().
boost::posix_time::milliseconds* FastEcslent::Engine::sleepInterval [private] |
boost::posix_time::milliseconds* FastEcslent::Engine::sleepInterval [private] |