Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include "config.h"
#include "cs_python.h"
#include "audio/test.h"
#include "cmd/role_bitmask.h"
#include "gfxlib.h"
#include "in_kb.h"
#include "lin_time.h"
#include "main_loop.h"
#include "config_xml.h"
#include "cmd/script/mission.h"
#include "audiolib.h"
#include "vsfilesystem.h"
#include "vs_globals.h"
#include "gfx/animation.h"
#include "cmd/unit.h"
#include "gfx/cockpit.h"
#include "python/init.h"
#include "savegame.h"
#include "force_feedback.h"
#include "gfx/hud.h"
#include "gldrv/winsys.h"
#include "universe_util.h"
#include "networking/netclient.h"
#include "universe.h"
#include "save_util.h"
#include "gfx/masks.h"
#include "cmd/music.h"
#include "ship_commands.h"
#include "gamemenu.h"
#include "audio/SceneManager.h"
#include "audio/TemplateManager.h"
#include "audio/renderers/OpenAL/BorrowedOpenALRenderer.h"
#include <time.h>
#include <sys/signal.h>
#include "options.h"
Go to the source code of this file.
Functions | |
void | enableNetwork (bool usenetwork) |
void | setup_game_data () |
VegaConfig * | createVegaConfig (const char *file) |
std::string | ParseCommandLine (int argc, char **CmdLine) |
int | readCommandLineOptions (int argc, char **argv) |
void | VSExit (int code) |
void | cleanup (void) |
void | bootstrap_main_loop () |
void | bootstrap_first_loop () |
void | nothinghappens (unsigned int, unsigned int, bool, int, int) |
void | initSceneManager () |
void | initALRenderer () |
void | initScenes () |
void | closeRenderer () |
void | InitUnitTables () |
void | CleanupUnitTables () |
int | main (int argc, char *argv[]) |
void | SetStarSystemLoading (bool value) |
bool | GetStarSystemLoading () |
void | SetSplashScreen (Animation *ss) |
Animation * | GetSplashScreen () |
void | bootstrap_draw (const std::string &message, Animation *newSplashScreen) |
bool | SetPlayerLoc (QVector &sys, bool set) |
bool | SetPlayerSystem (std::string &sys, bool set) |
vector< string > | parse_space_string (std::string s) |
void | SetStartupView (Cockpit *cp) |
Variables | |
std::string | global_username |
std::string | global_password |
vs_options | game_options |
needed for assert() calls. More... | |
Universe * | _Universe |
TextPlane * | bs_tp = NULL |
char | SERVER = 0 |
static bool | ignore_network = true |
LeakVector< Mission * > | active_missions |
char | mission_name [1024] |
bool | isVista = false |
static Animation * | SplashScreen = NULL |
static bool | BootstrapMyStarSystemLoading = true |
Unit ** | fighters |
const char | helpmessage [] |
void bootstrap_draw | ( | const std::string & | message, |
Animation * | newSplashScreen | ||
) |
Definition at line 378 of file main.cpp.
References BootstrapMyStarSystemLoading, DEPTHTEST, TextPlane::Draw(), Animation::DrawNow(), GetElapsedTime(), VegaConfig::getVariable(), GFXBeginScene(), GFXBlendMode(), GFXClear(), GFXColor4f(), GFXDisable(), GFXEnable(), GFXEndScene(), GFXFALSE, GFXHudMode(), GFXLoadIdentity(), GFXLoadMatrixModel(), GFXTRUE, Identity(), LIGHTING, Texture::MakeActive(), MIPMAP, Music::MuzakCycle(), ONE, PROJECTION, ScaleMatrix(), TextPlane::SetCharSize(), TextPlane::SetPos(), TEXTURE0, TEXTURE1, TEXTURE2D, TEXTURE_2D, AnimatedTexture::UpdateAllFrame(), UpdateTime(), Vector, VIEW, vs_config, and ZERO.
void bootstrap_first_loop | ( | ) |
Definition at line 476 of file main.cpp.
References bootstrap_draw(), bootstrap_main_loop(), VegaConfig::getVariable(), Music::GotoSong(), i, Universe::Loop(), muzak, XMLSupport::parse_bool(), parse_space_string(), UniverseUtil::startMenuInterface(), and vs_config.
Referenced by GameUniverse::Init(), and main().
void bootstrap_main_loop | ( | ) |
return to idle func which now should call main_loop mohahahah
Draw Texture
Definition at line 507 of file main.cpp.
References Universe::AccessCockpit(), AddUnitToSystem(), VegaConfig::bindKeys(), cleanexit, CopySavedShips(), createObjects(), Cockpit::credits, cur_check, game_data_t::difficulty, DockToSavedBases(), forcefeedback, g_game, getNewTime(), Mission::GetOrigin(), Cockpit::GetUnitFileName(), VegaConfig::getVariable(), Mission::getVariable(), global_password, global_username, UniverseUtil::hideSplashScreen(), i, ignore_network, Universe::Init(), InitializeInput(), Mission::initMission(), InitTime(), int, UniverseUtil::IOmessage(), j, k, FactionUtil::LoadContrabandLists(), LoadMission(), SaveGame::LoadSavedMissions(), Universe::Loop(), main_loop(), mission, mission_name, Network, Universe::numPlayers(), XMLSupport::parse_bool(), XMLSupport::parse_float(), XMLSupport::parse_int(), SaveGame::ParseSaveGame(), LeakVector< MyType >::push_back(), QVector, run_only_player_starsystem, Cockpit::savegame, NetClient::SetConfigServerAddress(), setNewTime(), SaveGame::SetOutputFileName(), SetPlayerLoc(), SaveGame::SetPlayerLocation(), SetPlayerSystem(), SaveGame::SetStarSystem(), SetStarSystemLoading(), SetStartupView(), Universe::SetupCockpits(), UniverseUtil::showSplashScreen(), Cockpit::TimeOfLastCollision, tostring(), Cockpit::UnpackUnitInfo(), UpdateTime(), Vector, vs_config, VSExit(), winsys_exit(), and WriteSaveGame().
Referenced by bootstrap_first_loop(), and GameMenu::processSinglePlayerButton().
void cleanup | ( | void | ) |
Definition at line 146 of file main.cpp.
References AUDDestroy(), cleanexit, Music::CleanupMuzak(), CONFIGFILE, i, Network, Universe::numPlayers(), STATIC_VARS_DESTROYED, winsys_shutdown(), and Universe::WriteSaveGame().
Referenced by main().
void CleanupUnitTables | ( | ) |
void closeRenderer | ( | ) |
Definition at line 232 of file main.cpp.
References Singleton< SceneManager >::getSingleton().
Referenced by main(), and Audio::Test::main().
VegaConfig* createVegaConfig | ( | const char * | file) |
void enableNetwork | ( | bool | usenetwork) |
Definition at line 95 of file main.cpp.
References ignore_network.
Referenced by GameMenu::processSinglePlayerButton(), and GameMenu::readJoinGameControls().
Animation* GetSplashScreen | ( | ) |
Definition at line 374 of file main.cpp.
References SplashScreen.
Referenced by UniverseUtil::showSplashScreen().
bool GetStarSystemLoading | ( | ) |
Definition at line 366 of file main.cpp.
References BootstrapMyStarSystemLoading.
Referenced by UniverseUtil::isSplashScreenShowing().
void initALRenderer | ( | ) |
Definition at line 205 of file main.cpp.
References g_game, Singleton< SceneManager >::getSingleton(), Audio::SceneManager::setRenderer(), and game_data_t::sound_enabled.
Referenced by main(), and Audio::Test::main().
void initSceneManager | ( | ) |
Definition at line 191 of file main.cpp.
References g_game, Singleton< SceneManager >::getSingleton(), Singleton< TemplateManager >::getSingleton(), game_data_t::max_sound_sources, and Audio::SceneManager::setMaxSources().
Referenced by main(), and Audio::Test::main().
void initScenes | ( | ) |
Definition at line 219 of file main.cpp.
References Audio::SceneManager::createScene(), Singleton< SceneManager >::getSingleton(), and Audio::SceneManager::setSceneActive().
Referenced by main().
void InitUnitTables | ( | ) |
Definition at line 241 of file main.cpp.
References _Universe, AUDInit(), AUDListenerGain(), benchmark, bootstrap_first_loop(), VSFileSystem::ChangeToProgramDirectory(), cleanup(), CleanupUnitTables(), closeRenderer(), CommandInterpretor, CONFIGFILE, g_game, ROLES::getAllRolePriorities(), VegaConfig::getVariable(), ignore_network, vs_options::init(), initALRenderer(), Music::InitMuzak(), VSFileSystem::InitPaths(), initSceneManager(), initScenes(), InitShipCommands(), InitTime(), InitUnitTables(), isVista, Universe::Loop(), mission_name, game_data_t::music_enabled, XMLSupport::parse_bool(), XMLSupport::parse_float(), ParseCommandLine(), pwd, readCommandLineOptions(), setup_game_data(), test, UninitShipCommands(), UpdateTime(), vs_config, VSFileSystem::vs_fprintf(), vs_options::vsdebug, game_data_t::vsdebug, winsys_exit(), and ZeroMemory().
vector< string > parse_space_string | ( | std::string | s) |
std::string ParseCommandLine | ( | int | argc, |
char ** | CmdLine | ||
) |
Definition at line 753 of file main.cpp.
References benchmark, CONFIGFILE, VSFileSystem::datadir, VSFileSystem::DirectoryExists(), g_game, global_password, global_username, helpmessage, i, ignore_network, mission_name, QVector, SetPlayerLoc(), SetPlayerSystem(), game_data_t::vsdebug, game_data_t::x_resolution, and game_data_t::y_resolution.
Referenced by main().
Returns an exit code >= 0 if the game is supposed to exit rightaway Returns an exit code < 0 if the game can continue loading.
Definition at line 866 of file main.cpp.
References i, and Audio::Test::main().
Referenced by main().
Definition at line 437 of file main.cpp.
References QVector.
Referenced by bootstrap_main_loop(), and ParseCommandLine().
Definition at line 451 of file main.cpp.
Referenced by bootstrap_main_loop(), and ParseCommandLine().
void SetSplashScreen | ( | Animation * | ss) |
void SetStarSystemLoading | ( | bool | value) |
Definition at line 362 of file main.cpp.
Referenced by bootstrap_main_loop(), UniverseUtil::hideSplashScreen(), and UniverseUtil::showSplashScreen().
void SetStartupView | ( | Cockpit * | cp) |
Definition at line 500 of file main.cpp.
References CP_BACK, CP_CHASE, CP_FRONT, CP_TARGET, VegaConfig::getVariable(), Cockpit::SetView(), and vs_config.
Referenced by bootstrap_main_loop(), and GameCockpit::UpdAutoPilot().
void setup_game_data | ( | ) |
Definition at line 104 of file main.cpp.
References game_data_t::audio_frequency_mode, game_data_t::capture_mouse, game_data_t::fov, g_game, GFXFALSE, game_data_t::MouseSensitivityX, game_data_t::MouseSensitivityY, game_data_t::music_enabled, game_data_t::music_volume, game_data_t::sound_enabled, game_data_t::sound_volume, game_data_t::use_animations, game_data_t::use_logos, game_data_t::use_planet_textures, game_data_t::use_ship_textures, game_data_t::use_sprites, game_data_t::use_textures, game_data_t::use_videos, game_data_t::warning_level, game_data_t::x_resolution, and game_data_t::y_resolution.
Referenced by main().
void VSExit | ( | int | code) |
Definition at line 140 of file main.cpp.
References Music::CleanupMuzak(), and winsys_exit().
Universe* _Universe |
Definition at line 88 of file main.cpp.
Referenced by CockpitKeys::_PitchDown(), CockpitKeys::_PitchUp(), CockpitKeys::_YawLeft(), CockpitKeys::_YawRight(), BaseComputer::acceptMission(), AcctLogout(), BaseComputer::actionConfirmedLoadGame(), BaseComputer::actionConfirmedSaveGame(), BaseComputer::actionLoadGame(), BaseComputer::actionSaveGame(), Unit::AddCargo(), ZoneMgr::addClient(), NetClient::AddClientObject(), UnitUtil::addCredits(), NavPath::addNewPath(), AddUnitToSystem(), Unit::AddVelocity(), ZoneMgr::addZone(), UniverseUtil::AdjustRelation(), CommunicatingAI::AdjustRelationTo(), ContinuousTerrain::AdjustTerrain(), FlyByWire::Afterburn(), AllocVerticesForSystem(), AllUnitsCloseAndEngage(), Unit::ApplyDamage(), Unit::ApplyLocalDamage(), Unit::ApplyNetDamage(), GameUnit< UnitType >::ArmorDamageSound(), Arrested(), GameCockpit::AutoLanding(), Unit::AutoPilotToErrorMessage(), base_main_loop(), CockpitKeys::Behind(), Bolt::Bolt(), BoltDestroyGeneric(), buildCargoDescription(), buildShipDescription(), Unit::BuyCargo(), BaseComputer::buySelectedCargo(), buyShip(), BaseComputer::buyUpgrade(), CalculateNearestWarpUnit(), CalculateOrientation(), Mission::call_unit_launch(), CollideMap::CheckCollisions(), CollideChecker< T, canbebolt >::CheckCollisionsInner(), checkedVisited(), CollideMap::CheckUnitCollisions(), ChooseNavPoint(), ChooseNearNavPoint(), Orders::FireAt::ChooseTargets(), ChooseTargets(), NetClient::CleanUp(), clearSaveData(), clearSaveString(), BaseInterface::Room::Launch::Click(), Terrain::Collide(), Bolt::Collide(), Beam::Collide(), Unit::Collide(), Bolt::CollideAnon(), UnitUtil::commAnimation(), Order::Communicate(), UnitUtil::communicateTo(), compute_light_dot(), ComputeAutoGuarantee(), BaseComputer::BuyUpgradeOperation::concludeTransaction(), BaseComputer::SellUpgradeOperation::concludeTransaction(), BaseComputer::configureUpgradeCommitControls(), CrashForceDock(), CreateCargoForOwnerStarship(), createObjects(), UnitFactory::createPlanet(), Unit::DealDamageToHullReturnArmor(), GameUnit< UnitType >::DealDamageToShield(), delayed_mission::delayed_mission(), CommunicatingAI::Destroy(), Bolt::Destroy(), Mission::DirectorInitgame(), Missile::Discharge(), ZoneInfo::display(), ZoneMgr::displayNPCs(), Unit::Dock(), FireKeyboard::DockKey(), DockToSavedBases(), DoDockingOps(), Pilot::DoHit(), StarIter::Done(), FireKeyboard::DoSpeechAndAni(), ParticlePoint::Draw(), ContinuousTerrain::Draw(), Bolt::Draw(), Background::Draw(), WarpTrail::Draw(), GameStarSystem::Draw(), Animation::Draw(), GamePlanet::Draw(), SphereMesh::Draw(), VDU::Draw(), Stars::Draw(), AtmosphereHalo::Draw(), GameUnit< UnitType >::Draw(), GameCockpit::Draw(), UnitDrawer::draw(), BaseInterface::Room::BaseShip::Draw(), NavigationSystem::Draw(), ParticleTrail::DrawAndUpdate(), DrawDockingBoxes(), NavigationSystem::DrawMission(), GameUnit< UnitType >::DrawNow(), Mesh::DrawNow(), NavigationSystem::DrawObjectives(), NavigationSystem::DrawShip(), NavigationSystem::DrawSystem(), GamePlanet::DrawTerrain(), Unit::EjectCargo(), eraseSaveData(), eraseSaveString(), NavPath::evaluate(), ExamineWhenTargetKey(), Orders::TurretAI::Execute(), Orders::AggressiveAI::Execute(), FlyByKeyboard::Execute(), FireKeyboard::Execute(), Orders::FormUp::Execute(), Orders::FormUpToOwner::Execute(), FlyByWire::Execute(), FlyTo::Execute(), ExecuteDirector(), Orders::AggressiveAI::ExecuteNoEnemies(), GameUnit< UnitType >::Explode(), Unit::FilterUpgradeList(), NetActionConfirm::finalizeJoinGame(), Radar::Sensor::FindTracksInRange(), findUnitInStarsystem(), Mount::Fire(), Unit::Fire(), BaseComputer::fixUpgrade(), Unit::ForceDock(), GameCockpit::ForceSwitchControl(), g(), GameStarSystem::GameStarSystem(), UniverseUtil::GetAdjacentSystem(), Pilot::getAnger(), getAtmospheric(), BaseComputer::getColorForGroup(), UnitUtil::getCredits(), UniverseUtil::getCurrentPlayer(), NavigationSystem::getCurrentSystem(), AbsolutePathNode::getDescription(), NavigationSystem::getDestinationSystem(), UnitUtil::getFactionRelation(), NavigationSystem::getFocusedSystem(), UniverseUtil::GetGalaxyFaction(), UniverseUtil::GetGalaxyProperty(), UniverseUtil::GetGalaxyPropertyDefault(), Planet::getHumanReadablePlanetType(), UniverseUtil::GetJumpPath(), getNearestTarget(), getNearestTargetUnit(), getNetworkUnit(), UniverseUtil::GetNumAdjacentSystems(), UniverseUtil::getNumPlayers(), UnitUtil::getPhysicsPriority(), UniverseUtil::getPlayer(), UniverseUtil::getPlayerX(), CommunicatingAI::GetRandomUnit(), UniverseUtil::GetRelation(), UnitUtil::getRelationFromFaction(), UnitUtil::getRelationToFaction(), getSaveData(), getSaveDataLength(), UniverseUtil::getSaveInfo(), getSaveString(), getSaveStringLength(), SaveNetUtil::GetSaveStrings(), NavigationSystem::getSelectedSystem(), UniverseUtil::getStarDate(), Unit::getStarSystem(), UniverseUtil::getStarTime(), getStringList(), GetSystemColor(), UniverseUtil::getTargetLabel(), GetThreat(), Unit::getTractorability(), UnitUtil::getUnitSystemFile(), Unit::GetVelocityDifficultyMult(), HelpOut(), GameUnit< UnitType >::HullDamageSound(), BaseInterface::InitCallbacks(), CockpitKeys::InitPanInside(), CurrentPathNode::initSearchQueue(), TargetPathNode::initSearchQueue(), CockpitKeys::Inside(), CockpitKeys::InsideBack(), CockpitKeys::InsideLeft(), CockpitKeys::InsideRight(), UniverseUtil::IOmessage(), CriteriaContains::isDestination(), CriteriaOwnedBy::isDestination(), CriteriaSector::isDestination(), CurrentPathNode::isDestination(), TargetPathNode::isDestination(), isPlayerFaction(), UnitUtil::isPlayerStarship(), BaseComputer::isTransactionOK(), FireKeyboard::JoinFg(), FlyByKeyboard::JumpKey(), Unit::jumpReactToCollision(), StarSystem::JumpTo(), kbGetInput(), Unit::Kill(), KillDuplicateUnits(), LeadMe(), NavigationSystem::CachedSystemIterator::SystemInfo::loadData(), UniverseUtil::loadGame(), LoadMission(), BaseComputer::loadMissionsMasterList(), SaveGame::LoadSavedMissions(), BaseComputer::loadShipDealerControls(), loadStringList(), NetClient::loginAccept(), CockpitKeys::LookDown(), CockpitKeys::LookLeft(), CockpitKeys::LookRight(), CockpitKeys::LookUp(), main(), main_loop(), StarSystemGent::MakePlanet(), MapKey(), BaseComputer::maxQuantityForPlayer(), MyFunction(), GameCockpit::NavScreen(), NearestSystem(), NebulaUpdate(), num_delayed_missions(), UniverseUtil::numActiveMissions(), NumStarsInGalaxy(), GameCockpit::OnDockEnd(), GameCockpit::OnJumpBegin(), GameCockpit::OnJumpEnd(), CockpitKeys::OutsideTarget(), CockpitKeys::Pan(), CockpitKeys::PanTarget(), Unit::PerformDockingOperations(), Mount::PhysicsAlignedFire(), UniverseUtil::popSystem(), NavigationSystem::SystemIterator::Position(), FireKeyboard::ProcessCommMessage(), Orders::AggressiveAI::ProcessCurrentFgDirective(), processDelayedMissions(), Animation::ProcessDrawQueue(), StarSystem::ProcessPendingJumps(), Mesh::ProcessUndrawnMeshes(), Mesh::ProcessZFarMeshes(), pushSaveData(), pushSaveString(), UniverseUtil::pushSystem(), GameNebula::PutInsideCam(), putSaveData(), putSaveString(), ClickList::queryShip(), GameUnit< UnitType >::querySphereClickList(), CockpitKeys::QuitNow(), Enhancement::reactToCollision(), GamePlanet::reactToCollision(), Unit::reactToCollision(), GameMenu::readJoinGameControls(), readplanetentity(), BaseComputer::recalcTitle(), UniverseUtil::receivedCustom(), NetClient::Reconnect(), RefreshGUI(), Unit::RegenShields(), SaveGame::ReloadPickledData(), Unit::RemoveCargo(), Unit::RemoveFromSystem(), NavPath::removeOldPath(), QuadTree::Render(), Briefing::Render(), ClickList::requestIterator(), ClickList::requestShip(), Unit::ResolveForces(), GameCockpit::Respawn(), NetClient::Respawn(), RespawnNow(), RestoreFirstPassState(), Unit::RestoreGodliness(), GameCockpit::RestoreViewPort(), Unit::ReTargetFg(), UniverseUtil::SafeEntrancePoint(), NetServer::saveAccount(), saveDataList(), UniverseUtil::saveGame(), NetClient::saveRequest(), saveStringList(), ScoreKill(), CockpitKeys::ScrollDown(), CockpitKeys::ScrollUp(), Unit::SellCargo(), BaseComputer::sellSelectedCargo(), BaseComputer::sellShip(), sellShip(), BaseComputer::sellUpgrade(), NetServer::sendCustom(), UniverseUtil::sendCustom(), NetServer::sendJump(), NetServer::sendKill(), NetServer::sendMessage(), NetServer::sendMission(), NetServer::sendSaveData(), NavPath::setDestinationNode(), UniverseUtil::SetGalaxyFaction(), Orders::FormUpToOwner::SetParent(), Cockpit::SetParent(), NavPath::setSourceNode(), UniverseUtil::setTargetLabel(), NavigationSystem::Setup(), SetupEnvmapPass(), SetupFogState(), SetupSpecMapSecondPass(), GameCockpit::SetupViewPort(), Orders::FireAt::ShouldFire(), ShoveCamBehindUnit(), ShoveCamBelowUnit(), BaseComputer::showPlayerInfo(), StarIter::StarIter(), StarSystem::StarSystem(), starSystemOK(), NetServer::start(), GameUniverse::StartDraw(), NetClient::startGame(), StarVlist::StarVlist(), UniverseUtil::StopTargettingEachOther(), SuicideKey(), SwapInNewShipName(), GameCockpit::SwitchControl(), CockpitKeys::SwitchLVDU(), VDU::SwitchMode(), CockpitKeys::SwitchMVDU(), CockpitKeys::SwitchRVDU(), CockpitKeys::SwitchULVDU(), CockpitKeys::SwitchUMVDU(), SwitchUnits(), SwitchUnits2(), CockpitKeys::SwitchURVDU(), SwitchVDUTo(), NetClient::synchronizeTime(), UniverseUtil::systemInMemory(), SystemLocation(), TableLocationChanged(), Unit::Target(), UniverseUtil::TargetEachOther(), TargIncomingMissile(), Mission::terminateMission(), CockpitKeys::TextMessageCallback(), CockpitKeys::TextMessageKey(), GameUnit< UnitType >::Thrust(), GameUnit< UnitType >::TransferUnitToSystem(), Unit::TransferUnitToSystem(), GameCockpit::TurretControl(), Unit::UnDock(), FireKeyboard::UnDockKey(), UnDockNow(), Unit::UnFire(), Unit::UpAndDownGrade(), Bolt::Update(), QuadTree::Update(), Atmosphere::Update(), StarSystem::Update(), Cockpit::Update(), Cockpit::updateAttackers(), UpdateBackpointers< Unit::UNIT_ONLY >::updateBackpointer(), UpdateCameraSnds(), StarVlist::UpdateGraphics(), GameUnit< UnitType >::UpdateHudMatrix(), UpdateMasterPartList(), CoordinateSelect::UpdateMouse(), Unit::UpdatePhysics(), GameNebula::UpdatePhysics2(), GameUnit< UnitType >::UpdatePhysics2(), Unit::UpdatePhysics2(), Unit::UpdateSubunitPhysics(), BaseComputer::updateTransactionControlsForSelection(), VDU::VDU(), CockpitKeys::ViewTarget(), WARPENERGYMULTIPLIER(), SaveGame::WriteDynamicUniverse(), WriteSaveGame(), CockpitKeys::ZoomIn(), CockpitKeys::ZoomOut(), CockpitKeys::ZoomReset(), GameStarSystem::~GameStarSystem(), and StarSystem::~StarSystem().
LeakVector< Mission* > active_missions |
Definition at line 180 of file main.cpp.
Referenced by BaseComputer::acceptMission(), ComputeAutoGuarantee(), NavigationSystem::DrawMission(), DrawObjectivesTextPlane(), AImissionScript::Execute(), ExecuteDirector(), Unit::ForceDock(), Mission::getNthPlayerMission(), Mission::getPlayerMissionNumber(), BaseComputer::isTransactionOK(), LoadMission(), BaseComputer::loadMissionsMasterList(), SaveGame::LoadSavedMissions(), UniverseUtil::numActiveMissions(), PickleAllMissions(), CockpitKeys::QuitNow(), BaseComputer::recalcTitle(), SaveGame::ReloadPickledData(), Unit::ResolveForces(), NetServer::start(), TargMission(), Mission::terminateMission(), UnpickleAllMissions(), UnpickleMission(), StarSystem::Update(), and Cockpit::Update().
|
static |
Definition at line 361 of file main.cpp.
Referenced by bootstrap_draw(), GetStarSystemLoading(), and SetStarSystemLoading().
Unit** fighters |
Definition at line 74 of file main_loop.cpp.
Referenced by destroyObjects().
vs_options game_options |
std::string global_password |
Definition at line 19 of file netclient_login.cpp.
Referenced by NetClient::authenticate(), bootstrap_main_loop(), and ParseCommandLine().
std::string global_username |
Definition at line 18 of file netclient_login.cpp.
Referenced by NetClient::authenticate(), bootstrap_main_loop(), createObjects(), and ParseCommandLine().
const char helpmessage[] |
Definition at line 738 of file main.cpp.
Referenced by ParseCommandLine().
|
static |
Definition at line 93 of file main.cpp.
Referenced by bootstrap_main_loop(), enableNetwork(), main(), and ParseCommandLine().
char mission_name[1024] |
Definition at line 182 of file main.cpp.
Referenced by bootstrap_main_loop(), DrawObjectivesTextPlane(), LoadMission(), main(), and ParseCommandLine().
|
static |
Definition at line 360 of file main.cpp.
Referenced by GetSplashScreen().