87 virtual void tick(
double dt)
override;
98 virtual const char*
type()
const override;
Provides handle classes for safe access to attributes.
makVre::DtAttributeHandleType< makVre::HumanPosture > myPostureAttr
Handle for current human posture.
Definition humanAudioUpdater.h:148
makVre::DtAttributeHandleType< DtVector32 > myVelocityAttr
Handle for ownship velocity.
Definition humanAudioUpdater.h:152
bool myReloadInProgress
Whether a weapon reload is currently in progress.
Definition humanAudioUpdater.h:120
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 shortly after a weapon reload starts.
Definition humanAudioUpdater.h:117
double myReloadSoundTimer
Remaining delay before the pending reload sound plays, in seconds.
Definition humanAudioUpdater.h:126
double myReloadSoundDelay
Delay before playing the reload sound, in seconds.
Definition humanAudioUpdater.h:123
makAudio::DtSound * myParachuteInteriorSound
Sound played when inside an open parachute.
Definition humanAudioUpdater.h:114
double myFreefallNormalVolume
Normal volume for freefall sound.
Definition humanAudioUpdater.h:132
makVre::DtAttributeHandleType< bool > myEmbarkedOnAircraftAttr
Handle indicating whether ownship is embarked on an aircraft.
Definition humanAudioUpdater.h:156
makVre::DtSoundscape * mySoundscape
Current environmental soundscape.
Definition humanAudioUpdater.h:135
makVre::DtAttributeHandleType< DtVector > myPositionAttr
Handle for ownship position.
Definition humanAudioUpdater.h:160
DtHumanAudioUpdater()
Default constructor.
makAudio::DtSound * myParachuteOpenSound
Sound played when parachute opens.
Definition humanAudioUpdater.h:111
makVre::HumanPosture myCachedPosture
Cached posture of the human entity.
Definition humanAudioUpdater.h:144
virtual void tick(double dt) override
Updates audio effects for the current frame.
double mySoundscapeVolume
Volume of the current soundscape.
Definition humanAudioUpdater.h:138
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:129
virtual void onReloadTimerChanged(double reloadTimer)
Handles changes in the weapon reload timer.
makAudio::DtSound * myParachuteFreefallSound
Sound played during parachute freefall.
Definition humanAudioUpdater.h:108
Type-specific handle class for attributes.
Definition attributeHandle.h:229
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:102
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:50
constexpr const char * soundscapeVolume
Definition humanAudioUpdater.h:53
constexpr const char * soundConfig
Definition humanAudioUpdater.h:47
constexpr const char * DtHumanAudioUpdaterType
Type identifier constant for DtHumanAudioUpdater components.
Definition humanAudioUpdater.h:63
Defines export macros for the Human Frontend library.
#define HUMAN_DLL
Definition export.h:19
Definition humanAudioUpdater.h:39
Component configuration and usage details.
Definition audioUpdater.h:21
!
Definition glsVreMessageUtil.h:50
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.