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

public class Class220_Sub2 extends Class220 implements Interface45
{
    int anInt10243;
    int anInt10244;
    
    public int method28() {
	return ((Class220_Sub2) this).anInt10243;
    }
    
    Class220_Sub2(Class87_Sub2_Sub2 class87_sub2_sub2, int i, int i_0_,
		  int[] is, int i_1_, int i_2_) {
	super(class87_sub2_sub2, 34037, Class173.aClass173_2131,
	      Class90.aClass90_1040, i * i_0_, false);
	((Class220_Sub2) this).anInt10243 = i;
	((Class220_Sub2) this).anInt10244 = i_0_;
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glPixelStorei(3314, i_2_);
	OpenGL.glTexImage2Di(((Class220_Sub2) this).anInt2533, 0, 6408,
			     ((Class220_Sub2) this).anInt10243,
			     ((Class220_Sub2) this).anInt10244, 0, 32993,
			     (((Class87_Sub2_Sub2)
			       ((Class220_Sub2) this).aClass87_Sub2_Sub2_2531)
			      .anInt11010),
			     is, i_1_ * 4);
	OpenGL.glPixelStorei(3314, 0);
    }
    
    Class220_Sub2(Class87_Sub2_Sub2 class87_sub2_sub2, Class173 class173,
		  int i, int i_3_, byte[] is, int i_4_, int i_5_) {
	super(class87_sub2_sub2, 34037, class173, Class90.aClass90_1040,
	      i * i_3_, false);
	((Class220_Sub2) this).anInt10243 = i;
	((Class220_Sub2) this).anInt10244 = i_3_;
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glPixelStorei(3317, 1);
	OpenGL.glPixelStorei(3314, i_5_);
	OpenGL.glTexImage2Dub(((Class220_Sub2) this).anInt2533, 0,
			      (Class87_Sub2_Sub2.method17485
			       (((Class220_Sub2) this).aClass173_2526,
				((Class220_Sub2) this).aClass90_2535)),
			      i, i_3_, 0,
			      Class87_Sub2_Sub2.method17484(((Class220_Sub2)
							     this)
							    .aClass173_2526),
			      5121, is, i_4_);
	OpenGL.glPixelStorei(3314, 0);
	OpenGL.glPixelStorei(3317, 4);
    }
    
    Class220_Sub2(Class87_Sub2_Sub2 class87_sub2_sub2, Class173 class173,
		  int i, int i_6_, float[] fs, int i_7_, int i_8_) {
	super(class87_sub2_sub2, 34037, class173, Class90.aClass90_1045,
	      i * i_6_, false);
	((Class220_Sub2) this).anInt10243 = i;
	((Class220_Sub2) this).anInt10244 = i_6_;
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glPixelStorei(3314, i_8_);
	OpenGL.glTexImage2Df(((Class220_Sub2) this).anInt2533, 0,
			     (Class87_Sub2_Sub2.method17485
			      (((Class220_Sub2) this).aClass173_2526,
			       ((Class220_Sub2) this).aClass90_2535)),
			     i, i_6_, 0,
			     Class87_Sub2_Sub2.method17484(((Class220_Sub2)
							    this)
							   .aClass173_2526),
			     5126, fs, i_7_ * 4);
	OpenGL.glPixelStorei(3314, 0);
    }
    
    public void method256(int i, int i_9_, int i_10_, int i_11_, int[] is,
			  int i_12_) {
	int[] is_13_ = new int[(((Class220_Sub2) this).anInt10243
				* ((Class220_Sub2) this).anInt10244)];
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glGetTexImagei(((Class220_Sub2) this).anInt2533, 0, 32993, 5121,
			      is_13_, 0);
	for (int i_14_ = 0; i_14_ < i_11_; i_14_++)
	    System.arraycopy(is_13_,
			     ((i_9_ + (i_11_ - 1) - i_14_)
			      * ((Class220_Sub2) this).anInt10243),
			     is, i_12_ + i_14_ * i_10_, i_10_);
    }
    
    public int method26() {
	return ((Class220_Sub2) this).anInt10244;
    }
    
    public Interface5 method325(int i) {
	return new Class227(this, i);
    }
    
    public void method254(int i, int i_15_, int i_16_, int i_17_, byte[] is,
			  Class173 class173, int i_18_, int i_19_) {
	if (i_19_ == 0)
	    i_19_ = i_16_;
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glPixelStorei(3317, 1);
	if (i_19_ != i_16_)
	    OpenGL.glPixelStorei(3314, i_19_);
	OpenGL.glTexSubImage2Dub(((Class220_Sub2) this).anInt2533, 0, i, i_15_,
				 i_16_, i_17_,
				 Class87_Sub2_Sub2.method17484(class173), 5121,
				 is, i_18_);
	if (i_19_ != i_16_)
	    OpenGL.glPixelStorei(3314, 0);
	OpenGL.glPixelStorei(3317, 4);
    }
    
