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

public class Class243_Sub11_Sub18 extends Class243_Sub11 implements Interface9
{
    int anInt11017;
    int anInt11018;
    Class87_Sub1 aClass87_Sub1_11019;
    int anInt11020;
    Class90 aClass90_11021;
    Class173 aClass173_11022;
    int anInt11023;
    static int[] anIntArray11024 = new int[1];
    
    public int method28() {
	return ((Class243_Sub11_Sub18) this).anInt11017;
    }
    
    public void method24() {
	if (((Class243_Sub11_Sub18) this).anInt11023 > 0) {
	    int[] is = new int[1];
	    is[0] = ((Class243_Sub11_Sub18) this).anInt11023;
	    OpenGL.glDeleteRenderbuffersEXT(1, is, 0);
	    ((Class243_Sub11_Sub18) this).anInt11023 = 0;
	}
    }
    
    public int method27() {
	return ((Class243_Sub11_Sub18) this).anInt11017;
    }
    
    public int method26() {
	return ((Class243_Sub11_Sub18) this).anInt11020;
    }
    
    public void method50(int i) {
	OpenGL.glFramebufferRenderbufferEXT(36160, i, 36161,
					    (((Class243_Sub11_Sub18) this)
					     .anInt11023));
    }
    
    public void method23() {
	if (((Class243_Sub11_Sub18) this).anInt11023 > 0) {
	    int[] is = new int[1];
	    is[0] = ((Class243_Sub11_Sub18) this).anInt11023;
	    OpenGL.glDeleteRenderbuffersEXT(1, is, 0);
	    ((Class243_Sub11_Sub18) this).anInt11023 = 0;
	}
    }
    
    Class243_Sub11_Sub18(Class87_Sub1 class87_sub1, Class173 class173,
			 Class90 class90, int i, int i_0_, int i_1_) {
	((Class243_Sub11_Sub18) this).aClass87_Sub1_11019 = class87_sub1;
	((Class243_Sub11_Sub18) this).anInt11017 = i;
	((Class243_Sub11_Sub18) this).anInt11020 = i_0_;
	((Class243_Sub11_Sub18) this).aClass173_11022 = class173;
	((Class243_Sub11_Sub18) this).aClass90_11021 = class90;
	OpenGL.glGenRenderbuffersEXT(1, anIntArray11024, 0);
	((Class243_Sub11_Sub18) this).anInt11023 = anIntArray11024[0];
	OpenGL.glBindRenderbufferEXT(36161,
				     ((Class243_Sub11_Sub18) this).anInt11023);
	OpenGL.glRenderbufferStorageMultisampleEXT
	    (36161, i_1_,
	     Class87_Sub1.method15041((((Class243_Sub11_Sub18) this)
				       .aClass173_11022),
				      (((Class243_Sub11_Sub18) this)
				       .aClass90_11021)),
	     ((Class243_Sub11_Sub18) this).anInt11017,
	     ((Class243_Sub11_Sub18) this).anInt11020);
	((Class243_Sub11_Sub18) this).anInt11018
	    = (((Class243_Sub11_Sub18) this).anInt11017
	       * ((Class243_Sub11_Sub18) this).anInt11020
	       * (((Class243_Sub11_Sub18) this).aClass173_11022.anInt2128
		  * 1741343981)
	       * (((Class243_Sub11_Sub18) this).aClass90_11021.anInt1047
		  * -2141494347));
    }
    
    public void finalize() throws Throwable {
	method17512();
	super.finalize();
    }
    
    public int method25() {
	return ((Class243_Sub11_Sub18) this).anInt11017;
    }
    
    public int method15() {
	return ((Class243_Sub11_Sub18) this).anInt11020;
    }
    
    public int method29() {
	return ((Class243_Sub11_Sub18) this).anInt11020;
    }
    
    public int method16() {
	return ((Class243_Sub11_Sub18) this).anInt11020;
    }
    
    Class243_Sub11_Sub18(Class87_Sub1 class87_sub1, Class173 class173,
			 Class90 class90, int i, int i_2_) {
	((Class243_Sub11_Sub18) this).aClass87_Sub1_11019 = class87_sub1;
	((Class243_Sub11_Sub18) this).anInt11017 = i;
	((Class243_Sub11_Sub18) this).anInt11020 = i_2_;
	((Class243_Sub11_Sub18) this).aClass173_11022 = class173;
	((Class243_Sub11_Sub18) this).aClass90_11021 = class90;
	OpenGL.glGenRenderbuffersEXT(1, anIntArray11024, 0);
	((Class243_Sub11_Sub18) this).anInt11023 = anIntArray11024[0];
	OpenGL.glBindRenderbufferEXT(36161,
				     ((Class243_Sub11_Sub18) this).anInt11023);
	OpenGL.glRenderbufferStorageEXT
	    (36161,
	     Class87_Sub1.method15041((((Class243_Sub11_Sub18) this)
				       .aClass173_11022),
				      (((Class243_Sub11_Sub18) this)
				       .aClass90_11021)),
	     ((Class243_Sub11_Sub18) this).anInt11017,
	     ((Class243_Sub11_Sub18) this).anInt11020);
	((Class243_Sub11_Sub18) this).anInt11018
	    = (((Class243_Sub11_Sub18) this).anInt11017
	       * ((Class243_Sub11_Sub18) this).anInt11020
	       * (((Class243_Sub11_Sub18) this).aClass173_11022.anInt2128
		  * 1741343981)
	       * (((Class243_Sub11_Sub18) this).aClass90_11021.anInt1047
		  * -2141494347));
    }
    
    public void method49(int i) {
	OpenGL.glFramebufferRenderbufferEXT(36160, i, 36161,
					    (((Class243_Sub11_Sub18) this)
					     .anInt11023));
    }
    
    void method17511() throws Throwable {
	method17512();
	super.finalize();
    }
    
    void method17512() {
	if (((Class243_Sub11_Sub18) this).anInt11023 > 0) {
	    ((Class243_Sub11_Sub18) this).aClass87_Sub1_11019.method15038
		(((Class243_Sub11_Sub18) this).anInt11023,
		 ((Class243_Sub11_Sub18) this).anInt11018);
	    ((Class243_Sub11_Sub18) this).anInt11023 = 0;
	}
    }
}
