-
Notifications
You must be signed in to change notification settings - Fork 1
/
inc__r2sound_h.pas
47 lines (33 loc) · 1.08 KB
/
inc__r2sound_h.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{*******************************************************************************
NFK [R2]
Sound Library
Header
Contains:
procedure loadSamples;
procedure ErrorSound;
procedure PAINSOUNDZZ(F : TPlayer);
See also:
inc__r2sound.pas // implementation
*******************************************************************************}
type r2sound = class
public
Stream: PFSoundStream;
SAMPLES:array[0..5000] of PFSoundSample;
listenerPos: array[0..2] of single;
sampleFormat:longint;
maxSound : word;
Player : TMediaPlayer;
constructor Create;
procedure loadSamples;
procedure play(SNDINDEX : word;x,y : real);
procedure musicStop;
procedure musicReset;
procedure musicPlay;
procedure musicStart(id : byte);
procedure playerNotify(Sender: TObject);
procedure AppClose(i:word);
procedure Pain(var F : TPlayer);
procedure ErrorSound;
procedure loadModelSounds();
procedure commentPlay(par: string; st: string);
end;