Oolite 1.91.0.7677-250528-09ed63a
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
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)
#define OO_ASSIGN_SOUNDSTR_TO_SOUNDS(soundStr, sounds)

Referenced by PlayerEntity(Sound)::setUpWeaponSounds.

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

◆ sBreakPatternSource

OOSoundSource* sBreakPatternSource
static

◆ sBuySellSourcePool

OOSoundSourcePool* sBuySellSourcePool
static

◆ sDamageSoundPool

OOSoundSourcePool* sDamageSoundPool
static

◆ sEcmSource

◆ sHyperspaceSoundSource

OOSoundSource* sHyperspaceSoundSource
static

◆ sInterfaceBeepSource

◆ sMiscSoundPool

OOSoundSourcePool* sMiscSoundPool
static

◆ sWarningSoundPool

OOSoundSourcePool* sWarningSoundPool
static

◆ sWeaponSoundPool

OOSoundSourcePool* sWeaponSoundPool
static

◆ weaponLaunched

NSDictionary* weaponLaunched
static

◆ weaponShieldHit

NSDictionary* weaponShieldHit
static

◆ weaponShotHit

NSDictionary* weaponShotHit
static

◆ weaponShotMiss

NSDictionary* weaponShotMiss
static

◆ weaponUnshieldedHit

NSDictionary* weaponUnshieldedHit
static