/* Class159_Sub2_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import jaggl.OpenGL;

public class Class159_Sub2_Sub1 extends Class159_Sub2 {
	Class84_Sub3 aClass84_Sub3_10463;
	Class145_Sub1 aClass145_Sub1_10464;
	static int[] anIntArray10465 = new int[4];

	int method16688() {
		return (((Class145_Sub1) ((Class159_Sub2_Sub1) this).aClass145_Sub1_10464).anInt10264);
	}

	int method16689() {
		return (((Class145_Sub1) ((Class159_Sub2_Sub1) this).aClass145_Sub1_10464).anInt10264);
	}

	int method16690() {
		return (((Class145_Sub1) ((Class159_Sub2_Sub1) this).aClass145_Sub1_10464).anInt10264);
	}

	boolean method16691(Class145_Sub1 class145_sub1, Class145_Sub1 class145_sub1_0_, float f) {
		boolean bool = true;
		Class171_Sub1_Sub3 class171_sub1_sub3 = (((Class84_Sub3) ((Class159_Sub2_Sub1) this).aClass84_Sub3_10463).aClass171_Sub1_Sub3_9475);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method1911(anIntArray10465);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method1917();
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15543();
		OpenGL.glMatrixMode(5889);
		OpenGL.glLoadIdentity();
		OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0);
		OpenGL.glMatrixMode(5888);
		OpenGL.glLoadIdentity();
		OpenGL.glPushAttrib(2048);
		OpenGL.glViewport(0, 0, ((Class145_Sub1) (((Class159_Sub2_Sub1) this).aClass145_Sub1_10464)).anInt10264, (((Class145_Sub1) ((Class159_Sub2_Sub1) this).aClass145_Sub1_10464).anInt10264));
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15449(false);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15489(false);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15484(false);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15451(false);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15393(-2);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15439(1);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15446(0.0F, 0.0F, 0.0F, f);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15443(34165, 34165);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15440(class145_sub1_0_);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15439(0);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15467(1);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15440(class145_sub1);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method1895(class171_sub1_sub3, (byte) 74);
		for (int i = 0; i < 6; i++) {
			int i_1_ = 34069 + i;
			class171_sub1_sub3.method14732(0, ((Class159_Sub2_Sub1) this).aClass145_Sub1_10464.method16480(i_1_, 0));
			class171_sub1_sub3.method16684(0);
			if (class171_sub1_sub3.method14731()) {
				OpenGL.glBegin(7);
				switch (i_1_) {
				case 34074:
					OpenGL.glTexCoord3i(65534, 65534, -65535);
					OpenGL.glMultiTexCoord3i(33985, 65534, 65534, -65535);
					OpenGL.glVertex2f(0.0F, 0.0F);
					OpenGL.glTexCoord3i(-65534, 65534, -65535);
					OpenGL.glMultiTexCoord3i(33985, -65534, 65534, -65535);
					OpenGL.glVertex2f(1.0F, 0.0F);
					OpenGL.glTexCoord3i(-65534, -65534, -65535);
					OpenGL.glMultiTexCoord3i(33985, -65534, -65534, -65535);
					OpenGL.glVertex2f(1.0F, 1.0F);
					OpenGL.glTexCoord3i(65534, -65534, -65535);
					OpenGL.glMultiTexCoord3i(33985, 65534, -65534, -65535);
					OpenGL.glVertex2f(0.0F, 1.0F);
					break;
				case 34070:
					OpenGL.glTexCoord3i(-65535, 65534, -65534);
					OpenGL.glMultiTexCoord3i(33985, -65535, 65534, -65534);
					OpenGL.glVertex2f(0.0F, 0.0F);
					OpenGL.glTexCoord3i(-65535, 65534, 65534);
					OpenGL.glMultiTexCoord3i(33985, -65535, 65534, 65534);
					OpenGL.glVertex2f(1.0F, 0.0F);
					OpenGL.glTexCoord3i(-65535, -65534, 65534);
					OpenGL.glMultiTexCoord3i(33985, -65535, -65534, 65534);
					OpenGL.glVertex2f(1.0F, 1.0F);
					OpenGL.glTexCoord3i(-65535, -65534, -65534);
					OpenGL.glMultiTexCoord3i(33985, -65535, -65534, -65534);
					OpenGL.glVertex2f(0.0F, 1.0F);
					break;
				case 34073:
					OpenGL.glTexCoord3i(-65534, 65534, 65535);
					OpenGL.glMultiTexCoord3i(33985, -65534, 65534, 65535);
					OpenGL.glVertex2f(0.0F, 0.0F);
					OpenGL.glTexCoord3i(65534, 65534, 65535);
					OpenGL.glMultiTexCoord3i(33985, 65534, 65534, 65535);
					OpenGL.glVertex2f(1.0F, 0.0F);
					OpenGL.glTexCoord3i(65534, -65534, 65535);
					OpenGL.glMultiTexCoord3i(33985, 65534, -65534, 65535);
					OpenGL.glVertex2f(1.0F, 1.0F);
					OpenGL.glTexCoord3i(-65534, -65534, 65535);
					OpenGL.glMultiTexCoord3i(33985, -65534, -65534, 65535);
					OpenGL.glVertex2f(0.0F, 1.0F);
					break;
				case 34069:
					OpenGL.glTexCoord3i(65535, 65534, 65534);
					OpenGL.glMultiTexCoord3i(33985, 65535, 65534, 65534);
					OpenGL.glVertex2f(0.0F, 0.0F);
					OpenGL.glTexCoord3i(65535, 65534, -65534);
					OpenGL.glMultiTexCoord3i(33985, 65535, 65534, -65534);
					OpenGL.glVertex2f(1.0F, 0.0F);
					OpenGL.glTexCoord3i(65535, -65534, -65534);
					OpenGL.glMultiTexCoord3i(33985, 65535, -65534, -65534);
					OpenGL.glVertex2f(1.0F, 1.0F);
					OpenGL.glTexCoord3i(65535, -65534, 65534);
					OpenGL.glMultiTexCoord3i(33985, 65535, -65534, 65534);
					OpenGL.glVertex2f(0.0F, 1.0F);
					break;
				case 34072:
					OpenGL.glTexCoord3i(-65534, -65535, 65534);
					OpenGL.glMultiTexCoord3i(33985, -65534, -65535, 65534);
					OpenGL.glVertex2f(0.0F, 0.0F);
					OpenGL.glTexCoord3i(65534, -65535, 65534);
					OpenGL.glMultiTexCoord3i(33985, 65534, -65535, 65534);
					OpenGL.glVertex2f(1.0F, 0.0F);
					OpenGL.glTexCoord3i(65534, -65535, -65534);
					OpenGL.glMultiTexCoord3i(33985, 65534, -65535, -65534);
					OpenGL.glVertex2f(1.0F, 1.0F);
					OpenGL.glTexCoord3i(-65534, -65535, -65534);
					OpenGL.glMultiTexCoord3i(33985, -65534, -65535, -65534);
					OpenGL.glVertex2f(0.0F, 1.0F);
					break;
				case 34071:
					OpenGL.glTexCoord3i(-65534, 65535, -65534);
					OpenGL.glMultiTexCoord3i(33985, -65534, 65535, -65534);
					OpenGL.glVertex2f(0.0F, 0.0F);
					OpenGL.glTexCoord3i(65534, 65535, -65534);
					OpenGL.glMultiTexCoord3i(33985, 65534, 65535, -65534);
					OpenGL.glVertex2f(1.0F, 0.0F);
					OpenGL.glTexCoord3i(65534, 65535, 65534);
					OpenGL.glMultiTexCoord3i(33985, 65534, 65535, 65534);
					OpenGL.glVertex2f(1.0F, 1.0F);
					OpenGL.glTexCoord3i(-65534, 65535, 65534);
					OpenGL.glMultiTexCoord3i(33985, -65534, 65535, 65534);
					OpenGL.glVertex2f(0.0F, 1.0F);
					break;
				}
				OpenGL.glEnd();
			} else {
				bool = false;
				break;
			}
		}
		class171_sub1_sub3.method14732(0, null);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method1896(class171_sub1_sub3, -45271581);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15439(1);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15440(null);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15443(8448, 8448);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15439(0);
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method15440(null);
		OpenGL.glPopAttrib();
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463.method1907(anIntArray10465[0], anIntArray10465[1], anIntArray10465[2], anIntArray10465[3]);
		if (bool && !((Class84_Sub3) (((Class159_Sub2_Sub1) this).aClass84_Sub3_10463)).aBool9412)
			((Class159_Sub2_Sub1) this).aClass145_Sub1_10464.method3341();
		return bool;
	}

	Class145_Sub1 method15375() {
		return ((Class159_Sub2_Sub1) this).aClass145_Sub1_10464;
	}

	int method16692() {
		return (((Class145_Sub1) ((Class159_Sub2_Sub1) this).aClass145_Sub1_10464).anInt10264);
	}

	Class145_Sub1 method15376() {
		return ((Class159_Sub2_Sub1) this).aClass145_Sub1_10464;
	}

	Class159_Sub2_Sub1(Class84_Sub3 class84_sub3, int i) {
		((Class159_Sub2_Sub1) this).aClass84_Sub3_10463 = class84_sub3;
		((Class159_Sub2_Sub1) this).aClass145_Sub1_10464 = new Class145_Sub1(class84_sub3, Class172.aClass172_2145, Class96.aClass96_1386, i);
	}
}
