Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <cockpit.h>
Public Member Functions | |
soundContainer () | |
void | loadsound (string sooundfile, bool looping=false) |
void | playsound () |
~soundContainer () | |
Public Attributes | |
int | sound |
The Cockpit Contains all displayable information about a particular Unit * Gauges are used to indicate analog controls, and some diagital ones The ones starting from KPS are digital with text readout
|
inline |
soundContainer::~soundContainer | ( | ) |
Definition at line 106 of file cockpit.cpp.
References AUDDeleteSound(), AUDStopPlaying(), and sound.
void soundContainer::loadsound | ( | string | sooundfile, |
bool | looping = false |
||
) |
Definition at line 87 of file cockpit.cpp.
References AUDCreateSoundWAV(), GameCockpit::getsoundfile(), and sound.
Referenced by abletodock(), GameCockpit::Autopilot(), ChooseTargets(), CockpitKeys::CommModeVDU(), CockpitKeys::DamageModeVDU(), GameCockpit::DoAutoLanding(), FlyByKeyboard::Execute(), FireKeyboard::Execute(), loadsounds(), GameCockpit::LookupUnitStat(), CockpitKeys::ManifestModeVDU(), CockpitKeys::ObjectiveModeVDU(), CockpitKeys::ScanningModeVDU(), FireKeyboard::SetShieldsOff(), FireKeyboard::SetShieldsOneThird(), FireKeyboard::SetShieldsTwoThird(), CockpitKeys::TargetModeVDU(), GameCockpit::UpdAutoPilot(), and CockpitKeys::ViewModeVDU().
void soundContainer::playsound | ( | ) |
Definition at line 98 of file cockpit.cpp.
References AUDAdjustSound(), AUDPlay(), QVector, sound, and Vector.
Referenced by abletodock(), GameCockpit::Autopilot(), ChooseTargets(), CockpitKeys::CommModeVDU(), CockpitKeys::DamageModeVDU(), GameCockpit::DoAutoLanding(), FlyByKeyboard::Execute(), FireKeyboard::Execute(), GameCockpit::LookupUnitStat(), CockpitKeys::ManifestModeVDU(), CockpitKeys::ObjectiveModeVDU(), CockpitKeys::ScanningModeVDU(), FireKeyboard::SetShieldsOff(), FireKeyboard::SetShieldsOneThird(), FireKeyboard::SetShieldsTwoThird(), CockpitKeys::TargetModeVDU(), UpdateTimeCompressionSounds(), GameCockpit::UpdAutoPilot(), and CockpitKeys::ViewModeVDU().
int soundContainer::sound |
Definition at line 32 of file cockpit.h.
Referenced by abletodock(), GameCockpit::Autopilot(), ChooseTargets(), CockpitKeys::CommModeVDU(), CockpitKeys::DamageModeVDU(), FlyByKeyboard::Execute(), FireKeyboard::Execute(), loadsound(), GameCockpit::LookupUnitStat(), CockpitKeys::ManifestModeVDU(), CockpitKeys::ObjectiveModeVDU(), playsound(), CockpitKeys::ScanningModeVDU(), FireKeyboard::SetShieldsOff(), FireKeyboard::SetShieldsOneThird(), FireKeyboard::SetShieldsTwoThird(), CockpitKeys::TargetModeVDU(), UpdateTimeCompressionSounds(), GameCockpit::UpdAutoPilot(), CockpitKeys::ViewModeVDU(), and ~soundContainer().