Originally Posted by
replicant
What about readvalues nothing changed in them?
Heres my Animation Readvalues.
Code:
private void readValues(Stream stream) {
int i;
while ((i = stream.readUnsignedByte()) != 0) {
if (i == 1) {
anInt352 = stream.readUnsignedWord();
anIntArray353 = new int[anInt352];
anIntArray354 = new int[anInt352];
anIntArray355 = new int[anInt352];
for (int j = 0; j < anInt352; j++) {
anIntArray353[j] = stream.readDWord();
anIntArray354[j] = -1;
}
for (int j = 0; j < anInt352; j++)
anIntArray355[j] = stream.readUnsignedByte();
} else if (i == 2)
anInt356 = stream.readUnsignedWord();
else if (i == 3) {
int k = stream.readUnsignedByte();
anIntArray357 = new int[k + 1];
for (int l = 0; l < k; l++)
anIntArray357[l] = stream.readUnsignedByte();
anIntArray357[k] = 9999999;
} else if (i == 4)
aBoolean358 = true;
else if (i == 5)
anInt359 = stream.readUnsignedByte();
else if (i == 6)
anInt360 = stream.readUnsignedWord();
else if (i == 7)
anInt361 = stream.readUnsignedWord();
else if (i == 8)
anInt362 = stream.readUnsignedByte();
else if (i == 9)
anInt363 = stream.readUnsignedByte();
else if (i == 10)
anInt364 = stream.readUnsignedByte();
else if (i == 11)
anInt365 = stream.readUnsignedByte();
else if (i == 12)
stream.readDWord();
else
System.out.println("Error unrecognised seq config code: " + i);
}
if (anInt352 == 0) {
anInt352 = 1;
anIntArray353 = new int[1];
anIntArray353[0] = -1;
anIntArray354 = new int[1];
anIntArray354[0] = -1;
anIntArray355 = new int[1];
anIntArray355[0] = -1;
}
if (anInt363 == -1)
if (anIntArray357 != null)
anInt363 = 2;
else
anInt363 = 0;
if (anInt364 == -1) {
if (anIntArray357 != null) {
anInt364 = 2;
return;
}
anInt364 = 0;
}
}