    public boolean method235() {
	return false;
    }
    
    public Interface5 method323(int i) {
	return new Class227(this, i);
    }
    
    public boolean method236() {
	return false;
    }
    
    public void method237(boolean bool, boolean bool_20_) {
	/* empty */
    }
    
    public void method238(int i, int i_21_, int i_22_, int i_23_, int[] is,
			  int i_24_, int i_25_) {
	if (i_25_ == 0)
	    i_25_ = i_22_;
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	if (i_22_ != i_25_)
	    OpenGL.glPixelStorei(3314, i_25_);
	OpenGL.glTexSubImage2Di(((Class220_Sub2) this).anInt2533, 0, i, i_21_,
				i_22_, i_23_, 32993,
				((Class87_Sub2_Sub2)
				 (((Class220_Sub2) this)
				  .aClass87_Sub2_Sub2_2531)).anInt11010,
				is, i_24_);
	if (i_22_ != i_25_)
	    OpenGL.glPixelStorei(3314, 0);
    }
    
    public void method239(int i, int i_26_, int i_27_, int i_28_, byte[] is,
			  Class173 class173, int i_29_, int i_30_) {
	if (i_30_ == 0)
	    i_30_ = i_27_;
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glPixelStorei(3317, 1);
	if (i_30_ != i_27_)
	    OpenGL.glPixelStorei(3314, i_30_);
	OpenGL.glTexSubImage2Dub(((Class220_Sub2) this).anInt2533, 0, i, i_26_,
				 i_27_, i_28_,
				 Class87_Sub2_Sub2.method17484(class173), 5121,
				 is, i_29_);
	if (i_30_ != i_27_)
	    OpenGL.glPixelStorei(3314, 0);
	OpenGL.glPixelStorei(3317, 4);
    }
    
    public void method23() {
	super.method23();
    }
    
    public Interface5 method328(int i) {
	return new Class227(this, i);
    }
    
    public boolean method242() {
	return super.method242();
    }
    
    public void method319() {
	super.method319();
    }
    
    public void method318(Class369 class369) {
	super.method318(class369);
    }
    
    public int method127() {
	return ((Class220_Sub2) this).anInt10243;
    }
    
    public float method255(float f) {
	return f;
    }
    
    public Interface5 method324(int i) {
	return new Class227(this, i);
    }
    
    public float method243(float f) {
	return f;
    }
    
    public int method137() {
	return ((Class220_Sub2) this).anInt10243;
    }
    
    public int method139() {
	return ((Class220_Sub2) this).anInt10244;
    }
    
    public float method234(float f) {
	return f;
    }
    
    public int method151() {
	return ((Class220_Sub2) this).anInt10243;
    }
    
    public int method245() {
	return ((Class220_Sub2) this).anInt10244;
    }
    
    public float method248(float f) {
	return f;
    }
    
    public float method244(float f) {
	return f;
    }
    
    public float method250(float f) {
	return f;
    }
    
    public void method24() {
	super.method23();
    }
    
    public boolean method260() {
	return false;
    }
    
    public Interface5 method326(int i) {
	return new Class227(this, i);
    }
    
    public void method240(int i, int i_31_, int i_32_, int i_33_, int[] is,
			  int i_34_, int i_35_) {
	if (i_35_ == 0)
	    i_35_ = i_32_;
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	if (i_32_ != i_35_)
	    OpenGL.glPixelStorei(3314, i_35_);
	OpenGL.glTexSubImage2Di(((Class220_Sub2) this).anInt2533, 0, i, i_31_,
				i_32_, i_33_, 32993,
				((Class87_Sub2_Sub2)
				 (((Class220_Sub2) this)
				  .aClass87_Sub2_Sub2_2531)).anInt11010,
				is, i_34_);
	if (i_32_ != i_35_)
	    OpenGL.glPixelStorei(3314, 0);
    }
    
    public void method247(int i, int i_36_, int i_37_, int i_38_, int[] is,
			  int i_39_) {
	int[] is_40_ = new int[(((Class220_Sub2) this).anInt10243
				* ((Class220_Sub2) this).anInt10244)];
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glGetTexImagei(((Class220_Sub2) this).anInt2533, 0, 32993, 5121,
			      is_40_, 0);
	for (int i_41_ = 0; i_41_ < i_38_; i_41_++)
	    System.arraycopy(is_40_,
			     ((i_36_ + (i_38_ - 1) - i_41_)
			      * ((Class220_Sub2) this).anInt10243),
			     is, i_39_ + i_41_ * i_37_, i_37_);
    }
    
