#include <sound.h>
Public Methods | |
SOUND_SAMPLE () | |
~SOUND_SAMPLE () | |
int | Compare (const SOUND_SAMPLE &Sample) |
int | GetMyPosition () const |
void | SetMyPosition (int newPosition) |
Public Attributes | |
int | linkPosition |
HSAMPLE | hSample |
char | name [32] |
int | max |
DWORD | flags |
DWORD | volume |
float | mindist |
float | maxdist |
|
Definition at line 20 of file sound.h.
00020 {}; |
|
Definition at line 21 of file sound.h.
00021 {}; |
|
Definition at line 20 of file sound.cpp. References bigger, linkPosition, same, and smaller.
00021 { 00022 if (linkPosition < Sample.linkPosition) 00023 return smaller; 00024 if (linkPosition > Sample.linkPosition) 00025 return bigger; 00026 else 00027 return same; 00028 } |
|
Definition at line 24 of file sound.h. References linkPosition.
00024 {return linkPosition;} |
|
Definition at line 25 of file sound.h. References linkPosition.
00025 {linkPosition = newPosition;} |
|
Definition at line 31 of file sound.h. Referenced by CreateSounds(), and LoadSample(). |
|
Definition at line 28 of file sound.h. Referenced by CreateChannel(), and LoadSample(). |
|
Definition at line 26 of file sound.h. Referenced by Compare(), GetMyPosition(), LoadSample(), and SetMyPosition(). |
|
Definition at line 30 of file sound.h. Referenced by CreateSounds(), and LoadSample(). |
|
Definition at line 34 of file sound.h. Referenced by CreateSounds(), and LoadSample(). |
|
Definition at line 33 of file sound.h. Referenced by CreateSounds(), and LoadSample(). |
|
Definition at line 29 of file sound.h. Referenced by CreateSounds(), and LoadSample(). |
|
Definition at line 32 of file sound.h. Referenced by CreateSounds(), and LoadSample(). |