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

public class Class373_Sub1 extends Class373
{
    Class118 aClass118_9363;
    Class243_Sub41_Sub1 aClass243_Sub41_Sub1_9364;
    Class243_Sub41_Sub1 aClass243_Sub41_Sub1_9365;
    Class243_Sub41_Sub1 aClass243_Sub41_Sub1_9366;
    Class243_Sub41_Sub1 aClass243_Sub41_Sub1_9367;
    Class243_Sub41_Sub1 aClass243_Sub41_Sub1_9368;
    Class243_Sub41_Sub1 aClass243_Sub41_Sub1_9369;
    Class37 aClass37_9370;
    Class243_Sub41_Sub1 aClass243_Sub41_Sub1_9371;
    Class118 aClass118_9372;
    Class276 aClass276_9373 = new Class276();
    Class118 aClass118_9374;
    
    public void method6967(boolean bool) {
	((Class373_Sub1) this).aClass37_9370.method1075
	    (bool ? ((Class373_Sub1) this).aClass118_9374
	     : ((Class373_Sub1) this).aClass118_9372);
	((Class373_Sub1) this).aClass37_9370.method1164();
	method15798(bool, false, -1175557876);
	aClass87_Sub2_5564.method15418();
    }
    
    boolean method15797(byte i) throws Exception_Sub2 {
	((Class373_Sub1) this).aClass37_9370
	    = aClass87_Sub2_5564.method15303("Particle");
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9366
	    = ((Class373_Sub1) this).aClass37_9370.method1098("WVPMatrix",
							      (byte) -116);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9364
	    = ((Class373_Sub1) this).aClass37_9370.method1098("DiffuseSampler",
							      (byte) -102);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9367
	    = ((Class373_Sub1) this).aClass37_9370.method1098("TexCoordMatrix",
							      (byte) -19);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9368
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogPlane", (byte) -51);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9369
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogColour", (byte) -120);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9365
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogAmount", (byte) -49);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9371
	    = ((Class373_Sub1) this).aClass37_9370.method1098("DiffuseColour",
							      (byte) -59);
	((Class373_Sub1) this).aClass118_9372
	    = ((Class373_Sub1) this).aClass37_9370.method1135("NoFog",
							      710124231);
	((Class373_Sub1) this).aClass118_9363
	    = ((Class373_Sub1) this).aClass37_9370.method1135("ParticleFog",
							      65207641);
	((Class373_Sub1) this).aClass118_9374
	    = ((Class373_Sub1) this).aClass37_9370.method1135("BillboardFog",
							      -888728191);
	if (!((Class373_Sub1) this).aClass118_9372.method2985())
	    return false;
	if (!((Class373_Sub1) this).aClass118_9363.method2985())
	    return false;
	if (!((Class373_Sub1) this).aClass118_9374.method2985())
	    return false;
	return true;
    }
    
    public void method6960(Class276 class276) {
	((Class373_Sub1) this).aClass276_9373.method5455(class276);
	((Class373_Sub1) this).aClass276_9373
	    .method5537(aClass87_Sub2_5564.aClass276_9289);
    }
    
    public void method6961(int i, boolean bool) {
	((Class373_Sub1) this).aClass37_9370.method1075
	    (bool ? ((Class373_Sub1) this).aClass118_9363
	     : ((Class373_Sub1) this).aClass118_9372);
	((Class373_Sub1) this).aClass37_9370.method1164();
	method15798(bool, true, 836327521);
	aClass87_Sub2_5564.method15421(Class311.aClass311_4588, 0, 4 * i, 0,
				       i * 2);
    }
    
    public void method6962(boolean bool) {
	((Class373_Sub1) this).aClass37_9370.method1075
	    (bool ? ((Class373_Sub1) this).aClass118_9374
	     : ((Class373_Sub1) this).aClass118_9372);
	((Class373_Sub1) this).aClass37_9370.method1164();
	method15798(bool, false, 1969067486);
	aClass87_Sub2_5564.method15418();
    }
    
