28 #ifndef HPL_SOUND_ENTITY_DATA_H 29 #define HPL_SOUND_ENTITY_DATA_H 31 #include "hpl1/engine/resources/ResourceBase.h" 32 #include "hpl1/engine/system/SystemTypes.h" 43 bool CreateFromFile(
const tString &asFile);
45 const tString &GetMainSoundName() {
return msMainSound; }
46 void SetMainSoundName(
const tString &asName) { msMainSound = asName; }
47 const tString &GetStartSoundName() {
return msStartSound; }
48 void SetStartSoundName(
const tString &asName) { msStartSound = asName; }
49 const tString &GetStopSoundName() {
return msStopSound; }
50 void SetStopSoundName(
const tString &asName) { msStopSound = asName; }
52 void SetFadeStart(
bool abX) { mbFadeStart = abX; }
53 bool GetFadeStart() {
return mbFadeStart; }
54 void SetFadeStop(
bool abX) { mbFadeStop = abX; }
55 bool GetFadeStop() {
return mbFadeStop; }
57 void SetVolume(
float afX) { mfVolume = afX; }
58 float GetVolume() {
return mfVolume; }
59 void SetMaxDistance(
float afX) { mfMaxDistance = afX; }
60 float GetMaxDistance() {
return mfMaxDistance; }
61 void SetMinDistance(
float afX) { mfMinDistance = afX; }
62 float GetMinDistance() {
return mfMinDistance; }
64 void SetStream(
bool abX) { mbStream = abX; }
65 bool GetStream() {
return mbStream; }
66 void SetLoop(
bool abX) { mbLoop = abX; }
67 bool GetLoop() {
return mbLoop; }
68 void SetUse3D(
bool abX) { mbUse3D = abX; }
69 bool GetUse3D() {
return mbUse3D; }
71 void SetBlockable(
bool abX) { mbBlockable = abX; }
72 bool GetBlockable() {
return mbBlockable; }
73 void SetBlockVolumeMul(
float afX) { mfBlockVolumeMul = afX; }
74 float GetBlockVolumeMul() {
return mfBlockVolumeMul; }
76 void SetRandom(
float afX) { mfRandom = afX; }
77 float GetRandom() {
return mfRandom; }
78 void SetInterval(
float afX) { mfInterval = afX; }
79 float GetInterval() {
return mfInterval; }
81 void SetPriority(
int alX) { mlPriority = alX; }
82 int GetPriority() {
return mlPriority; }
106 float mfBlockVolumeMul;
116 #endif // HPL_SOUND_DATA_H
void destroy()
Definition: SoundEntityData.h:87
Definition: SoundEntityData.h:36
Definition: ResourceBase.h:36
void unload()
Definition: SoundEntityData.h:86
Definition: SoundEntity.h:86
bool reload()
Definition: SoundEntityData.h:85