Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
universe_util_server.cpp File Reference
#include "cmd/script/mission.h"
#include "universe_util.h"
#include "universe_generic.h"
#include "cmd/unit_generic.h"
#include "cmd/unit_factory.h"
#include "cmd/collection.h"
#include "networking/netserver.h"
#include "star_system_generic.h"
#include <string>
#include "lin_time.h"
#include "load_mission.h"
#include "configxml.h"
#include "vs_globals.h"

Go to the source code of this file.

Namespaces

 UniverseUtil
 

Constant Groups

 UniverseUtil
 

Macros

#define activeSys   _Universe->activeStarSystem()
 

Functions

void SetStarSystemLoading (bool value)
 
void ClientServerSetLightContext (int lc)
 
void UniverseUtil::playVictoryTune ()
 
int UniverseUtil::musicAddList (string str)
 
void UniverseUtil::musicLayerPlaySong (string str, int layer)
 
void UniverseUtil::addParticle (QVector loc, Vector velocity, Vector color, float size)
 
void UniverseUtil::musicLayerPlayList (int which, int layer)
 this plays msuci from a given list, at a specific layer (where the int is what was returned by musicAddList) More...
 
void UniverseUtil::musicLayerLoopList (int numloops, int layer)
 this plays msuci from a given list, at a specific layer (where the int is what was returned by musicAddList) More...
 
void UniverseUtil::musicLayerSetSoftVolume (float vol, float latency_override, int layer)
 sets the software volume, with smooth transitions (latency_override==-1 uses default transition time) More...
 
void UniverseUtil::musicLayerSetHardVolume (float vol, int layer)
 sets the hardware volume, does not support transitions of any kind. More...
 
void UniverseUtil::musicSetSoftVolume (float vol, float latency_override)
 sets the software volume, with smooth transitions (latency_override==-1 uses default transition time) More...
 
void UniverseUtil::musicSetHardVolume (float vol)
 sets the hardware volume, does not support transitions of any kind. More...
 
void UniverseUtil::musicMute (bool stopSound)
 this mutes sound - or unmutes it More...
 
void UniverseUtil::playSound (string soundName, QVector loc, Vector speed)
 
void UniverseUtil::playSoundCockpit (string soundName)
 
void UniverseUtil::cacheAnimation (string aniName)
 
void UniverseUtil::playAnimation (string aniName, QVector loc, float size)
 
void UniverseUtil::playAnimationGrow (string aniName, QVector loc, float size, float growpercent)
 
unsigned int UniverseUtil::getCurrentPlayer ()
 
void UniverseUtil::musicLayerSkip (int layer)
 this skips the current music track, at a specific layer (and goes to the next in the currently playing list) More...
 
void UniverseUtil::musicLayerStop (int layer)
 this stops the music currently playing at a specific layer - with a nice fadeout More...
 
void UniverseUtil::StopAllSounds (void)
 
void UniverseUtil::loadGame (const string &savename)
 
void UniverseUtil::saveGame (const string &savename)
 
void UniverseUtil::showSplashScreen (const string &filename)
 
void UniverseUtil::showSplashMessage (const string &text)
 
void UniverseUtil::showSplashProgress (float progress)
 
void UniverseUtil::hideSplashScreen ()
 
bool UniverseUtil::isSplashScreenShowing ()
 
void UniverseUtil::startMenuInterface (bool firstTime, string error)
 
void UniverseUtil::sendCustom (int cp, string cmd, string args, string id)
 

Macro Definition Documentation

#define activeSys   _Universe->activeStarSystem()

Definition at line 20 of file universe_util_server.cpp.

Function Documentation

void ClientServerSetLightContext ( int  lc)

Definition at line 21 of file universe_util_server.cpp.

Referenced by StarSystem::~StarSystem().

21 {}
void SetStarSystemLoading ( bool  value)

Definition at line 15 of file universe_util_server.cpp.

References BootstrapMyStarSystemLoading.

15 {}