ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <ambient.h>

Collaboration diagram for Myst3::Ambient:

List of all members.

Classes

struct  AmbientSound

Public Member Functions

 Ambient (Myst3Engine *vm)
virtual ~Ambient ()
void playCurrentNode (uint32 volume, uint32 fadeOutDelay)
void loadNode (uint32 node, uint32 room, uint32 age)
void applySounds (uint32 fadeOutDelay)
void scaleVolume (uint32 volume)
void addSound (uint32 id, int32 volume, int32 heading, int32 headingAngle, int32 u1, int32 fadeOutDelay)
void setCueSheet (uint32 id, int32 volume, int32 heading, int32 headingAngle)
void updateCue ()

Public Attributes

uint32 _scriptAge
uint32 _scriptRoom

Private Member Functions

uint16 delayForCue (uint32 id)
uint32 nextCueSound (uint32 id)

Private Attributes

Myst3Engine_vm
Common::Array< AmbientSound_sounds
AmbientSound _cueSheet
uint32 _cueStartTick

Detailed Description

Definition at line 32 of file ambient.h.


Constructor & Destructor Documentation

Myst3::Ambient::Ambient ( Myst3Engine vm  ) 

Definition at line 31 of file ambient.cpp.

Myst3::Ambient::~Ambient (  )  [virtual]

Definition at line 37 of file ambient.cpp.


Member Function Documentation

void Myst3::Ambient::addSound ( uint32  id,
int32  volume,
int32  heading,
int32  headingAngle,
int32  u1,
int32  fadeOutDelay 
)

Definition at line 80 of file ambient.cpp.

void Myst3::Ambient::applySounds ( uint32  fadeOutDelay  ) 

Definition at line 167 of file ambient.cpp.

uint16 Myst3::Ambient::delayForCue ( uint32  id  )  [private]

Definition at line 119 of file ambient.cpp.

void Myst3::Ambient::loadNode ( uint32  node,
uint32  room,
uint32  age 
)

Definition at line 62 of file ambient.cpp.

uint32 Myst3::Ambient::nextCueSound ( uint32  id  )  [private]

Definition at line 126 of file ambient.cpp.

void Myst3::Ambient::playCurrentNode ( uint32  volume,
uint32  fadeOutDelay 
)

Definition at line 40 of file ambient.cpp.

void Myst3::Ambient::scaleVolume ( uint32  volume  ) 

Definition at line 57 of file ambient.cpp.

void Myst3::Ambient::setCueSheet ( uint32  id,
int32  volume,
int32  heading,
int32  headingAngle 
)

Definition at line 103 of file ambient.cpp.

void Myst3::Ambient::updateCue (  ) 

Definition at line 147 of file ambient.cpp.


Member Data Documentation

Definition at line 80 of file ambient.h.

Definition at line 81 of file ambient.h.

Definition at line 47 of file ambient.h.

Definition at line 48 of file ambient.h.

Definition at line 78 of file ambient.h.

Definition at line 51 of file ambient.h.


The documentation for this class was generated from the following files:


Generated on Sat May 25 2019 05:06:10 for ResidualVM by doxygen 1.7.1
curved edge   curved edge