final void ZA(int i, float f, float f_15_, float f_16_, float f_17_,
		  float f_18_) {
	anInt7912++;
	boolean bool = (anInt8172 ^ 0xffffffff) != (i ^ 0xffffffff);
	if (bool || f != ((NativeToolkit) this).aFloat8174
	    || f_15_ != ((NativeToolkit) this).aFloat8186) {
	    anInt8172 = i;
	    ((NativeToolkit) this).aFloat8174 = f;
	    ((NativeToolkit) this).aFloat8186 = f_15_;
	    if (bool) {
		((NativeToolkit) this).aFloat8087
		    = (float) (anInt8172 & 0xff00) / 65280.0F;
		((NativeToolkit) this).aFloat8180
		    = (float) (0xff0000 & anInt8172) / 1.671168E7F;
		((NativeToolkit) this).aFloat8168
		    = (float) (0xff & anInt8172) / 255.0F;
		method3928(0);
	    }
	    ((NativeToolkit) this).aNativeInterface7924.setSunColour
		(((NativeToolkit) this).aFloat8180, ((NativeToolkit) this).aFloat8087,
		 ((NativeToolkit) this).aFloat8168, f, f_15_);
	    method3842(true);
	}
	if (aFloatArray8142[0] != f_16_ || aFloatArray8142[1] != f_17_
	    || aFloatArray8142[2] != f_18_) {
	    aFloatArray8142[2] = f_18_;
	    aFloatArray8142[1] = f_17_;
	    aFloatArray8142[0] = f_16_;
	    aFloatArray8140[2] = -f_18_;
	    aFloatArray8140[0] = -f_16_;
	    aFloatArray8140[1] = -f_17_;
	    float f_19_
		= (float) (1.0
			   / Math.sqrt((double) (f_17_ * f_17_ + f_16_ * f_16_
						 + f_18_ * f_18_)));
	    ((NativeToolkit) this).aFloatArray8170[1] = f_19_ * f_17_;
	    ((NativeToolkit) this).aFloatArray8170[2] = f_19_ * f_18_;
	    ((NativeToolkit) this).aFloatArray8170[0] = f_16_ * f_19_;
	    ((NativeToolkit) this).aFloatArray8102[1]
		= -((NativeToolkit) this).aFloatArray8170[1];
	    ((NativeToolkit) this).aFloatArray8102[2]
		= -((NativeToolkit) this).aFloatArray8170[2];
	    ((NativeToolkit) this).aFloatArray8102[0]
		= -((NativeToolkit) this).aFloatArray8170[0];
	    ((NativeToolkit) this).aNativeInterface7924.setSunDirection
		(((NativeToolkit) this).aFloatArray8170[0],
		 ((NativeToolkit) this).aFloatArray8170[1],
		 ((NativeToolkit) this).aFloatArray8170[2]);
	    method3892(0);
	    ((NativeToolkit) this).anInt8133 = (int) (f_16_ * 256.0F / f_17_);
	    ((NativeToolkit) this).anInt8114 = (int) (256.0F * f_18_ / f_17_);
	}
	method3884((byte) 101);
    }