rsclient: rev 191
This commit is contained in:
@@ -2,42 +2,42 @@ import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
|
||||
@ObfuscatedName("dz")
|
||||
@ObfuscatedName("dn")
|
||||
@Implements("VorbisMapping")
|
||||
public class VorbisMapping {
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedName("z")
|
||||
@Export("submaps")
|
||||
int submaps;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("k")
|
||||
@Export("mappingMux")
|
||||
int mappingMux;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("s")
|
||||
@Export("submapFloor")
|
||||
int[] submapFloor;
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("t")
|
||||
@Export("submapResidue")
|
||||
int[] submapResidue;
|
||||
|
||||
VorbisMapping() {
|
||||
VorbisSample.readBits(16);
|
||||
this.submaps = VorbisSample.readBit() != 0 ? VorbisSample.readBits(4) + 1 : 1;
|
||||
if (VorbisSample.readBit() != 0) {
|
||||
VorbisSample.readBits(8);
|
||||
VorbisSample.readBits(16); // L: 12
|
||||
this.submaps = VorbisSample.readBit() != 0 ? VorbisSample.readBits(4) + 1 : 1; // L: 13
|
||||
if (VorbisSample.readBit() != 0) { // L: 14
|
||||
VorbisSample.readBits(8); // L: 15
|
||||
}
|
||||
|
||||
VorbisSample.readBits(2);
|
||||
if (this.submaps > 1) {
|
||||
this.mappingMux = VorbisSample.readBits(4);
|
||||
VorbisSample.readBits(2); // L: 18
|
||||
if (this.submaps > 1) { // L: 19
|
||||
this.mappingMux = VorbisSample.readBits(4); // L: 20
|
||||
}
|
||||
|
||||
this.submapFloor = new int[this.submaps];
|
||||
this.submapResidue = new int[this.submaps];
|
||||
this.submapFloor = new int[this.submaps]; // L: 22
|
||||
this.submapResidue = new int[this.submaps]; // L: 23
|
||||
|
||||
for (int var1 = 0; var1 < this.submaps; ++var1) {
|
||||
VorbisSample.readBits(8);
|
||||
this.submapFloor[var1] = VorbisSample.readBits(8);
|
||||
this.submapResidue[var1] = VorbisSample.readBits(8);
|
||||
for (int var1 = 0; var1 < this.submaps; ++var1) { // L: 24
|
||||
VorbisSample.readBits(8); // L: 25
|
||||
this.submapFloor[var1] = VorbisSample.readBits(8); // L: 26
|
||||
this.submapResidue[var1] = VorbisSample.readBits(8); // L: 27
|
||||
}
|
||||
|
||||
}
|
||||
} // L: 29
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user