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

ICB::CRegisteredSound Class Reference

List of all members.

Public Member Functions

void Wipe ()
 CRegisteredSound ()
 ~CRegisteredSound ()
uint32 GetObjectID ()
bool8 IsThisSound (uint32 obj, uint32 sndHash)
bool8 IsFree ()
bool8 IsUsed ()
int32 GetChannel ()
bool8 SetHearable ()
void SetUnhearable ()
void Update10Hz ()
void GetPosition ()
void TurnOff ()
void UpdateGameCycle (int32 newVol, int32 newPan)
void GetRandom (CSfx *sfx)
void Register (const cstr sndName, const cstr sfxName, uint32 sfxHash, int8 volume)
void RegisterFromObject (const uint32 objID, const cstr sndName, const cstr sfxName, uint32 sfxHash, PXreal xo, PXreal yo, PXreal zo, int8 volume)
void RegisterFromAbsolute (const uint32 objID, const cstr sndName, const cstr sfxName, uint32 sfxHash, PXreal x, PXreal y, PXreal z, int8 volume)
void Remove ()
CSfxGetSfx ()
void GetVolumeAndPan (int32 &vol, int32 &pan)

Public Attributes

uint32 m_objID
uint32 m_sndHash
int32 m_channel
PXreal m_x
PXreal m_y
PXreal m_z
int32 m_restart_time
int32 m_volume

Private Attributes

int32 m_sfxNumber
int32 m_velocity
int32 m_position
int32 m_current_pitch
int32 m_sample_pitch
int32 m_rand_pitch_value
int32 m_next_random_pos
int32 m_pan
PXreal m_xoffset
PXreal m_yoffset
PXreal m_zoffset
int8 m_objMoving
int8 m_volume_offset
bool8 m_inSession
bool8 m_turnOff
bool8 m_remove
uint8 padding1

Detailed Description

Definition at line 430 of file sound.cpp.


Constructor & Destructor Documentation

ICB::CRegisteredSound::CRegisteredSound (  )  [inline]

Definition at line 466 of file sound.cpp.

ICB::CRegisteredSound::~CRegisteredSound (  )  [inline]

Definition at line 468 of file sound.cpp.


Member Function Documentation

int32 ICB::CRegisteredSound::GetChannel (  )  [inline]

Definition at line 483 of file sound.cpp.

uint32 ICB::CRegisteredSound::GetObjectID (  )  [inline]

Definition at line 470 of file sound.cpp.

void ICB::CRegisteredSound::GetPosition (  ) 

Definition at line 904 of file sound.cpp.

void ICB::CRegisteredSound::GetRandom ( CSfx sfx  ) 

Definition at line 802 of file sound.cpp.

CSfx * ICB::CRegisteredSound::GetSfx (  ) 

Definition at line 518 of file sound.cpp.

void ICB::CRegisteredSound::GetVolumeAndPan ( int32 vol,
int32 pan 
)

Definition at line 914 of file sound.cpp.

bool8 ICB::CRegisteredSound::IsFree (  )  [inline]

Definition at line 480 of file sound.cpp.

bool8 ICB::CRegisteredSound::IsThisSound ( uint32  obj,
uint32  sndHash 
) [inline]

Definition at line 472 of file sound.cpp.

bool8 ICB::CRegisteredSound::IsUsed (  )  [inline]

Definition at line 481 of file sound.cpp.

void ICB::CRegisteredSound::Register ( const cstr  sndName,
const cstr  sfxName,
uint32  sfxHash,
int8  volume 
)

Definition at line 810 of file sound.cpp.

void ICB::CRegisteredSound::RegisterFromAbsolute ( const uint32  objID,
const cstr  sndName,
const cstr  sfxName,
uint32  sfxHash,
PXreal  x,
PXreal  y,
PXreal  z,
int8  volume 
)

Definition at line 884 of file sound.cpp.

void ICB::CRegisteredSound::RegisterFromObject ( const uint32  objID,
const cstr  sndName,
const cstr  sfxName,
uint32  sfxHash,
PXreal  xo,
PXreal  yo,
PXreal  zo,
int8  volume 
)

Definition at line 862 of file sound.cpp.

void ICB::CRegisteredSound::Remove (  ) 

Definition at line 792 of file sound.cpp.

bool8 ICB::CRegisteredSound::SetHearable (  ) 

Definition at line 742 of file sound.cpp.

void ICB::CRegisteredSound::SetUnhearable (  ) 

Definition at line 779 of file sound.cpp.

void ICB::CRegisteredSound::TurnOff (  ) 

Definition at line 571 of file sound.cpp.

void ICB::CRegisteredSound::Update10Hz (  ) 

Definition at line 726 of file sound.cpp.

void ICB::CRegisteredSound::UpdateGameCycle ( int32  newVol,
int32  newPan 
)

Definition at line 603 of file sound.cpp.

void ICB::CRegisteredSound::Wipe (  )  [inline]

Definition at line 536 of file sound.cpp.


Member Data Documentation

Definition at line 435 of file sound.cpp.

Definition at line 450 of file sound.cpp.

Definition at line 511 of file sound.cpp.

Definition at line 453 of file sound.cpp.

Definition at line 433 of file sound.cpp.

Definition at line 460 of file sound.cpp.

Definition at line 454 of file sound.cpp.

Definition at line 448 of file sound.cpp.

Definition at line 452 of file sound.cpp.

Definition at line 513 of file sound.cpp.

Definition at line 451 of file sound.cpp.

Definition at line 445 of file sound.cpp.

Definition at line 512 of file sound.cpp.

Definition at line 447 of file sound.cpp.

Definition at line 442 of file sound.cpp.

Definition at line 461 of file sound.cpp.

Definition at line 437 of file sound.cpp.

Definition at line 456 of file sound.cpp.

Definition at line 438 of file sound.cpp.

Definition at line 457 of file sound.cpp.

Definition at line 439 of file sound.cpp.

Definition at line 458 of file sound.cpp.

Definition at line 514 of file sound.cpp.


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


Generated on Sat Sep 19 2020 05:05:41 for ResidualVM by doxygen 1.7.1
curved edge   curved edge