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

ICB::_sound_logic_entry Class Reference

#include <sound_logic_entry.h>

List of all members.

Public Member Functions

 _sound_logic_entry ()
void Initialise (uint32 nID, bool8 bFull=TRUE8)
uint32 GetMegaID () const
bool8 HeardSound ()
void SetHearingSensitivity (uint32 nSensitivity)
bool8 HeardThis (const char *pcSoundID)
void SetSuspendedFlag (bool8 bSuspend)
void ClearHeardFlag ()
bool8 AddSoundRegistration (const char *pcSoundID)
void RemoveSoundRegistration (const char *pcSoundID)
void SoundReachedMega (uint32 nHashedSoundID, uint32 nVolume)

Private Member Functions

 _sound_logic_entry (const _sound_logic_entry &)
void operator= (const _sound_logic_entry &)

Private Attributes

uint32 m_nMegaID
uint32 m_nHashedSoundIDs [SL_MAX_SOUND_REGISTRATIONS]
uint32 m_nLastHashedSoundHeard
bool8 m_bHeardSomething
uint8 m_nHearingThreshold
bool8 m_bSuspended
uint8 m_nPad2

Detailed Description

Definition at line 51 of file sound_logic_entry.h.


Constructor & Destructor Documentation

ICB::_sound_logic_entry::_sound_logic_entry (  )  [inline]

Definition at line 95 of file sound_logic_entry.h.

ICB::_sound_logic_entry::_sound_logic_entry ( const _sound_logic_entry  )  [inline, private]

Definition at line 91 of file sound_logic_entry.h.


Member Function Documentation

bool8 ICB::_sound_logic_entry::AddSoundRegistration ( const char *  pcSoundID  ) 

Definition at line 69 of file sound_logic_entry.cpp.

void ICB::_sound_logic_entry::ClearHeardFlag (  )  [inline]

Definition at line 70 of file sound_logic_entry.h.

uint32 ICB::_sound_logic_entry::GetMegaID (  )  const [inline]

Definition at line 60 of file sound_logic_entry.h.

bool8 ICB::_sound_logic_entry::HeardSound (  )  [inline]

Definition at line 97 of file sound_logic_entry.h.

bool8 ICB::_sound_logic_entry::HeardThis ( const char *  pcSoundID  ) 

Definition at line 46 of file sound_logic_entry.cpp.

void ICB::_sound_logic_entry::Initialise ( uint32  nID,
bool8  bFull = TRUE8 
)

Definition at line 34 of file sound_logic_entry.cpp.

void ICB::_sound_logic_entry::operator= ( const _sound_logic_entry  )  [inline, private]

Definition at line 92 of file sound_logic_entry.h.

void ICB::_sound_logic_entry::RemoveSoundRegistration ( const char *  pcSoundID  ) 

Definition at line 99 of file sound_logic_entry.cpp.

void ICB::_sound_logic_entry::SetHearingSensitivity ( uint32  nSensitivity  ) 

Definition at line 116 of file sound_logic_entry.cpp.

void ICB::_sound_logic_entry::SetSuspendedFlag ( bool8  bSuspend  )  [inline]

Definition at line 64 of file sound_logic_entry.h.

void ICB::_sound_logic_entry::SoundReachedMega ( uint32  nHashedSoundID,
uint32  nVolume 
)

Definition at line 126 of file sound_logic_entry.cpp.


Member Data Documentation

Definition at line 87 of file sound_logic_entry.h.

uint32 ICB::_sound_logic_entry::m_nHashedSoundIDs[SL_MAX_SOUND_REGISTRATIONS] [private]

Definition at line 83 of file sound_logic_entry.h.

Definition at line 82 of file sound_logic_entry.h.

Definition at line 88 of file sound_logic_entry.h.


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


Generated on Sat Sep 26 2020 05:03:42 for ResidualVM by doxygen 1.7.1
curved edge   curved edge