/* Class374_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public class Class374_Sub1 extends Class374
{
    int anInt9910;
    int anInt9911;
    int anInt9912;
    byte[] aByteArray9913;
    int anInt9914;
    int anInt9915;
    int anInt9916;
    int anInt9917;
    int anInt9918;
    
    void method4580() {
	((Class374_Sub1) this).anInt9911 = ((Class374_Sub1) this).anInt9918;
	((Class374_Sub1) this).anInt9915 >>= 4;
	if (((Class374_Sub1) this).anInt9915 < 0)
	    ((Class374_Sub1) this).anInt9915 = 0;
	else if (((Class374_Sub1) this).anInt9915 > 255)
	    ((Class374_Sub1) this).anInt9915 = 255;
	method8945(((Class374_Sub1) this).anInt9914++,
		   (byte) ((Class374_Sub1) this).anInt9915);
	((Class374_Sub1) this).anInt9915 = 0;
    }
    
    void method4587() {
	((Class374_Sub1) this).anInt9911 = ((Class374_Sub1) this).anInt9918;
	((Class374_Sub1) this).anInt9915 >>= 4;
	if (((Class374_Sub1) this).anInt9915 < 0)
	    ((Class374_Sub1) this).anInt9915 = 0;
	else if (((Class374_Sub1) this).anInt9915 > 255)
	    ((Class374_Sub1) this).anInt9915 = 255;
	method8945(((Class374_Sub1) this).anInt9914++,
		   (byte) ((Class374_Sub1) this).anInt9915);
	((Class374_Sub1) this).anInt9915 = 0;
    }
    
    void method4583() {
	((Class374_Sub1) this).anInt9914 = 0;
	((Class374_Sub1) this).anInt9915 = 0;
    }
    
    void method4579() {
	((Class374_Sub1) this).anInt9911 = ((Class374_Sub1) this).anInt9918;
	((Class374_Sub1) this).anInt9915 >>= 4;
	if (((Class374_Sub1) this).anInt9915 < 0)
	    ((Class374_Sub1) this).anInt9915 = 0;
	else if (((Class374_Sub1) this).anInt9915 > 255)
	    ((Class374_Sub1) this).anInt9915 = 255;
	method8945(((Class374_Sub1) this).anInt9914++,
		   (byte) ((Class374_Sub1) this).anInt9915);
	((Class374_Sub1) this).anInt9915 = 0;
    }
    
    void method8945(int i, byte i_0_) {
	((Class374_Sub1) this).aByteArray9913[i] = i_0_;
    }
    
    void method8946(int i, byte i_1_) {
	((Class374_Sub1) this).aByteArray9913[i] = i_1_;
    }
    
    void method4585() {
	((Class374_Sub1) this).anInt9911 = ((Class374_Sub1) this).anInt9918;
	((Class374_Sub1) this).anInt9915 >>= 4;
	if (((Class374_Sub1) this).anInt9915 < 0)
	    ((Class374_Sub1) this).anInt9915 = 0;
	else if (((Class374_Sub1) this).anInt9915 > 255)
	    ((Class374_Sub1) this).anInt9915 = 255;
	method8945(((Class374_Sub1) this).anInt9914++,
		   (byte) ((Class374_Sub1) this).anInt9915);
	((Class374_Sub1) this).anInt9915 = 0;
    }
    
    Class374_Sub1(int i, int i_2_, int i_3_, int i_4_, int i_5_, float f,
		  float f_6_, float f_7_) {
	super(i, i_2_, i_3_, i_4_, i_5_);
	((Class374_Sub1) this).anInt9916 = (int) (f_7_ * 4096.0F);
	((Class374_Sub1) this).anInt9912 = (int) (f_6_ * 4096.0F);
	((Class374_Sub1) this).anInt9911 = ((Class374_Sub1) this).anInt9918
	    = (int) (Math.pow(0.5, (double) -f) * 4096.0);
    }
    
    void method4592(int i, int i_8_) {
	if (i != 0) {
	    ((Class374_Sub1) this).anInt9910
		= (((Class374_Sub1) this).anInt9917
		   * ((Class374_Sub1) this).anInt9916) >> 12;
	    if (((Class374_Sub1) this).anInt9910 < 0)
		((Class374_Sub1) this).anInt9910 = 0;
	    else if (((Class374_Sub1) this).anInt9910 > 4096)
		((Class374_Sub1) this).anInt9910 = 4096;
	    ((Class374_Sub1) this).anInt9917
		= ((Class374_Sub1) this).anInt9912 - (i_8_ < 0 ? -i_8_ : i_8_);
	    ((Class374_Sub1) this).anInt9917
		= (((Class374_Sub1) this).anInt9917
		   * ((Class374_Sub1) this).anInt9917) >> 12;
	    ((Class374_Sub1) this).anInt9917
		= (((Class374_Sub1) this).anInt9917
		   * ((Class374_Sub1) this).anInt9910) >> 12;
	    ((Class374_Sub1) this).anInt9915
		+= (((Class374_Sub1) this).anInt9917
		    * ((Class374_Sub1) this).anInt9911) >> 12;
	    ((Class374_Sub1) this).anInt9911
		= (((Class374_Sub1) this).anInt9911
		   * ((Class374_Sub1) this).anInt9918) >> 12;
	} else {
	    ((Class374_Sub1) this).anInt9917
		= ((Class374_Sub1) this).anInt9912 - (i_8_ < 0 ? -i_8_ : i_8_);
	    ((Class374_Sub1) this).anInt9917
		= (((Class374_Sub1) this).anInt9917
		   * ((Class374_Sub1) this).anInt9917) >> 12;
	    ((Class374_Sub1) this).anInt9910 = 4096;
	    ((Class374_Sub1) this).anInt9915
		= ((Class374_Sub1) this).anInt9917;
	}
    }
    
    void method4588(int i, int i_9_) {
	if (i != 0) {
	    ((Class374_Sub1) this).anInt9910
		= (((Class374_Sub1) this).anInt9917
		   * ((Class374_Sub1) this).anInt9916) >> 12;
	    if (((Class374_Sub1) this).anInt9910 < 0)
		((Class374_Sub1) this).anInt9910 = 0;
	    else if (((Class374_Sub1) this).anInt9910 > 4096)
		((Class374_Sub1) this).anInt9910 = 4096;
	    ((Class374_Sub1) this).anInt9917
		= ((Class374_Sub1) this).anInt9912 - (i_9_ < 0 ? -i_9_ : i_9_);
	    ((Class374_Sub1) this).anInt9917
		= (((Class374_Sub1) this).anInt9917
		   * ((Class374_Sub1) this).anInt9917) >> 12;
	    ((Class374_Sub1) this).anInt9917
		= (((Class374_Sub1) this).anInt9917
		   * ((Class374_Sub1) this).anInt9910) >> 12;
	    ((Class374_Sub1) this).anInt9915
		+= (((Class374_Sub1) this).anInt9917
		    * ((Class374_Sub1) this).anInt9911) >> 12;
	    ((Class374_Sub1) this).anInt9911
		= (((Class374_Sub1) this).anInt9911
		   * ((Class374_Sub1) this).anInt9918) >> 12;
	} else {
	    ((Class374_Sub1) this).anInt9917
		= ((Class374_Sub1) this).anInt9912 - (i_9_ < 0 ? -i_9_ : i_9_);
	    ((Class374_Sub1) this).anInt9917
		= (((Class374_Sub1) this).anInt9917
		   * ((Class374_Sub1) this).anInt9917) >> 12;
	    ((Class374_Sub1) this).anInt9910 = 4096;
	    ((Class374_Sub1) this).anInt9915
		= ((Class374_Sub1) this).anInt9917;
	}
    }
    
    void method4593() {
	((Class374_Sub1) this).anInt9914 = 0;
	((Class374_Sub1) this).anInt9915 = 0;
    }
    
    void method4581() {
	((Class374_Sub1) this).anInt9914 = 0;
	((Class374_Sub1) this).anInt9915 = 0;
    }
    
    void method4595() {
	((Class374_Sub1) this).anInt9914 = 0;
	((Class374_Sub1) this).anInt9915 = 0;
    }
}
