85 virtual void tick(
double dt)
override;
96 virtual const char*
type()
const override;
virtual ~DtHumanAudioUpdater() override
Virtual destructor.
virtual const char * type() const override
Returns the component type identifier.
virtual bool initialize(makVre::DtPlayerStation *player, makVre::DtInitTable &config) override
Initializes the audio updater.
makAudio::DtSound * myReloadSound
Sound played during weapon reload.
Definition humanAudioUpdater.h:115
makAudio::DtSound * myParachuteInteriorSound
Sound played when inside an open parachute.
Definition humanAudioUpdater.h:112
virtual void onReloadTimerChanged(float reloadTimer)
Handles changes in the weapon reload timer.
double myFreefallNormalVolume
Normal volume for freefall sound.
Definition humanAudioUpdater.h:121
makVre::DtSoundscape * mySoundscape
Current environmental soundscape.
Definition humanAudioUpdater.h:124
DtHumanAudioUpdater()
Default constructor.
makAudio::DtSound * myParachuteOpenSound
Sound played when parachute opens.
Definition humanAudioUpdater.h:109
makVre::HumanPosture myCachedPosture
Cached posture of the human entity.
Definition humanAudioUpdater.h:133
virtual void tick(double dt) override
Updates audio effects for the current frame.
double mySoundscapeVolume
Volume of the current soundscape.
Definition humanAudioUpdater.h:127
virtual void shutdown() override
Cleans up resources when the component is being shut down.
double myFreefallNormalSpeed
Normal speed for freefall sound playback.
Definition humanAudioUpdater.h:118
makAudio::DtSound * myParachuteFreefallSound
Sound played during parachute freefall.
Definition humanAudioUpdater.h:106
Table-based access to Lua state for configuration data.
Definition initializer.h:38
Base class for all role components in VR-Engage.
Definition playerComponent.h:78
virtual DtPlayerStation & player()
Gets the player station.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
A class for managing ambient and periodic sound effects.
Definition soundscape.h:43
constexpr const char * soundscape
Definition humanAudioUpdater.h:48
constexpr const char * soundscapeVolume
Definition humanAudioUpdater.h:51
constexpr const char * soundConfig
Definition humanAudioUpdater.h:45
constexpr const char * DtHumanAudioUpdaterType
Type identifier constant for DtHumanAudioUpdater components.
Definition humanAudioUpdater.h:61
Defines export macros for the Human Frontend library.
#define HUMAN_DLL
Definition export.h:19
Definition humanAudioUpdater.h:37
Component configuration and usage details.
Definition audioUpdater.h:21
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
HumanPosture
Enumeration of human posture states.
Definition stateDefines.h:30
Definition appLauncherComponent.h:28
Defines the DtPlayerComponent base class for VR-Engage role components.
Common enumeration definitions used throughout the VREngage system.