Add "soundlist" keyvalue for individual sound replacements.

This commit is contained in:
Giegue
2023-04-29 02:04:40 -03:00
parent 92d14a6fd3
commit efd801bdea
8 changed files with 185 additions and 12 deletions

View File

@@ -5,9 +5,16 @@
namespace REPLACER
{
typedef struct
{
char source[128];
char destination[128];
} REPLACER;
void Init(void);
bool AddGlobalModel(const char *from, const char *to);
bool AddGlobalSound(const char *from, const char *to);
bool AddIndividualSound(edict_t *pMonster, const char *from, const char *to);
const char* FindModelReplacement( edict_t *pMonster, const char *from );
inline const char* FindModelReplacement( const char *from ) { return FindModelReplacement( NULL, from ); }