Collaboration diagram for SoundMaker:Public Member Functions | |
| SoundMaker (ISoundManager *sound, const NodeDefManager *ndef) | |
| void | playPlayerStep () | 
| void | playPlayerJump () | 
| void | registerReceiver (MtEventManager *mgr) | 
| void | step (float dtime) | 
Static Public Member Functions | |
| static void | viewBobbingStep (MtEvent *e, void *data) | 
| static void | playerRegainGround (MtEvent *e, void *data) | 
| static void | playerJump (MtEvent *e, void *data) | 
| static void | cameraPunchLeft (MtEvent *e, void *data) | 
| static void | cameraPunchRight (MtEvent *e, void *data) | 
| static void | nodeDug (MtEvent *e, void *data) | 
| static void | playerDamage (MtEvent *e, void *data) | 
| static void | playerFallingDamage (MtEvent *e, void *data) | 
Public Attributes | |
| bool | makes_footstep_sound = true | 
| float | m_player_step_timer = 0.0f | 
| float | m_player_jump_timer = 0.0f | 
| SoundSpec | m_player_step_sound | 
| SoundSpec | m_player_leftpunch_sound | 
| SoundSpec | m_player_leftpunch_sound2 | 
| SoundSpec | m_player_rightpunch_sound | 
Private Attributes | |
| ISoundManager * | m_sound | 
| const NodeDefManager * | m_ndef | 
      
  | 
  inline | 
      
  | 
  inlinestatic | 
References m_player_leftpunch_sound, m_player_leftpunch_sound2, m_sound, and ISoundManager::playSound().
Referenced by registerReceiver().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inlinestatic | 
References m_player_rightpunch_sound, m_sound, and ISoundManager::playSound().
Referenced by registerReceiver().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inlinestatic | 
References NodeDefManager::get(), m_ndef, m_sound, NodeDugEvent::n, ISoundManager::playSound(), and ContentFeatures::sound_dug.
Referenced by registerReceiver().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inlinestatic | 
References m_sound, and ISoundManager::playSound().
Referenced by registerReceiver().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inlinestatic | 
References m_sound, and ISoundManager::playSound().
Referenced by registerReceiver().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inlinestatic | 
References playPlayerJump().
Referenced by registerReceiver().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inlinestatic | 
References playPlayerStep().
Referenced by registerReceiver().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
References m_player_jump_timer, m_sound, and ISoundManager::playSound().
Referenced by playerJump().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
References SoundSpec::exists(), m_player_step_sound, m_player_step_timer, m_sound, makes_footstep_sound, and ISoundManager::playSound().
Referenced by playerRegainGround(), and viewBobbingStep().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
References MtEvent::CAMERA_PUNCH_LEFT, MtEvent::CAMERA_PUNCH_RIGHT, cameraPunchLeft(), cameraPunchRight(), MtEvent::NODE_DUG, nodeDug(), MtEvent::PLAYER_DAMAGE, MtEvent::PLAYER_FALLING_DAMAGE, MtEvent::PLAYER_JUMP, MtEvent::PLAYER_REGAIN_GROUND, playerDamage(), playerFallingDamage(), playerJump(), playerRegainGround(), MtEventManager::reg(), MtEvent::VIEW_BOBBING_STEP, and viewBobbingStep().
Referenced by Game::initSound().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
References m_player_jump_timer, and m_player_step_timer.
Referenced by Game::updateSound().
 Here is the caller graph for this function:
      
  | 
  inlinestatic | 
References playPlayerStep().
Referenced by registerReceiver().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Referenced by nodeDug().
| float SoundMaker::m_player_jump_timer = 0.0f | 
Referenced by playPlayerJump(), and step().
| SoundSpec SoundMaker::m_player_leftpunch_sound | 
Referenced by cameraPunchLeft(), Game::handleDigging(), and Game::processPlayerInteraction().
| SoundSpec SoundMaker::m_player_leftpunch_sound2 | 
Referenced by cameraPunchLeft(), and Game::processPlayerInteraction().
| SoundSpec SoundMaker::m_player_rightpunch_sound | 
Referenced by cameraPunchRight(), Game::handlePointingAtNode(), and Game::nodePlacement().
| SoundSpec SoundMaker::m_player_step_sound | 
Referenced by playPlayerStep(), and Game::updateSound().
| float SoundMaker::m_player_step_timer = 0.0f | 
Referenced by playPlayerStep(), and step().
      
  | 
  private | 
Referenced by cameraPunchLeft(), cameraPunchRight(), nodeDug(), playerDamage(), playerFallingDamage(), playPlayerJump(), and playPlayerStep().
| bool SoundMaker::makes_footstep_sound = true | 
Referenced by playPlayerStep(), and Game::updateSound().