package jagex;

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

import java.awt.Canvas;

public class Class608 {
	public static Class106 method7253(Canvas canvas, MapSize mapSize, Interface5 interface5, Interface35 interface35, Interface36 interface36, Interface37 interface37, Class248 class248, int i) {
		Class106_Sub3_Sub2 class106_sub3_sub2;
		try {
			Class106_Sub3.method9692();
			Class597.method7040(-1773529160).method421("jaggl", (byte) 22);
			Class213.method3073(canvas, (byte) 21);
			OpenGL opengl = new OpenGL();
			long l = opengl.init(canvas, 8, 8, 8, 24, 0, i);
			if (l == 0L)
				throw new RuntimeException("");
			Class106_Sub3_Sub2 class106_sub3_sub2_0_ = new Class106_Sub3_Sub2(opengl, canvas, l, mapSize, interface5, interface35, interface36, interface37, class248, i);
			class106_sub3_sub2_0_.method9580();
			class106_sub3_sub2 = class106_sub3_sub2_0_;
		} catch (RuntimeException runtimeexception) {
			throw runtimeexception;
		} catch (Throwable throwable) {
			throw new RuntimeException("");
		}
		return class106_sub3_sub2;
	}

	public static Class106 method7254(Canvas canvas, MapSize mapSize, Interface5 interface5, Interface35 interface35, Interface36 interface36, Interface37 interface37, Class248 class248, int i) {
		Class106_Sub3_Sub2 class106_sub3_sub2;
		try {
			Class106_Sub3.method9692();
			Class597.method7040(1644051400).method421("jaggl", (byte) 51);
			Class213.method3073(canvas, (byte) 30);
			OpenGL opengl = new OpenGL();
			long l = opengl.init(canvas, 8, 8, 8, 24, 0, i);
			if (l == 0L)
				throw new RuntimeException("");
			Class106_Sub3_Sub2 class106_sub3_sub2_1_ = new Class106_Sub3_Sub2(opengl, canvas, l, mapSize, interface5, interface35, interface36, interface37, class248, i);
			class106_sub3_sub2_1_.method9580();
			class106_sub3_sub2 = class106_sub3_sub2_1_;
		} catch (RuntimeException runtimeexception) {
			throw runtimeexception;
		} catch (Throwable throwable) {
			throw new RuntimeException("");
		}
		return class106_sub3_sub2;
	}

	public static Class106 method7255(Canvas canvas, MapSize mapSize, Interface5 interface5, Interface35 interface35, Interface36 interface36, Interface37 interface37, Class248 class248, int i) {
		Class106_Sub3_Sub2 class106_sub3_sub2;
		try {
			Class106_Sub3.method9692();
			Class597.method7040(-171068161).method421("jaggl", (byte) 15);
			Class213.method3073(canvas, (byte) 3);
			OpenGL opengl = new OpenGL();
			long l = opengl.init(canvas, 8, 8, 8, 24, 0, i);
			if (l == 0L)
				throw new RuntimeException("");
			Class106_Sub3_Sub2 class106_sub3_sub2_2_ = new Class106_Sub3_Sub2(opengl, canvas, l, mapSize, interface5, interface35, interface36, interface37, class248, i);
			class106_sub3_sub2_2_.method9580();
			class106_sub3_sub2 = class106_sub3_sub2_2_;
		} catch (RuntimeException runtimeexception) {
			throw runtimeexception;
		} catch (Throwable throwable) {
			throw new RuntimeException("");
		}
		return class106_sub3_sub2;
	}

	Class608() throws Throwable {
		throw new Error();
	}

	public static Class106 method7256(Canvas canvas, MapSize mapSize, Interface5 interface5, Interface35 interface35, Interface36 interface36, Interface37 interface37, Class248 class248, int i) {
		Class106_Sub3_Sub2 class106_sub3_sub2;
		try {
			Class106_Sub3.method9692();
			Class597.method7040(-425207945).method421("jaggl", (byte) 37);
			Class213.method3073(canvas, (byte) 31);
			OpenGL opengl = new OpenGL();
			long l = opengl.init(canvas, 8, 8, 8, 24, 0, i);
			if (l == 0L)
				throw new RuntimeException("");
			Class106_Sub3_Sub2 class106_sub3_sub2_3_ = new Class106_Sub3_Sub2(opengl, canvas, l, mapSize, interface5, interface35, interface36, interface37, class248, i);
			class106_sub3_sub2_3_.method9580();
			class106_sub3_sub2 = class106_sub3_sub2_3_;
		} catch (RuntimeException runtimeexception) {
			throw runtimeexception;
		} catch (Throwable throwable) {
			throw new RuntimeException("");
		}
		return class106_sub3_sub2;
	}

	public static Class106 method7257(Canvas canvas, MapSize mapSize, Interface5 interface5, Interface35 interface35, Interface36 interface36, Interface37 interface37, Class248 class248, int i) {
		Class106_Sub3_Sub2 class106_sub3_sub2;
		try {
			Class106_Sub3.method9692();
			Class597.method7040(1484173258).method421("jaggl", (byte) 124);
			Class213.method3073(canvas, (byte) -117);
			OpenGL opengl = new OpenGL();
			long l = opengl.init(canvas, 8, 8, 8, 24, 0, i);
			if (l == 0L)
				throw new RuntimeException("");
			Class106_Sub3_Sub2 class106_sub3_sub2_4_ = new Class106_Sub3_Sub2(opengl, canvas, l, mapSize, interface5, interface35, interface36, interface37, class248, i);
			class106_sub3_sub2_4_.method9580();
			class106_sub3_sub2 = class106_sub3_sub2_4_;
		} catch (RuntimeException runtimeexception) {
			throw runtimeexception;
		} catch (Throwable throwable) {
			throw new RuntimeException("");
		}
		return class106_sub3_sub2;
	}
}
