Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
PlayerEntitySound.m File Reference
import "PlayerEntitySound.h"
import "OOSound.h"
import "ResourceManager.h"
import "Universe.h"
import "OOSoundSourcePool.h"
import "OOMaths.h"
import "OOEquipmentType.h"
+ Include dependency graph for PlayerEntitySound.m:

Go to the source code of this file.

Macros

#define OO_ASSIGN_SOUNDSTR_TO_SOUNDS(soundStr, sounds)
 

Enumerations

enum  {
  kBuySellSourcePoolSize = 4 , kWarningPoolSize = 6 , kWeaponPoolSize = 3 , kDamagePoolSize = 4 ,
  kMiscPoolSize = 2
}
 

Variables

static OOSoundSourcePoolsWarningSoundPool
 
static OOSoundSourcePoolsWeaponSoundPool
 
static OOSoundSourcePoolsDamageSoundPool
 
static OOSoundSourcePoolsMiscSoundPool
 
static OOSoundSourcesHyperspaceSoundSource
 
static OOSoundSourcesInterfaceBeepSource
 
static OOSoundSourcesEcmSource
 
static OOSoundSourcesBreakPatternSource
 
static OOSoundSourcePoolsBuySellSourcePool
 
static OOSoundSourcesAfterburnerSources [2]
 
static NSDictionary * weaponShotMiss
 
static NSDictionary * weaponShotHit
 
static NSDictionary * weaponShieldHit
 
static NSDictionary * weaponUnshieldedHit
 
static NSDictionary * weaponLaunched
 
static const Vector kInterfaceBeepPosition = { 0.0f, -0.2f, 0.5f }
 
static const Vector kInterfaceWarningPosition = { 0.0f, -0.2f, 0.4f }
 
static const Vector kBreakPatternPosition = { 0.0f, 0.0f, 1.0f }
 
static const Vector kEcmPosition = { 0.2f, 0.6f, -0.1f }
 
static const Vector kWitchspacePosition = { 0.0f, -0.3f, -0.3f }
 
static const Vector kAfterburner1Position = { -0.1f, 0.0f, -1.0f }
 
static const Vector kAfterburner2Position = { 0.1f, 0.0f, -1.0f }
 

Macro Definition Documentation

◆ OO_ASSIGN_SOUNDSTR_TO_SOUNDS

#define OO_ASSIGN_SOUNDSTR_TO_SOUNDS ( soundStr,
sounds )
Value:
do { \
fxString = [eqType soundStr]; \
if (!fxString) fxString = @""; \
[sounds setObject:fxString forKey:[eqType identifier]]; \
} while(0)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kBuySellSourcePoolSize 
kWarningPoolSize 
kWeaponPoolSize 
kDamagePoolSize 
kMiscPoolSize 

Definition at line 35 of file PlayerEntitySound.m.

36{
42};
@ kDamagePoolSize
@ kMiscPoolSize
@ kWeaponPoolSize
@ kBuySellSourcePoolSize
@ kWarningPoolSize

Variable Documentation

◆ kAfterburner1Position

const Vector kAfterburner1Position = { -0.1f, 0.0f, -1.0f }
static

Definition at line 68 of file PlayerEntitySound.m.

68{ -0.1f, 0.0f, -1.0f };

◆ kAfterburner2Position

const Vector kAfterburner2Position = { 0.1f, 0.0f, -1.0f }
static

Definition at line 69 of file PlayerEntitySound.m.

69{ 0.1f, 0.0f, -1.0f };

◆ kBreakPatternPosition

const Vector kBreakPatternPosition = { 0.0f, 0.0f, 1.0f }
static

Definition at line 64 of file PlayerEntitySound.m.

64{ 0.0f, 0.0f, 1.0f };

◆ kEcmPosition

const Vector kEcmPosition = { 0.2f, 0.6f, -0.1f }
static

Definition at line 65 of file PlayerEntitySound.m.

65{ 0.2f, 0.6f, -0.1f };

◆ kInterfaceBeepPosition

const Vector kInterfaceBeepPosition = { 0.0f, -0.2f, 0.5f }
static

Definition at line 62 of file PlayerEntitySound.m.

62{ 0.0f, -0.2f, 0.5f };

◆ kInterfaceWarningPosition

const Vector kInterfaceWarningPosition = { 0.0f, -0.2f, 0.4f }
static

Definition at line 63 of file PlayerEntitySound.m.

63{ 0.0f, -0.2f, 0.4f };

◆ kWitchspacePosition

const Vector kWitchspacePosition = { 0.0f, -0.3f, -0.3f }
static

Definition at line 66 of file PlayerEntitySound.m.

66{ 0.0f, -0.3f, -0.3f };

◆ sAfterburnerSources

OOSoundSource* sAfterburnerSources[2]
static

Definition at line 54 of file PlayerEntitySound.m.

◆ sBreakPatternSource

OOSoundSource* sBreakPatternSource
static

Definition at line 52 of file PlayerEntitySound.m.

◆ sBuySellSourcePool

OOSoundSourcePool* sBuySellSourcePool
static

Definition at line 53 of file PlayerEntitySound.m.

◆ sDamageSoundPool

OOSoundSourcePool* sDamageSoundPool
static

Definition at line 47 of file PlayerEntitySound.m.

◆ sEcmSource

OOSoundSource* sEcmSource
static

Definition at line 51 of file PlayerEntitySound.m.

◆ sHyperspaceSoundSource

OOSoundSource* sHyperspaceSoundSource
static

Definition at line 49 of file PlayerEntitySound.m.

◆ sInterfaceBeepSource

OOSoundSource* sInterfaceBeepSource
static

Definition at line 50 of file PlayerEntitySound.m.

◆ sMiscSoundPool

OOSoundSourcePool* sMiscSoundPool
static

Definition at line 48 of file PlayerEntitySound.m.

◆ sWarningSoundPool

OOSoundSourcePool* sWarningSoundPool
static

Definition at line 45 of file PlayerEntitySound.m.

◆ sWeaponSoundPool

OOSoundSourcePool* sWeaponSoundPool
static

Definition at line 46 of file PlayerEntitySound.m.

◆ weaponLaunched

NSDictionary* weaponLaunched
static

Definition at line 60 of file PlayerEntitySound.m.

◆ weaponShieldHit

NSDictionary* weaponShieldHit
static

Definition at line 58 of file PlayerEntitySound.m.

◆ weaponShotHit

NSDictionary* weaponShotHit
static

Definition at line 57 of file PlayerEntitySound.m.

◆ weaponShotMiss

NSDictionary* weaponShotMiss
static

Definition at line 56 of file PlayerEntitySound.m.

◆ weaponUnshieldedHit

NSDictionary* weaponUnshieldedHit
static

Definition at line 59 of file PlayerEntitySound.m.