Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <vs_globals.h>
Public Attributes | |
char | use_textures |
char | use_animations |
char | use_videos |
char | use_sprites |
char | use_logos |
char | use_ship_textures |
char | use_planet_textures |
int | audio_frequency_mode |
int | sound_enabled |
int | music_enabled |
int | sound_volume |
int | music_volume |
int | max_sound_sources |
int | warning_level |
int | capture_mouse |
float | MouseSensitivityX |
float | MouseSensitivityY |
float | detaillevel |
int | y_resolution |
int | x_resolution |
float | znear |
float | zfar |
float | fov |
float | aspect |
float | difficulty |
char | vsdebug |
Definition at line 33 of file vs_globals.h.
float game_data_t::aspect |
Definition at line 58 of file vs_globals.h.
Referenced by GameCockpit::GameCockpit(), initfov(), Camera::UpdateGFX(), and Camera::UpdateGLCenter().
int game_data_t::audio_frequency_mode |
Definition at line 42 of file vs_globals.h.
Referenced by AUDInit(), and setup_game_data().
int game_data_t::capture_mouse |
Definition at line 49 of file vs_globals.h.
Referenced by setup_game_data().
float game_data_t::detaillevel |
Definition at line 52 of file vs_globals.h.
Referenced by GameUnit< UnitType >::Draw(), GameUnit< UnitType >::DrawNow(), and initfov().
float game_data_t::difficulty |
Definition at line 59 of file vs_globals.h.
Referenced by Unit::ApplyLocalDamage(), basicRepairPrice(), bootstrap_main_loop(), Orders::FaceTargetITTS::FaceTargetITTS(), UniverseUtil::GetDifficulty(), Unit::GetVelocityDifficultyMult(), Unit::PositionITTS(), weapon_info::Refire(), Unit::RegenShields(), RepairPrice(), UniverseUtil::SetDifficulty(), and NetServer::start().
float game_data_t::fov |
Definition at line 57 of file vs_globals.h.
Referenced by Camera::Camera(), Bolt::Draw(), GameCockpit::Draw(), BaseInterface::Room::BaseShip::Draw(), GameCockpit::Init(), initfov(), setup_game_data(), and GameCockpit::SetupViewPort().
int game_data_t::max_sound_sources |
Definition at line 47 of file vs_globals.h.
Referenced by AUDInit(), and initSceneManager().
float game_data_t::MouseSensitivityX |
Definition at line 50 of file vs_globals.h.
Referenced by LocationSelect::Draw(), and setup_game_data().
float game_data_t::MouseSensitivityY |
Definition at line 51 of file vs_globals.h.
Referenced by LocationSelect::Draw(), and setup_game_data().
int game_data_t::music_enabled |
Definition at line 44 of file vs_globals.h.
Referenced by Music::Addlist(), AUDCreateSoundMP3(), AUDCreateSoundWAV(), AUDInit(), Music::ChangeVolume(), Music::GotoSong(), Music::Listen(), main(), Music::Music(), Music::Mute(), Music::SetLoops(), setup_game_data(), Music::Skip(), and Music::SkipRandList().
int game_data_t::music_volume |
Definition at line 46 of file vs_globals.h.
Referenced by setup_game_data().
int game_data_t::sound_enabled |
Definition at line 43 of file vs_globals.h.
Referenced by AUDCreateSoundMP3(), AUDCreateSoundWAV(), AUDInit(), AUDListener(), AUDListenerGain(), AUDListenerOrientation(), BaseInterface::Room::BaseVSMovie::BaseVSMovie(), BaseInterface::Draw(), initALRenderer(), main_loop(), BaseInterface::Room::BaseVSMovie::SetMovie(), setup_game_data(), and BaseUtil::Video().
int game_data_t::sound_volume |
Definition at line 45 of file vs_globals.h.
Referenced by setup_game_data().
char game_data_t::use_animations |
Definition at line 36 of file vs_globals.h.
Referenced by Animation::Draw(), Animation::DrawAsVSSprite(), Animation::DrawNoTransform(), Animation::DrawNow(), initfov(), AnimatedTexture::LoadAni(), Animation::ProcessDrawQueue(), and setup_game_data().
char game_data_t::use_logos |
Definition at line 39 of file vs_globals.h.
Referenced by initfov(), Logo::ProcessDrawQueue(), and setup_game_data().
char game_data_t::use_planet_textures |
Definition at line 41 of file vs_globals.h.
Referenced by initfov(), SphereMesh::InitSphere(), and setup_game_data().
char game_data_t::use_ship_textures |
Definition at line 40 of file vs_globals.h.
Referenced by initfov(), and setup_game_data().
char game_data_t::use_sprites |
Definition at line 38 of file vs_globals.h.
Referenced by initfov(), setup_game_data(), and VSSprite::VSSprite().
char game_data_t::use_textures |
Definition at line 35 of file vs_globals.h.
Referenced by DecalQueue::AddTexture(), Animation::Draw(), Animation::DrawAsVSSprite(), Animation::DrawNoTransform(), Animation::DrawNow(), initfov(), Texture::Load(), AnimatedTexture::LoadAni(), Animation::ProcessDrawQueue(), and setup_game_data().
char game_data_t::use_videos |
Definition at line 37 of file vs_globals.h.
Referenced by initfov(), AnimatedTexture::LoadAni(), AnimatedTexture::LoadFrame(), and setup_game_data().
char game_data_t::vsdebug |
Definition at line 60 of file vs_globals.h.
Referenced by main(), ParseCommandLine(), Mission::terminateMission(), and VSFileSystem::vs_dprintf().
int game_data_t::warning_level |
Definition at line 48 of file vs_globals.h.
Referenced by setup_game_data().
int game_data_t::x_resolution |
Definition at line 54 of file vs_globals.h.
Referenced by biModifyMouseSensitivity(), Font::calcMetrics(), CalculateRealXAndY(), BaseInterface::Room::Click(), CoordinateSelect::CoordinateSelect(), DealWithWarp(), LocationSelect::Draw(), Bolt::Draw(), GameCockpit::Draw(), BaseInterface::Room::BaseText::Draw(), NavigationSystem::Draw(), BaseInterface::Draw(), Radar::SphereDisplay::DrawBackground(), Radar::BubbleDisplay::DrawBackground(), drawChars(), DrawGlutMouse(), DrawGun(), Radar::SphereDisplay::DrawTargetMarker(), Radar::BubbleDisplay::DrawTargetMarker(), Radar::PlaneDisplay::DrawTargetMarker(), getRes(), GFXCircle(), GFXDeviceToEye(), GFXInit(), GFXSubwindow(), MouseXTo2dX(), ParseCommandLine(), perspectiveFactor(), ClickList::requestIterator(), Reshape(), Screenshot(), NavigationSystem::Setup(), setup_game_data(), SetupViewport(), GameCockpit::SetupViewPort(), and winsys_init().
int game_data_t::y_resolution |
Definition at line 53 of file vs_globals.h.
Referenced by biModifyMouseSensitivity(), Font::calcMetrics(), CalculateRealXAndY(), BaseInterface::Room::Click(), CoordinateSelect::CoordinateSelect(), DealWithWarp(), LocationSelect::Draw(), Bolt::Draw(), GameCockpit::Draw(), BaseInterface::Room::BaseText::Draw(), NavigationSystem::Draw(), BaseInterface::Draw(), Radar::SphereDisplay::DrawBackground(), Radar::BubbleDisplay::DrawBackground(), DrawGlutMouse(), DrawGun(), Radar::SphereDisplay::DrawTargetMarker(), Radar::BubbleDisplay::DrawTargetMarker(), Radar::PlaneDisplay::DrawTargetMarker(), getFontHeight(), BaseUtil::GetTextHeight(), GFXCircle(), GFXDeviceToEye(), GFXInit(), GFXSubwindow(), MouseYTo2dY(), ParseCommandLine(), ClickList::requestIterator(), Reshape(), Screenshot(), NavigationSystem::Setup(), setup_game_data(), SetupViewport(), GameCockpit::SetupViewPort(), CoordinateSelect::UpdateMouse(), and winsys_init().
float game_data_t::zfar |
Definition at line 56 of file vs_globals.h.
Referenced by CalculateOrientation(), GameStarSystem::createBackground(), Animation::Draw(), Mesh::Draw(), initfov(), Mesh::ProcessUndrawnMeshes(), Mesh::ProcessZFarMeshes(), Camera::UpdateGFX(), and Camera::UpdateGLCenter().
float game_data_t::znear |
Definition at line 55 of file vs_globals.h.
Referenced by CalculateOrientation(), GameUnit< UnitType >::Draw(), BaseInterface::Room::BaseShip::Draw(), GameUnit< UnitType >::DrawNow(), initfov(), Mesh::ProcessUndrawnMeshes(), ShoveCamBehindUnit(), ShoveCamBelowUnit(), Camera::UpdateGFX(), and Camera::UpdateGLCenter().