api: rename unknownSoundValues1 -> queuedSoundEffectLoops

This commit is contained in:
Adam
2019-06-24 15:43:40 -04:00
parent 5763ef4c33
commit 438fbc9b0d
2 changed files with 4 additions and 4 deletions

View File

@@ -47,14 +47,14 @@ public abstract class PlaySoundEffectMixin implements RSClient
int position = ((x & 255) << 16) + ((y & 255) << 8) + (range & 255);
int[] queuedSoundEffectIDs = getQueuedSoundEffectIDs();
int[] unknownSoundValues1 = getUnknownSoundValues1();
int[] queuedSoundEffectLoops = getQueuedSoundEffectLoops();
int[] queuedSoundEffectDelays = getQueuedSoundEffectDelays();
RSSoundEffect[] audioEffects = getAudioEffects();
int[] soundLocations = getSoundLocations();
int queuedSoundEffectCount = getQueuedSoundEffectCount();
queuedSoundEffectIDs[queuedSoundEffectCount] = id;
unknownSoundValues1[queuedSoundEffectCount] = 0;
queuedSoundEffectLoops[queuedSoundEffectCount] = 0;
queuedSoundEffectDelays[queuedSoundEffectCount] = 0;
audioEffects[queuedSoundEffectCount] = null;
soundLocations[queuedSoundEffectCount] = position;

View File

@@ -552,8 +552,8 @@ public interface RSClient extends RSGameEngine, Client
@Import("soundLocations")
int[] getSoundLocations();
@Import("unknownSoundValues1")
int[] getUnknownSoundValues1();
@Import("queuedSoundEffectLoops")
int[] getQueuedSoundEffectLoops();
@Import("queuedSoundEffectDelays")
int[] getQueuedSoundEffectDelays();