RigsofRods
Soft-body Physics Simulation
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>
+ Include dependency graph for SoundScriptManager.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

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

Namespaces

 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  { RoR::MAX_SOUNDS_PER_SCRIPT = 16, RoR::MAX_INSTANCES_PER_GROUP = 256 }
 
enum  RoR::SoundTriggers {
  RoR::SS_TRIG_NONE = -1, RoR::SS_TRIG_ENGINE = 0, RoR::SS_TRIG_AEROENGINE1, RoR::SS_TRIG_AEROENGINE2,
  RoR::SS_TRIG_AEROENGINE3, RoR::SS_TRIG_AEROENGINE4, RoR::SS_TRIG_HORN, RoR::SS_TRIG_BRAKE,
  RoR::SS_TRIG_PUMP, RoR::SS_TRIG_STARTER, RoR::SS_TRIG_TURBOBOV, RoR::SS_TRIG_TURBOWASTEGATE,
  RoR::SS_TRIG_TURBOBACKFIRE, RoR::SS_TRIG_ALWAYSON, RoR::SS_TRIG_REPAIR, RoR::SS_TRIG_AIR,
  RoR::SS_TRIG_GPWS_APDISCONNECT, RoR::SS_TRIG_GPWS_10, RoR::SS_TRIG_GPWS_20, RoR::SS_TRIG_GPWS_30,
  RoR::SS_TRIG_GPWS_40, RoR::SS_TRIG_GPWS_50, RoR::SS_TRIG_GPWS_100, RoR::SS_TRIG_GPWS_PULLUP,
  RoR::SS_TRIG_GPWS_MINIMUMS, RoR::SS_TRIG_AIR_PURGE, RoR::SS_TRIG_SHIFT, RoR::SS_TRIG_GEARSLIDE,
  RoR::SS_TRIG_CREAK, RoR::SS_TRIG_BREAK, RoR::SS_TRIG_SCREETCH, RoR::SS_TRIG_PARK,
  RoR::SS_TRIG_AFTERBURNER1, RoR::SS_TRIG_AFTERBURNER2, RoR::SS_TRIG_AFTERBURNER3, RoR::SS_TRIG_AFTERBURNER4,
  RoR::SS_TRIG_AFTERBURNER5, RoR::SS_TRIG_AFTERBURNER6, RoR::SS_TRIG_AFTERBURNER7, RoR::SS_TRIG_AFTERBURNER8,
  RoR::SS_TRIG_AEROENGINE5, RoR::SS_TRIG_AEROENGINE6, RoR::SS_TRIG_AEROENGINE7, RoR::SS_TRIG_AEROENGINE8,
  RoR::SS_TRIG_AOA, RoR::SS_TRIG_IGNITION, RoR::SS_TRIG_REVERSE_GEAR, RoR::SS_TRIG_TURN_SIGNAL,
  RoR::SS_TRIG_TURN_SIGNAL_TICK, RoR::SS_TRIG_TURN_SIGNAL_WARN_TICK, RoR::SS_TRIG_ALB_ACTIVE, RoR::SS_TRIG_TC_ACTIVE,
  RoR::SS_TRIG_AVICHAT01, RoR::SS_TRIG_AVICHAT02, RoR::SS_TRIG_AVICHAT03, RoR::SS_TRIG_AVICHAT04,
  RoR::SS_TRIG_AVICHAT05, RoR::SS_TRIG_AVICHAT06, RoR::SS_TRIG_AVICHAT07, RoR::SS_TRIG_AVICHAT08,
  RoR::SS_TRIG_AVICHAT09, RoR::SS_TRIG_AVICHAT10, RoR::SS_TRIG_AVICHAT11, RoR::SS_TRIG_AVICHAT12,
  RoR::SS_TRIG_AVICHAT13, RoR::SS_TRIG_LINKED_COMMAND, RoR::SS_TRIG_MAIN_MENU, RoR::SS_MAX_TRIG
}
 
enum  RoR::ModulationSources {
  RoR::SS_MOD_NONE, RoR::SS_MOD_ENGINE, RoR::SS_MOD_TURBO, RoR::SS_MOD_AEROENGINE1,
  RoR::SS_MOD_AEROENGINE2, RoR::SS_MOD_AEROENGINE3, RoR::SS_MOD_AEROENGINE4, RoR::SS_MOD_WHEELSPEED,
  RoR::SS_MOD_INJECTOR, RoR::SS_MOD_TORQUE, RoR::SS_MOD_GEARBOX, RoR::SS_MOD_CREAK,
  RoR::SS_MOD_BREAK, RoR::SS_MOD_SCREETCH, RoR::SS_MOD_PUMP, RoR::SS_MOD_THROTTLE1,
  RoR::SS_MOD_THROTTLE2, RoR::SS_MOD_THROTTLE3, RoR::SS_MOD_THROTTLE4, RoR::SS_MOD_THROTTLE5,
  RoR::SS_MOD_THROTTLE6, RoR::SS_MOD_THROTTLE7, RoR::SS_MOD_THROTTLE8, RoR::SS_MOD_AEROENGINE5,
  RoR::SS_MOD_AEROENGINE6, RoR::SS_MOD_AEROENGINE7, RoR::SS_MOD_AEROENGINE8, RoR::SS_MOD_AIRSPEED,
  RoR::SS_MOD_AOA, RoR::SS_MOD_LINKED_COMMANDRATE, RoR::SS_MOD_MUSIC_VOLUME, RoR::SS_MAX_MOD
}
 
enum  RoR::SoundLinkTypes {
  RoR::SL_DEFAULT, RoR::SL_COMMAND, RoR::SL_HYDRO, RoR::SL_COLLISION,
  RoR::SL_SHOCKS, RoR::SL_BRAKES, RoR::SL_ROPES, RoR::SL_TIES,
  RoR::SL_PARTICLES, RoR::SL_AXLES, RoR::SL_FLARES, RoR::SL_FLEXBODIES,
  RoR::SL_EXHAUSTS, RoR::SL_VIDEOCAMERA, RoR::SL_MAX
}
 

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.