Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Namespaces | |
CockpitKeys | |
Constant Groups | |
CockpitKeys | |
void AddUnitToSystem | ( | const SavedUnits * | su) |
Definition at line 954 of file main_loop.cpp.
References _Universe, Universe::AccessCockpit(), Universe::activeStarSystem(), StarSystem::AddUnit(), UnitFactory::createEnhancement(), UnitFactory::createUnit(), ENHANCEMENTPTR, Unit::EnqueueAI(), SavedUnits::faction, SavedUnits::filename, FactionUtil::GetFactionIndex(), Cockpit::GetParent(), Unit::Position(), QVector, Unit::SetPosition(), Unit::SetTurretAI(), SavedUnits::type, and UNITPTR.
Referenced by bootstrap_main_loop().
void bootstrap_draw | ( | const std::string & | message, |
Animation * | SplashScreen = NULL |
||
) |
Definition at line 21 of file libserver.cpp.
void createObjects | ( | std::vector< std::string > & | playersaveunit, |
std::vector< StarSystem * > & | ssys, | ||
std::vector< QVector > & | savedloc, | ||
vector< vector< string > > & | savefiles | ||
) |
Definition at line 22 of file libserver.cpp.
Referenced by bootstrap_main_loop(), and NetClient::startGame().
void destroyObjects | ( | ) |
Definition at line 977 of file main_loop.cpp.
References Terrain::DeleteAll(), fighters, locSel, myterrain, and tmpcockpittexture.
void InitializeInput | ( | ) |
Definition at line 715 of file main_loop.cpp.
References BindKey(), and CockpitKeys::Quit().
Referenced by bootstrap_main_loop().
void main_loop | ( | ) |
Definition at line 999 of file main_loop.cpp.
References _Universe, Universe::activeStarSystem(), ContinuousTerrain::AdjustTerrain(), avg_loop, cur_check, g_game, getNewTime(), Singleton< SceneManager >::getSingleton(), gl_batches_this_frame, gl_vertices_this_frame, last_check, loop_count, Music::MuzakCycle(), nb_checks, Network, Universe::numPlayers(), game_data_t::sound_enabled, Universe::StartDraw(), and VSFileSystem::vs_dprintf().
Referenced by bootstrap_main_loop(), GFXLoop(), GameUniverse::Loop(), restore_main_loop(), and NavComputer::toggleVisibility().
void restore_main_loop | ( | ) |
Definition at line 992 of file main_loop.cpp.
References GFXLoop(), main_loop(), RestoreKB(), and RestoreMouse().
Referenced by base_main_loop(), NetActionConfirm::finalizeJoinGame(), commandI::keypress(), GameMenu::processSinglePlayerButton(), BaseInterface::Terminate(), and BaseInterface::~BaseInterface().