    public void method251(int i, int i_42_, int i_43_, int i_44_, int[] is,
			  int i_45_) {
	int[] is_46_ = new int[(((Class220_Sub2) this).anInt10243
				* ((Class220_Sub2) this).anInt10244)];
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glGetTexImagei(((Class220_Sub2) this).anInt2533, 0, 32993, 5121,
			      is_46_, 0);
	for (int i_47_ = 0; i_47_ < i_44_; i_47_++)
	    System.arraycopy(is_46_,
			     ((i_42_ + (i_44_ - 1) - i_47_)
			      * ((Class220_Sub2) this).anInt10243),
			     is, i_45_ + i_47_ * i_43_, i_43_);
    }
    
    public void method261(int i, int i_48_, int i_49_, int i_50_, int[] is,
			  int i_51_) {
	int[] is_52_ = new int[(((Class220_Sub2) this).anInt10243
				* ((Class220_Sub2) this).anInt10244)];
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glGetTexImagei(((Class220_Sub2) this).anInt2533, 0, 32993, 5121,
			      is_52_, 0);
	for (int i_53_ = 0; i_53_ < i_50_; i_53_++)
	    System.arraycopy(is_52_,
			     ((i_48_ + (i_50_ - 1) - i_53_)
			      * ((Class220_Sub2) this).anInt10243),
			     is, i_51_ + i_53_ * i_49_, i_49_);
    }
    
    public float method253() {
	return 1.0F;
    }
    
    public void method257(int i, int i_54_, int i_55_, int i_56_, int[] is,
			  int i_57_) {
	int[] is_58_ = new int[(((Class220_Sub2) this).anInt10243
				* ((Class220_Sub2) this).anInt10244)];
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glGetTexImagei(((Class220_Sub2) this).anInt2533, 0, 32993, 5121,
			      is_58_, 0);
	for (int i_59_ = 0; i_59_ < i_56_; i_59_++)
	    System.arraycopy(is_58_,
			     ((i_54_ + (i_56_ - 1) - i_59_)
			      * ((Class220_Sub2) this).anInt10243),
			     is, i_57_ + i_59_ * i_55_, i_55_);
    }
    
    public void method258(int i, int i_60_, int i_61_, int i_62_, int[] is,
			  int i_63_) {
	int[] is_64_ = new int[(((Class220_Sub2) this).anInt10243
				* ((Class220_Sub2) this).anInt10244)];
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glGetTexImagei(((Class220_Sub2) this).anInt2533, 0, 32993, 5121,
			      is_64_, 0);
	for (int i_65_ = 0; i_65_ < i_62_; i_65_++)
	    System.arraycopy(is_64_,
			     ((i_60_ + (i_62_ - 1) - i_65_)
			      * ((Class220_Sub2) this).anInt10243),
			     is, i_63_ + i_65_ * i_61_, i_61_);
    }
    
    public Interface5 method327(int i) {
	return new Class227(this, i);
    }
    
    public float method262() {
	return 1.0F;
    }
    
    public float method259() {
	return 1.0F;
    }
    
    public float method249() {
	return 1.0F;
    }
    
    Class220_Sub2(Class87_Sub2_Sub2 class87_sub2_sub2, Class173 class173,
		  Class90 class90, int i, int i_66_) {
	super(class87_sub2_sub2, 34037, class173, class90, i * i_66_, false);
	((Class220_Sub2) this).anInt10243 = i;
	((Class220_Sub2) this).anInt10244 = i_66_;
	((Class220_Sub2) this).aClass87_Sub2_Sub2_2531.method15448(this);
	OpenGL.glTexImage2Dub
	    (((Class220_Sub2) this).anInt2533, 0,
	     Class87_Sub2_Sub2.method17485((((Class220_Sub2) this)
					    .aClass173_2526),
					   (((Class220_Sub2) this)
					    .aClass90_2535)),
	     i, i_66_, 0,
	     Class87_Sub2_Sub2
		 .method17484(((Class220_Sub2) this).aClass173_2526),
	     Class87_Sub2_Sub2
		 .method17479(((Class220_Sub2) this).aClass90_2535),
	     null, 0);
    }
    
    public float method264() {
	return 1.0F;
    }
    
    public void method320() {
	super.method319();
    }
    
    public void method252(boolean bool, boolean bool_67_) {
	/* empty */
    }
    
    public void method317(Class369 class369) {
	super.method318(class369);
    }
    
    public float method246(float f) {
	return f;
    }
    
    public float method241() {
	return 1.0F;
    }
    
    public float method233() {
	return 1.0F;
    }
    
    public float method263() {
	return 1.0F;
    }
    
    public void method321(Class369 class369) {
	super.method318(class369);
    }
    
    public Interface5 method322(int i) {
	return new Class227(this, i);
    }
    
    public boolean method265() {
	return super.method242();
    }
}
