Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Enumerations
SoundScriptManager.h File Reference
#include "AngelScriptBindings.h"
#include "Application.h"
#include "RefCountingObjectPtr.h"
#include "Sound.h"
#include "SoundManager.h"
#include <OgreScriptLoader.h>

Go to the source code of this file.

Data Structures

class  RoR::SoundScriptTemplate
 
class  RoR::SoundScriptInstance
 
class  RoR::SoundScriptManager
 

Namespaces

namespace  RoR
 

Macros

#define SOUND_PLAY_ONCE(_ACTOR_, _TRIG_)   App::GetSoundScriptManager()->trigOnce ( (_ACTOR_), (_TRIG_) )
 
#define SOUND_START(_ACTOR_, _TRIG_)   App::GetSoundScriptManager()->trigStart ( (_ACTOR_), (_TRIG_) )
 
#define SOUND_STOP(_ACTOR_, _TRIG_)   App::GetSoundScriptManager()->trigStop ( (_ACTOR_), (_TRIG_) )
 
#define SOUND_TOGGLE(_ACTOR_, _TRIG_)   App::GetSoundScriptManager()->trigToggle ( (_ACTOR_), (_TRIG_) )
 
#define SOUND_KILL(_ACTOR_, _TRIG_)   App::GetSoundScriptManager()->trigKill ( (_ACTOR_), (_TRIG_) )
 
#define SOUND_GET_STATE(_ACTOR_, _TRIG_)   App::GetSoundScriptManager()->getTrigState( (_ACTOR_), (_TRIG_) )
 
#define SOUND_MODULATE(_ACTOR_, _MOD_, _VALUE_)   App::GetSoundScriptManager()->modulate ( (_ACTOR_), (_MOD_), (_VALUE_) )
 

Enumerations

enum  
 
enum  RoR::SoundTriggers
 
enum  RoR::ModulationSources
 
enum  RoR::SoundLinkTypes
 

Macro Definition Documentation

◆ SOUND_GET_STATE

#define SOUND_GET_STATE (   _ACTOR_,
  _TRIG_ 
)    App::GetSoundScriptManager()->getTrigState( (_ACTOR_), (_TRIG_) )

Definition at line 39 of file SoundScriptManager.h.

◆ SOUND_KILL

#define SOUND_KILL (   _ACTOR_,
  _TRIG_ 
)    App::GetSoundScriptManager()->trigKill ( (_ACTOR_), (_TRIG_) )

Definition at line 38 of file SoundScriptManager.h.

◆ SOUND_MODULATE

#define SOUND_MODULATE (   _ACTOR_,
  _MOD_,
  _VALUE_ 
)    App::GetSoundScriptManager()->modulate ( (_ACTOR_), (_MOD_), (_VALUE_) )

Definition at line 40 of file SoundScriptManager.h.

◆ SOUND_PLAY_ONCE

#define SOUND_PLAY_ONCE (   _ACTOR_,
  _TRIG_ 
)    App::GetSoundScriptManager()->trigOnce ( (_ACTOR_), (_TRIG_) )

Definition at line 34 of file SoundScriptManager.h.

◆ SOUND_START

#define SOUND_START (   _ACTOR_,
  _TRIG_ 
)    App::GetSoundScriptManager()->trigStart ( (_ACTOR_), (_TRIG_) )

Definition at line 35 of file SoundScriptManager.h.

◆ SOUND_STOP

#define SOUND_STOP (   _ACTOR_,
  _TRIG_ 
)    App::GetSoundScriptManager()->trigStop ( (_ACTOR_), (_TRIG_) )

Definition at line 36 of file SoundScriptManager.h.

◆ SOUND_TOGGLE

#define SOUND_TOGGLE (   _ACTOR_,
  _TRIG_ 
)    App::GetSoundScriptManager()->trigToggle ( (_ACTOR_), (_TRIG_) )

Definition at line 37 of file SoundScriptManager.h.