Tons of renaming
This commit is contained in:
1 parent
e5438f79a4
commit
172a880a85
20 files changed
+1242
-1046
No files matched your search
+248
-191
@@ -7,25 +7,25 @@ import org.apache.commons.collections4.map.LRUMap;
|
||||
public class PlayerEntity extends PathingEntity {
|
||||
|
||||
public static LRUMap<Long, Model> modelCache = new LRUMap<>(260);
|
||||
public final int[] anIntArray1700 = new int[5];
|
||||
public final int[] appearance = new int[12];
|
||||
public long aLong1697 = -1L;
|
||||
public NPCType aType_1698;
|
||||
public boolean aBoolean1699 = false;
|
||||
public final int[] colors = new int[5];
|
||||
public final int[] appearances = new int[12];
|
||||
public long modelUID = -1L;
|
||||
public NPCType npcType;
|
||||
public boolean lowmem = false;
|
||||
public int team;
|
||||
public int gender;
|
||||
public String name;
|
||||
public int combatLevel;
|
||||
public int headicons;
|
||||
public int anInt1707;
|
||||
public int anInt1708;
|
||||
public int locStartCycle;
|
||||
public int locStopCycle;
|
||||
public int y;
|
||||
public boolean aBoolean1710 = false;
|
||||
public int anInt1711;
|
||||
public int anInt1712;
|
||||
public int anInt1713;
|
||||
public Model model;
|
||||
public long aLong1718;
|
||||
public boolean visible = false;
|
||||
public int locOffsetX;
|
||||
public int locOffsetY;
|
||||
public int locOffsetZ;
|
||||
public Model locModel;
|
||||
public long appearanceHashcode;
|
||||
public int minSceneTileX;
|
||||
public int minSceneTileZ;
|
||||
public int maxSceneTileX;
|
||||
@@ -37,68 +37,79 @@ public class PlayerEntity extends PathingEntity {
|
||||
|
||||
@Override
|
||||
public Model getModel() {
|
||||
if (!aBoolean1710) {
|
||||
if (!visible) {
|
||||
return null;
|
||||
}
|
||||
Model model = method452();
|
||||
|
||||
Model model = getSequencedModel();
|
||||
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
super.height = model.minY;
|
||||
model.pickable = true;
|
||||
if (aBoolean1699) {
|
||||
|
||||
if (lowmem) {
|
||||
return model;
|
||||
}
|
||||
|
||||
if ((super.spotanim != -1) && (super.spotanimFrame != -1)) {
|
||||
SpotAnimType type = SpotAnimType.instances[super.spotanim];
|
||||
Model class30_sub2_sub4_sub6_2 = type.method266();
|
||||
if (class30_sub2_sub4_sub6_2 != null) {
|
||||
Model model_3 = new Model(true, SeqFrame.isNull(super.spotanimFrame), false, class30_sub2_sub4_sub6_2);
|
||||
model_3.translate(0, -super.anInt1524, 0);
|
||||
model_3.createLabelReferences();
|
||||
model_3.applySequenceFrame(type.seq.primaryFrames[super.spotanimFrame]);
|
||||
model_3.labelFaces = null;
|
||||
model_3.labelVertices = null;
|
||||
if ((type.anInt410 != 128) || (type.anInt411 != 128)) {
|
||||
model_3.scale(type.anInt410, type.anInt410, type.anInt411);
|
||||
SpotAnimType spot = SpotAnimType.instances[super.spotanim];
|
||||
Model spotModel1 = spot.getModel();
|
||||
|
||||
if (spotModel1 != null) {
|
||||
Model spotModel2 = new Model(true, SeqFrame.isNull(super.spotanimFrame), false, spotModel1);
|
||||
spotModel2.translate(0, -super.spotanimY, 0);
|
||||
spotModel2.createLabelReferences();
|
||||
spotModel2.applySequenceFrame(spot.seq.primaryFrames[super.spotanimFrame]);
|
||||
spotModel2.labelFaces = null;
|
||||
spotModel2.labelVertices = null;
|
||||
if ((spot.scaleXY != 128) || (spot.scaleZ != 128)) {
|
||||
spotModel2.scale(spot.scaleXY, spot.scaleXY, spot.scaleZ);
|
||||
}
|
||||
model_3.calculateNormals(64 + type.anInt413, 850 + type.anInt414, -30, -50, -30, true);
|
||||
Model[] aclass30_sub2_sub4_sub6_1 = {model, model_3};
|
||||
model = new Model(2, -819, aclass30_sub2_sub4_sub6_1);
|
||||
spotModel2.calculateNormals(64 + spot.lightAmbient, 850 + spot.lightAttenuation, -30, -50, -30, true);
|
||||
model = new Model(2, -819, new Model[]{model, spotModel2});
|
||||
}
|
||||
}
|
||||
if (this.model != null) {
|
||||
if (Game.loopCycle >= anInt1708) {
|
||||
this.model = null;
|
||||
|
||||
if (this.locModel != null) {
|
||||
if (Game.loopCycle >= locStopCycle) {
|
||||
this.locModel = null;
|
||||
}
|
||||
if ((Game.loopCycle >= anInt1707) && (Game.loopCycle < anInt1708)) {
|
||||
Model model_1 = this.model;
|
||||
model_1.translate(anInt1711 - super.x, anInt1712 - y, anInt1713 - super.z);
|
||||
|
||||
if ((Game.loopCycle >= locStartCycle) && (Game.loopCycle < locStopCycle)) {
|
||||
Model model1 = this.locModel;
|
||||
model1.translate(locOffsetX - super.x, locOffsetY - y, locOffsetZ - super.z);
|
||||
|
||||
if (super.dstYaw == 512) {
|
||||
model_1.rotateY90();
|
||||
model_1.rotateY90();
|
||||
model_1.rotateY90();
|
||||
model1.rotateY90();
|
||||
model1.rotateY90();
|
||||
model1.rotateY90();
|
||||
} else if (super.dstYaw == 1024) {
|
||||
model_1.rotateY90();
|
||||
model_1.rotateY90();
|
||||
model1.rotateY90();
|
||||
model1.rotateY90();
|
||||
} else if (super.dstYaw == 1536) {
|
||||
model_1.rotateY90();
|
||||
model1.rotateY90();
|
||||
}
|
||||
Model[] aclass30_sub2_sub4_sub6 = {model, model_1};
|
||||
model = new Model(2, -819, aclass30_sub2_sub4_sub6);
|
||||
|
||||
model = new Model(2, -819, new Model[]{model, model1});
|
||||
|
||||
if (super.dstYaw == 512) {
|
||||
model_1.rotateY90();
|
||||
model1.rotateY90();
|
||||
} else if (super.dstYaw == 1024) {
|
||||
model_1.rotateY90();
|
||||
model_1.rotateY90();
|
||||
model1.rotateY90();
|
||||
model1.rotateY90();
|
||||
} else if (super.dstYaw == 1536) {
|
||||
model_1.rotateY90();
|
||||
model_1.rotateY90();
|
||||
model_1.rotateY90();
|
||||
model1.rotateY90();
|
||||
model1.rotateY90();
|
||||
model1.rotateY90();
|
||||
}
|
||||
model_1.translate(super.x - anInt1711, y - anInt1712, super.z - anInt1713);
|
||||
|
||||
model1.translate(super.x - locOffsetX, y - locOffsetY, super.z - locOffsetZ);
|
||||
}
|
||||
}
|
||||
|
||||
model.pickable = true;
|
||||
return model;
|
||||
}
|
||||
@@ -107,34 +118,44 @@ public class PlayerEntity extends PathingEntity {
|
||||
buffer.position = 0;
|
||||
gender = buffer.get1U();
|
||||
headicons = buffer.get1U();
|
||||
aType_1698 = null;
|
||||
npcType = null;
|
||||
team = 0;
|
||||
for (int j = 0; j < 12; j++) {
|
||||
int k = buffer.get1U();
|
||||
if (k == 0) {
|
||||
appearance[j] = 0;
|
||||
|
||||
for (int part = 0; part < 12; part++) {
|
||||
int msb = buffer.get1U();
|
||||
|
||||
if (msb == 0) {
|
||||
appearances[part] = 0;
|
||||
continue;
|
||||
}
|
||||
int i1 = buffer.get1U();
|
||||
appearance[j] = (k << 8) + i1;
|
||||
if ((j == 0) && (appearance[0] == 65535)) {
|
||||
aType_1698 = NPCType.get(buffer.get2U());
|
||||
|
||||
int lsb = buffer.get1U();
|
||||
appearances[part] = (msb << 8) + lsb;
|
||||
|
||||
if ((part == 0) && (appearances[0] == 65535)) {
|
||||
npcType = NPCType.get(buffer.get2U());
|
||||
break;
|
||||
}
|
||||
if ((appearance[j] >= 512) && ((appearance[j] - 512) < ObjType.count)) {
|
||||
int l1 = ObjType.get(appearance[j] - 512).team;
|
||||
if (l1 != 0) {
|
||||
team = l1;
|
||||
|
||||
if ((appearances[part] >= 512) && ((appearances[part] - 512) < ObjType.count)) {
|
||||
int team = ObjType.get(appearances[part] - 512).team;
|
||||
|
||||
if (team != 0) {
|
||||
this.team = team;
|
||||
}
|
||||
}
|
||||
}
|
||||
for (int l = 0; l < 5; l++) {
|
||||
int j1 = buffer.get1U();
|
||||
if ((j1 < 0) || (j1 >= Game.anIntArrayArray1003[l].length)) {
|
||||
j1 = 0;
|
||||
|
||||
for (int part = 0; part < 5; part++) {
|
||||
int color = buffer.get1U();
|
||||
|
||||
if ((color < 0) || (color >= Game.designPartColor[part].length)) {
|
||||
color = 0;
|
||||
}
|
||||
anIntArray1700[l] = j1;
|
||||
|
||||
colors[part] = color;
|
||||
}
|
||||
|
||||
super.seqStand = buffer.get2U();
|
||||
if (super.seqStand == 65535) {
|
||||
super.seqStand = -1;
|
||||
@@ -166,192 +187,228 @@ public class PlayerEntity extends PathingEntity {
|
||||
name = StringUtil.formatName(StringUtil.fromBase37(buffer.get8()));
|
||||
combatLevel = buffer.get1U();
|
||||
skillLevel = buffer.get2U();
|
||||
aBoolean1710 = true;
|
||||
aLong1718 = 0L;
|
||||
for (int k1 = 0; k1 < 12; k1++) {
|
||||
aLong1718 <<= 4;
|
||||
if (appearance[k1] >= 256) {
|
||||
aLong1718 += appearance[k1] - 256;
|
||||
visible = true;
|
||||
|
||||
appearanceHashcode = 0L;
|
||||
|
||||
for (int part = 0; part < 12; part++) {
|
||||
appearanceHashcode <<= 4;
|
||||
if (appearances[part] >= 256) {
|
||||
appearanceHashcode += appearances[part] - 256;
|
||||
}
|
||||
}
|
||||
if (appearance[0] >= 256) {
|
||||
aLong1718 += (appearance[0] - 256) >> 4;
|
||||
|
||||
if (appearances[0] >= 256) {
|
||||
appearanceHashcode += (appearances[0] - 256) >> 4;
|
||||
}
|
||||
if (appearance[1] >= 256) {
|
||||
aLong1718 += (appearance[1] - 256) >> 8;
|
||||
|
||||
if (appearances[1] >= 256) {
|
||||
appearanceHashcode += (appearances[1] - 256) >> 8;
|
||||
}
|
||||
|
||||
for (int i2 = 0; i2 < 5; i2++) {
|
||||
aLong1718 <<= 3;
|
||||
aLong1718 += anIntArray1700[i2];
|
||||
appearanceHashcode <<= 3;
|
||||
appearanceHashcode += colors[i2];
|
||||
}
|
||||
aLong1718 <<= 1;
|
||||
aLong1718 += gender;
|
||||
|
||||
appearanceHashcode <<= 1;
|
||||
appearanceHashcode += gender;
|
||||
}
|
||||
|
||||
public Model method452() {
|
||||
if (aType_1698 != null) {
|
||||
int j = -1;
|
||||
if ((super.anInt1526 >= 0) && (super.anInt1529 == 0)) {
|
||||
j = SeqType.instances[super.anInt1526].primaryFrames[super.anInt1527];
|
||||
} else if (super.seqCurrent >= 0) {
|
||||
j = SeqType.instances[super.seqCurrent].primaryFrames[super.seqFrame];
|
||||
public Model getSequencedModel() {
|
||||
if (npcType != null) {
|
||||
int frame = -1;
|
||||
if ((super.seqId1 >= 0) && (super.anInt1529 == 0)) {
|
||||
frame = SeqType.instances[super.seqId1].primaryFrames[super.seqFrame1];
|
||||
} else if (super.seqId2 >= 0) {
|
||||
frame = SeqType.instances[super.seqId2].primaryFrames[super.seqFrame2];
|
||||
}
|
||||
return aType_1698.method164(-1, j, null);
|
||||
}
|
||||
long l = aLong1718;
|
||||
int k = -1;
|
||||
int i1 = -1;
|
||||
int j1 = -1;
|
||||
int k1 = -1;
|
||||
if ((super.anInt1526 >= 0) && (super.anInt1529 == 0)) {
|
||||
SeqType type = SeqType.instances[super.anInt1526];
|
||||
k = type.primaryFrames[super.anInt1527];
|
||||
if ((super.seqCurrent >= 0) && (super.seqCurrent != super.seqStand)) {
|
||||
i1 = SeqType.instances[super.seqCurrent].primaryFrames[super.seqFrame];
|
||||
}
|
||||
if (type.anInt360 >= 0) {
|
||||
j1 = type.anInt360;
|
||||
l += ((long) j1 - appearance[5]) << 8;
|
||||
}
|
||||
if (type.anInt361 >= 0) {
|
||||
k1 = type.anInt361;
|
||||
l += ((long) k1 - appearance[3]) << 16;
|
||||
}
|
||||
} else if (super.seqCurrent >= 0) {
|
||||
k = SeqType.instances[super.seqCurrent].primaryFrames[super.seqFrame];
|
||||
return npcType.getSequencedModel(-1, frame, null);
|
||||
}
|
||||
|
||||
Model model_1 = modelCache.get(l);
|
||||
long hashCode = this.appearanceHashcode;
|
||||
int frame1 = -1;
|
||||
int frame2 = -1;
|
||||
int rightHandValue = -1;
|
||||
int leftHandValue = -1;
|
||||
|
||||
if ((super.seqId1 >= 0) && (super.anInt1529 == 0)) {
|
||||
SeqType type = SeqType.instances[super.seqId1];
|
||||
frame1 = type.primaryFrames[super.seqFrame1];
|
||||
|
||||
if ((super.seqId2 >= 0) && (super.seqId2 != super.seqStand)) {
|
||||
frame2 = SeqType.instances[super.seqId2].primaryFrames[super.seqFrame2];
|
||||
}
|
||||
|
||||
if (type.rightHandOverride >= 0) {
|
||||
rightHandValue = type.rightHandOverride;
|
||||
hashCode += ((long) rightHandValue - appearances[5]) << 8;
|
||||
}
|
||||
|
||||
if (type.leftHandOverride >= 0) {
|
||||
leftHandValue = type.leftHandOverride;
|
||||
hashCode += ((long) leftHandValue - appearances[3]) << 16;
|
||||
}
|
||||
} else if (super.seqId2 >= 0) {
|
||||
frame1 = SeqType.instances[super.seqId2].primaryFrames[super.seqFrame2];
|
||||
}
|
||||
|
||||
Model model = modelCache.get(hashCode);
|
||||
|
||||
if (model == null) {
|
||||
boolean invalid = false;
|
||||
|
||||
if (model_1 == null) {
|
||||
boolean flag = false;
|
||||
for (int part = 0; part < 12; part++) {
|
||||
int value = appearance[part];
|
||||
if ((k1 >= 0) && (part == 3)) {
|
||||
value = k1;
|
||||
int value = appearances[part];
|
||||
|
||||
if ((leftHandValue >= 0) && (part == 3)) {
|
||||
value = leftHandValue;
|
||||
}
|
||||
if ((j1 >= 0) && (part == 5)) {
|
||||
value = j1;
|
||||
|
||||
if ((rightHandValue >= 0) && (part == 5)) {
|
||||
value = rightHandValue;
|
||||
}
|
||||
if ((value >= 256) && (value < 512) && !IDKType.instances[value - 256].method537()) {
|
||||
flag = true;
|
||||
|
||||
if ((value >= 256) && (value < 512) && !IDKType.instances[value - 256].validateModel()) {
|
||||
invalid = true;
|
||||
}
|
||||
|
||||
if ((value >= 512) && !ObjType.get(value - 512).validateWornModel(gender)) {
|
||||
flag = true;
|
||||
invalid = true;
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
if (aLong1697 != -1L) {
|
||||
model_1 = modelCache.get(aLong1697);
|
||||
|
||||
if (invalid) {
|
||||
if (modelUID != -1L) {
|
||||
model = modelCache.get(modelUID);
|
||||
}
|
||||
if (model_1 == null) {
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (model_1 == null) {
|
||||
if (model == null) {
|
||||
Model[] models = new Model[12];
|
||||
int modelCount = 0;
|
||||
|
||||
for (int part = 0; part < 12; part++) {
|
||||
int value = appearance[part];
|
||||
if ((k1 >= 0) && (part == 3)) {
|
||||
value = k1;
|
||||
int value = appearances[part];
|
||||
|
||||
if ((leftHandValue >= 0) && (part == 3)) {
|
||||
value = leftHandValue;
|
||||
}
|
||||
if ((j1 >= 0) && (part == 5)) {
|
||||
value = j1;
|
||||
|
||||
if ((rightHandValue >= 0) && (part == 5)) {
|
||||
value = rightHandValue;
|
||||
}
|
||||
|
||||
if ((value >= 256) && (value < 512)) {
|
||||
Model model_3 = IDKType.instances[value - 256].method538();
|
||||
if (model_3 != null) {
|
||||
models[modelCount++] = model_3;
|
||||
Model kitModel = IDKType.instances[value - 256].getModel();
|
||||
if (kitModel != null) {
|
||||
models[modelCount++] = kitModel;
|
||||
}
|
||||
}
|
||||
|
||||
if (value >= 512) {
|
||||
Model model = ObjType.get(value - 512).getWornModel(gender);
|
||||
if (model != null) {
|
||||
models[modelCount++] = model;
|
||||
Model objModel = ObjType.get(value - 512).getWornModel(gender);
|
||||
|
||||
if (objModel != null) {
|
||||
models[modelCount++] = objModel;
|
||||
}
|
||||
}
|
||||
}
|
||||
model_1 = new Model(modelCount, models);
|
||||
for (int j3 = 0; j3 < 5; j3++) {
|
||||
if (anIntArray1700[j3] != 0) {
|
||||
model_1.recolor(Game.anIntArrayArray1003[j3][0], Game.anIntArrayArray1003[j3][anIntArray1700[j3]]);
|
||||
if (j3 == 1) {
|
||||
model_1.recolor(Game.anIntArray1204[0], Game.anIntArray1204[anIntArray1700[j3]]);
|
||||
|
||||
model = new Model(modelCount, models);
|
||||
for (int part = 0; part < 5; part++) {
|
||||
if (colors[part] != 0) {
|
||||
model.recolor(Game.designPartColor[part][0], Game.designPartColor[part][colors[part]]);
|
||||
if (part == 1) {
|
||||
model.recolor(Game.designHairColor[0], Game.designHairColor[colors[part]]);
|
||||
}
|
||||
}
|
||||
}
|
||||
model_1.createLabelReferences();
|
||||
model_1.calculateNormals(64, 850, -30, -50, -30, true);
|
||||
modelCache.put(l, model_1);
|
||||
aLong1697 = l;
|
||||
model.createLabelReferences();
|
||||
model.calculateNormals(64, 850, -30, -50, -30, true);
|
||||
modelCache.put(hashCode, model);
|
||||
modelUID = hashCode;
|
||||
}
|
||||
if (aBoolean1699) {
|
||||
return model_1;
|
||||
|
||||
if (lowmem) {
|
||||
return model;
|
||||
}
|
||||
Model class30_sub2_sub4_sub6_2 = Model.EMPTY;
|
||||
class30_sub2_sub4_sub6_2.set(model_1, SeqFrame.isNull(k) & SeqFrame.isNull(i1));
|
||||
if ((k != -1) && (i1 != -1)) {
|
||||
class30_sub2_sub4_sub6_2.applySequenceFrames(k, i1, SeqType.instances[super.anInt1526].anIntArray357);
|
||||
} else if (k != -1) {
|
||||
class30_sub2_sub4_sub6_2.applySequenceFrame(k);
|
||||
|
||||
Model animated = Model.EMPTY;
|
||||
animated.set(model, SeqFrame.isNull(frame1) & SeqFrame.isNull(frame2));
|
||||
|
||||
if ((frame1 != -1) && (frame2 != -1)) {
|
||||
animated.applySequenceFrames(frame1, frame2, SeqType.instances[super.seqId1].anIntArray357);
|
||||
} else if (frame1 != -1) {
|
||||
animated.applySequenceFrame(frame1);
|
||||
}
|
||||
class30_sub2_sub4_sub6_2.calculateBoundsCylinder();
|
||||
class30_sub2_sub4_sub6_2.labelFaces = null;
|
||||
class30_sub2_sub4_sub6_2.labelVertices = null;
|
||||
return class30_sub2_sub4_sub6_2;
|
||||
|
||||
animated.calculateBoundsCylinder();
|
||||
animated.labelFaces = null;
|
||||
animated.labelVertices = null;
|
||||
return animated;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isVisible() {
|
||||
return aBoolean1710;
|
||||
return visible;
|
||||
}
|
||||
|
||||
public Model method453() {
|
||||
if (!aBoolean1710) {
|
||||
public Model getUnlitHeadModel() {
|
||||
if (!visible) {
|
||||
return null;
|
||||
}
|
||||
if (aType_1698 != null) {
|
||||
return aType_1698.method160();
|
||||
|
||||
if (npcType != null) {
|
||||
return npcType.getUnlitHeadModel();
|
||||
}
|
||||
boolean flag = false;
|
||||
for (int i = 0; i < 12; i++) {
|
||||
int j = appearance[i];
|
||||
if ((j >= 256) && (j < 512) && !IDKType.instances[j - 256].method539()) {
|
||||
flag = true;
|
||||
|
||||
boolean invalid = false;
|
||||
|
||||
for (int part = 0; part < 12; part++) {
|
||||
int value = appearances[part];
|
||||
|
||||
if ((value >= 256) && (value < 512) && !IDKType.instances[value - 256].validateHeadModel()) {
|
||||
invalid = true;
|
||||
}
|
||||
if ((j >= 512) && !ObjType.get(j - 512).validateHeadModel(gender)) {
|
||||
flag = true;
|
||||
|
||||
if ((value >= 512) && !ObjType.get(value - 512).validateHeadModel(gender)) {
|
||||
invalid = true;
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
|
||||
if (invalid) {
|
||||
return null;
|
||||
}
|
||||
Model[] aclass30_sub2_sub4_sub6 = new Model[12];
|
||||
int k = 0;
|
||||
for (int l = 0; l < 12; l++) {
|
||||
int i1 = appearance[l];
|
||||
if ((i1 >= 256) && (i1 < 512)) {
|
||||
Model model_1 = IDKType.instances[i1 - 256].method540();
|
||||
if (model_1 != null) {
|
||||
aclass30_sub2_sub4_sub6[k++] = model_1;
|
||||
|
||||
Model[] models = new Model[12];
|
||||
int modelCount = 0;
|
||||
for (int part = 0; part < 12; part++) {
|
||||
int value = appearances[part];
|
||||
|
||||
if ((value >= 256) && (value < 512)) {
|
||||
Model model = IDKType.instances[value - 256].method540();
|
||||
if (model != null) {
|
||||
models[modelCount++] = model;
|
||||
}
|
||||
}
|
||||
if (i1 >= 512) {
|
||||
Model class30_sub2_sub4_sub6_2 = ObjType.get(i1 - 512).getHeadModel(gender);
|
||||
if (class30_sub2_sub4_sub6_2 != null) {
|
||||
aclass30_sub2_sub4_sub6[k++] = class30_sub2_sub4_sub6_2;
|
||||
if (value >= 512) {
|
||||
Model model = ObjType.get(value - 512).getHeadModel(gender);
|
||||
if (model != null) {
|
||||
models[modelCount++] = model;
|
||||
}
|
||||
}
|
||||
}
|
||||
Model model = new Model(k, aclass30_sub2_sub4_sub6);
|
||||
Model model = new Model(modelCount, models);
|
||||
for (int j1 = 0; j1 < 5; j1++) {
|
||||
if (anIntArray1700[j1] != 0) {
|
||||
model.recolor(Game.anIntArrayArray1003[j1][0], Game.anIntArrayArray1003[j1][anIntArray1700[j1]]);
|
||||
if (colors[j1] != 0) {
|
||||
model.recolor(Game.designPartColor[j1][0], Game.designPartColor[j1][colors[j1]]);
|
||||
if (j1 == 1) {
|
||||
model.recolor(Game.anIntArray1204[0], Game.anIntArray1204[anIntArray1700[j1]]);
|
||||
model.recolor(Game.designHairColor[0], Game.designHairColor[colors[j1]]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user