    void method15798(boolean bool, boolean bool_0_, int i) {
	((Class373_Sub1) this).aClass37_9370.method1089
	    (((Class373_Sub1) this).aClass243_Sub41_Sub1_9364, 0,
	     anInterface40_5565, 624564269);
	((Class373_Sub1) this).aClass37_9370.method1177
	    (((Class373_Sub1) this).aClass243_Sub41_Sub1_9366,
	     ((Class373_Sub1) this).aClass276_9373, -272875548);
	((Class373_Sub1) this).aClass37_9370.method1087
	    (((Class373_Sub1) this).aClass243_Sub41_Sub1_9367, aClass276_5570,
	     180039656);
	((Class373_Sub1) this).aClass37_9370.method1083
	    (((Class373_Sub1) this).aClass243_Sub41_Sub1_9371, anInt5567,
	     (byte) 55);
	if (bool) {
	    if (bool_0_)
		((Class373_Sub1) this).aClass37_9370.method1082
		    (((Class373_Sub1) this).aClass243_Sub41_Sub1_9368,
		     aClass260_5566.aFloat4037, aClass260_5566.aFloat4036,
		     aClass260_5566.aFloat4035, aClass260_5566.aFloat4038,
		     1881928587);
	    else
		((Class373_Sub1) this).aClass37_9370.method1079
		    (((Class373_Sub1) this).aClass243_Sub41_Sub1_9365,
		     Math.min(Math.max(aFloat5568, 0.0F), 1.0F), (byte) 0);
	    ((Class373_Sub1) this).aClass37_9370.method1068
		(((Class373_Sub1) this).aClass243_Sub41_Sub1_9369,
		 aClass275_5569.aFloat4140, aClass275_5569.aFloat4138,
		 aClass275_5569.aFloat4135, -1108002383);
	}
    }
    
    boolean method15799() throws Exception_Sub2 {
	((Class373_Sub1) this).aClass37_9370
	    = aClass87_Sub2_5564.method15303("Particle");
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9366
	    = ((Class373_Sub1) this).aClass37_9370.method1098("WVPMatrix",
							      (byte) -16);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9364
	    = ((Class373_Sub1) this).aClass37_9370.method1098("DiffuseSampler",
							      (byte) -65);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9367
	    = ((Class373_Sub1) this).aClass37_9370.method1098("TexCoordMatrix",
							      (byte) -57);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9368
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogPlane", (byte) -114);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9369
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogColour", (byte) -15);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9365
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogAmount", (byte) -128);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9371
	    = ((Class373_Sub1) this).aClass37_9370.method1098("DiffuseColour",
							      (byte) -56);
	((Class373_Sub1) this).aClass118_9372
	    = ((Class373_Sub1) this).aClass37_9370.method1135("NoFog",
							      1461227850);
	((Class373_Sub1) this).aClass118_9363
	    = ((Class373_Sub1) this).aClass37_9370.method1135("ParticleFog",
							      344279697);
	((Class373_Sub1) this).aClass118_9374
	    = ((Class373_Sub1) this).aClass37_9370.method1135("BillboardFog",
							      282484260);
	if (!((Class373_Sub1) this).aClass118_9372.method2985())
	    return false;
	if (!((Class373_Sub1) this).aClass118_9363.method2985())
	    return false;
	if (!((Class373_Sub1) this).aClass118_9374.method2985())
	    return false;
	return true;
    }
    
    public void method6964(int i, boolean bool) {
	((Class373_Sub1) this).aClass37_9370.method1075
	    (bool ? ((Class373_Sub1) this).aClass118_9363
	     : ((Class373_Sub1) this).aClass118_9372);
	((Class373_Sub1) this).aClass37_9370.method1164();
	method15798(bool, true, 1726158836);
	aClass87_Sub2_5564.method15421(Class311.aClass311_4588, 0, 4 * i, 0,
				       i * 2);
    }
    
    public void method6959(Class276 class276) {
	((Class373_Sub1) this).aClass276_9373.method5455(class276);
	((Class373_Sub1) this).aClass276_9373
	    .method5537(aClass87_Sub2_5564.aClass276_9289);
    }
    
    public void method6966(Class276 class276) {
	((Class373_Sub1) this).aClass276_9373.method5455(class276);
	((Class373_Sub1) this).aClass276_9373
	    .method5537(aClass87_Sub2_5564.aClass276_9289);
    }
    
