Debian Codegraph @

prboom2/src/dsda/sfx.h

raw
1 //
2 // Copyright(C) 2021 by Ryan Krafnick
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // DESCRIPTION:
15 // DSDA SFX
16 //
17
18 #ifndef __DSDA_SFX__
19 #define __DSDA_SFX__
20
21 #include "sounds.h"
22
23 int dsda_GetDehSFXIndex(const char* key, size_t length);
24 int dsda_GetOriginalSFXIndex(const char* key);
25 sfxinfo_t* dsda_GetDehSFX(int index);
26 sfxinfo_t* dsda_NewSFX(int* index);
27 void dsda_InitializeSFX(sfxinfo_t* source, int count);
28 void dsda_FreeDehSFX(void);
29 dboolean dsda_BlockSFX(sfxinfo_t *sfx);
30
31 #endif