Skip to content

Commit

Permalink
update config.d
Browse files Browse the repository at this point in the history
  • Loading branch information
ZILtoid1991 committed Jul 21, 2023
1 parent c9609bc commit c70efab
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pixelperfectengine/src/pixelperfectengine/audio/base/config.d
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,15 @@ public class ModuleConfig {
}
return null;
}
/**
* Renames a wave file definition.
* Does not affect internal waves if they're overridden.
* Params:
* modID = module ID.
* waveID = Waveform ID.
* newName = The new name for the waveform.
* Returns: The old name if there's any.
*/
public string renameWave(string modID, int waveID, string newName) {
string oldName;
foreach (Tag t0 ; root.tags) {
Expand Down

0 comments on commit c70efab

Please sign in to comment.