Skip to content

Commit

Permalink
Remove unused soundscript related functions
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Sep 14, 2024
1 parent 2f68141 commit e03a487
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions dlls/soundscripts.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,6 @@ struct NamedSoundScript : public SoundScript
NamedSoundScript(int soundChannel, std::initializer_list<const char*> sounds, const char* scriptName):
SoundScript(soundChannel, sounds), name(scriptName) {}
const char* name;
NamedSoundScript renamed(const char* newName) const {
NamedSoundScript s = *this;
s.name = newName;
return s;
}
NamedSoundScript repitched(IntRange newPitch) const {
NamedSoundScript s = *this;
s.pitch = newPitch;
return s;
}
NamedSoundScript renamedAndRepitched(const char* newName, IntRange newPitch) const {
NamedSoundScript s = *this;
s.name = newName;
s.pitch = newPitch;
return s;
}
operator const char* () const {
return name;
}
Expand Down Expand Up @@ -99,8 +83,6 @@ void ReadSoundScripts();
const SoundScript* ProvideDefaultSoundScript(const char* name, const SoundScript& soundScript);
const SoundScript* ProvideDefaultSoundScript(const char *derivative, const char *base, const SoundScript &soundScript, const SoundScriptParamOverride paramOverride);

void SetSoundScriptAlias(const char* alias, const char* original);

const SoundScript* GetSoundScript(const char* name);

void DumpSoundScripts();
Expand Down

0 comments on commit e03a487

Please sign in to comment.