    boolean method15800() throws Exception_Sub2 {
	((Class373_Sub1) this).aClass37_9370
	    = aClass87_Sub2_5564.method15303("Particle");
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9366
	    = ((Class373_Sub1) this).aClass37_9370.method1098("WVPMatrix",
							      (byte) -84);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9364
	    = ((Class373_Sub1) this).aClass37_9370.method1098("DiffuseSampler",
							      (byte) -82);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9367
	    = ((Class373_Sub1) this).aClass37_9370.method1098("TexCoordMatrix",
							      (byte) -71);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9368
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogPlane", (byte) -51);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9369
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogColour", (byte) -30);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9365
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogAmount", (byte) -2);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9371
	    = ((Class373_Sub1) this).aClass37_9370.method1098("DiffuseColour",
							      (byte) -88);
	((Class373_Sub1) this).aClass118_9372
	    = ((Class373_Sub1) this).aClass37_9370.method1135("NoFog",
							      1870197990);
	((Class373_Sub1) this).aClass118_9363
	    = ((Class373_Sub1) this).aClass37_9370.method1135("ParticleFog",
							      572153622);
	((Class373_Sub1) this).aClass118_9374
	    = ((Class373_Sub1) this).aClass37_9370.method1135("BillboardFog",
							      -1851958394);
	if (!((Class373_Sub1) this).aClass118_9372.method2985())
	    return false;
	if (!((Class373_Sub1) this).aClass118_9363.method2985())
	    return false;
	if (!((Class373_Sub1) this).aClass118_9374.method2985())
	    return false;
	return true;
    }
    
    public void method6965(boolean bool) {
	((Class373_Sub1) this).aClass37_9370.method1075
	    (bool ? ((Class373_Sub1) this).aClass118_9374
	     : ((Class373_Sub1) this).aClass118_9372);
	((Class373_Sub1) this).aClass37_9370.method1164();
	method15798(bool, false, 1775360676);
	aClass87_Sub2_5564.method15418();
    }
    
    public void method6969(Class276 class276) {
	((Class373_Sub1) this).aClass276_9373.method5455(class276);
	((Class373_Sub1) this).aClass276_9373
	    .method5537(aClass87_Sub2_5564.aClass276_9289);
    }
    
    public void method6963(Class276 class276) {
	((Class373_Sub1) this).aClass276_9373.method5455(class276);
	((Class373_Sub1) this).aClass276_9373
	    .method5537(aClass87_Sub2_5564.aClass276_9289);
    }
    
    boolean method15801() throws Exception_Sub2 {
	((Class373_Sub1) this).aClass37_9370
	    = aClass87_Sub2_5564.method15303("Particle");
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9366
	    = ((Class373_Sub1) this).aClass37_9370.method1098("WVPMatrix",
							      (byte) -82);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9364
	    = ((Class373_Sub1) this).aClass37_9370.method1098("DiffuseSampler",
							      (byte) -45);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9367
	    = ((Class373_Sub1) this).aClass37_9370.method1098("TexCoordMatrix",
							      (byte) -58);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9368
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogPlane", (byte) -24);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9369
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogColour", (byte) -19);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9365
	    = ((Class373_Sub1) this).aClass37_9370
		  .method1098("DistanceFogAmount", (byte) -65);
	((Class373_Sub1) this).aClass243_Sub41_Sub1_9371
	    = ((Class373_Sub1) this).aClass37_9370.method1098("DiffuseColour",
							      (byte) -91);
	((Class373_Sub1) this).aClass118_9372
	    = ((Class373_Sub1) this).aClass37_9370.method1135("NoFog",
							      -1115610749);
	((Class373_Sub1) this).aClass118_9363
	    = ((Class373_Sub1) this).aClass37_9370.method1135("ParticleFog",
							      -14497519);
	((Class373_Sub1) this).aClass118_9374
	    = ((Class373_Sub1) this).aClass37_9370.method1135("BillboardFog",
							      -1586461024);
	if (!((Class373_Sub1) this).aClass118_9372.method2985())
	    return false;
	if (!((Class373_Sub1) this).aClass118_9363.method2985())
	    return false;
	if (!((Class373_Sub1) this).aClass118_9374.method2985())
	    return false;
	return true;
    }
    
    public Class373_Sub1(Class87_Sub2 class87_sub2) throws Exception_Sub2 {
	super(class87_sub2);
	method15797((byte) 2);
    }
    
    public void method6968(int i, boolean bool) {
	((Class373_Sub1) this).aClass37_9370.method1075
	    (bool ? ((Class373_Sub1) this).aClass118_9363
	     : ((Class373_Sub1) this).aClass118_9372);
	((Class373_Sub1) this).aClass37_9370.method1164();
	method15798(bool, true, -1272149209);
	aClass87_Sub2_5564.method15421(Class311.aClass311_4588, 0, 4 * i, 0,
				       i * 2);
    }
    
    static final void method15802(Class479 class479, byte i) {
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = ((Class478_Sub1) ((Class479) class479).anInterface23_6452)
		  .method14362(185412234);
    }
}
