void a(String paramString) {
try {
Class clazz = getClass();
InputStream inputStream = clazz.getResourceAsStream(paramString);
int j = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;// что это делает?
int k = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;
int m = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;
int n = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;
int i1 = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;
int i2 = inputStream.read() + inputStream.read() * 256;
inputStream.read();
inputStream.read();
short[] arrayOfShort = new short[3 * i2];
byte[] arrayOfByte2 = new byte[2 * i2];
byte[] arrayOfByte1 = new byte[3 * i2];
byte b;
for (b = 0; b < i2; b++) {
int i3 = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;
int i4 = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;
int i5 = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;
arrayOfShort[3 * b + 0] = (short)(i3 >> 4);
arrayOfShort[3 * b + 1] = (short)(i4 >> 4);
arrayOfShort[3 * b + 2] = (short)(i5 >> 4);
}
for (b = 0; b < i2; b++) {
int i3 = inputStream.read() + inputStream.read() * 256;
int i4 = inputStream.read() + inputStream.read() * 256;
i3 >>= 3;
i4 >>= 3;
if (i3 > 127)
i3 = 127;
if (i4 > 127)
i4 = 127;
arrayOfByte2[2 * b + 0] = (byte)i3;
arrayOfByte2[2 * b + 1] = (byte)i4;
}
if (i1 != 0)
for (b = 0; b < i2; b++) {
int i3 = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;
int i4 = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;
int i5 = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;
arrayOfByte1[3 * b + 0] = (byte)(i3 >> 7);
arrayOfByte1[3 * b + 1] = (byte)(i4 >> 7);
arrayOfByte1[3 * b + 2] = (byte)(i5 >> 7);
}
int i = inputStream.read() + inputStream.read() * 256 + inputStream.read() * 256 * 256 + inputStream.read() * 256 * 256 * 256;
int[] arrayOfInt1 = new int[i];
int[] arrayOfInt2 = new int[i / 3];
for (b = 0; b < i; b++)
arrayOfInt1[b] = inputStream.read() + inputStream.read() * 256;
for (b = 0; b < i / 3; b++)
arrayOfInt2[b] = 3;
this.b = new VertexBuffer();
this.c = new VertexArray(arrayOfShort.length / 3, 3, 2);
this.c.set(0, arrayOfShort.length / 3, arrayOfShort);
this.b.setPositions(this.c, 0.001F, null);
this.d = new VertexArray(arrayOfByte2.length / 2, 2, 1);
this.d.set(0, arrayOfByte2.length / 2, arrayOfByte2);
this.b.setTexCoords(0, this.d, 0.0078125F, null);
this.a = new TriangleStripArray(arrayOfInt1, arrayOfInt2);
this.e = new Appearance();
this.f = new CompositingMode();
this.f.setAlphaWriteEnable(false);
this.f.setBlending(68);
a(true);
this.e.setCompositingMode(this.f);
inputStream.close();
} catch (IOException iOException) {}
}
void a(Texture2D paramTexture2D) {
this.e.setTexture(0, paramTexture2D);
}
void a(boolean paramBoolean) {
this.f.setDepthTestEnable(paramBoolean);
this.f.setDepthWriteEnable(paramBoolean);
}
void a(Graphics3D paramGraphics3D, Transform paramTransform) {
paramGraphics3D.render(this.b, (IndexBuffer)this.a, this.e, paramTransform);
}
}