further work on soundlib support code

move some inline code into functions
replace some magic numbers

The mingw code is not tested yet.
This commit is contained in:
nhmall
2023-01-31 22:19:29 -05:00
parent 4ccee5a177
commit 8ee42f5644
7 changed files with 214 additions and 75 deletions

View File

@@ -2615,6 +2615,8 @@ extern void get_soundlib_name(char *dest, int maxlen);
#ifdef SND_SOUNDEFFECTS_AUTOMAP
extern char *get_sound_effect_filename(int32_t seidint,
char *buf, size_t bufsz, int32_t);
extern char *base_soundname_to_filename(char *basename, char *buf,
size_t bufsz, int32_t baseflag);
#endif
/* ### sp_lev.c ### */