Mercurial > mm7
comparison AudioPlayer.h @ 388:d95a91011d57
AudioPlayer::PlaySound
author | Nomad |
---|---|
date | Sat, 23 Feb 2013 04:01:09 +0200 |
parents | 50875632e776 |
children | 94546824edad |
comparison
equal
deleted
inserted
replaced
383:c3a0d94c07a5 | 388:d95a91011d57 |
---|---|
71 | 71 |
72 | 72 |
73 /* 308 */ | 73 /* 308 */ |
74 enum SoundID | 74 enum SoundID |
75 { | 75 { |
76 SOUND_0 = 0, | 76 SOUND_Invalid = 0, |
77 SOUND_EnteringAHouse = 0x6, | 77 SOUND_EnteringAHouse = 0x6, |
78 SOUND_8 = 0x8, | 78 SOUND_8 = 0x8, |
79 SOUND_27 = 0x1B, | 79 SOUND_27 = 0x1B, |
80 SOUND_Button = 66, | 80 SOUND_Button = 66, |
81 SOUND_67 = 67, | 81 SOUND_67 = 67, |
82 SOUND_71 = 71, | 82 SOUND_71 = 71, |
83 SOUND_Button2 = 75, | |
83 SOUND_78 = 78, | 84 SOUND_78 = 78, |
84 SOUND_80 = 80, | 85 SOUND_80 = 80, |
85 SOUND_81 = 81, | 86 SOUND_81 = 81, |
86 SOUND_83 = 83, | 87 SOUND_83 = 83, |
87 SOUND_84 = 84, | 88 SOUND_84 = 84, |
234 char pData[1]; | 235 char pData[1]; |
235 }; | 236 }; |
236 | 237 |
237 struct SoundDesc | 238 struct SoundDesc |
238 { | 239 { |
240 inline bool Is3D() {return uFlags & SOUND_DESC_3D;} | |
241 | |
239 char pSoundName[32]; | 242 char pSoundName[32]; |
240 unsigned int uSoundID; | 243 unsigned int uSoundID; |
241 SOUND_DESC_TYPE eType; | 244 SOUND_DESC_TYPE eType; |
242 int uFlags; | 245 int uFlags; |
243 SoundData *pSoundData[17]; | 246 SoundData *pSoundData[17]; |