/* Class383_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.nio.ByteBuffer;

import jagdx.IDirect3DDevice;
import jagdx.IDirect3DVolumeTexture;

public class Class383_Sub1 extends Class383 implements Interface29
{
    int anInt9837;
    int anInt9838;
    int anInt9839;
    
    public void method79() {
	super.method80();
    }
    
    long method4633() {
	return ((Class383_Sub1) this).aLong4302;
    }
    
    Class383_Sub1(Class151_Sub2_Sub1 class151_sub2_sub1, Class116 class116,
		  int i, int i_0_, int i_1_, boolean bool, byte[] is) {
	super(class151_sub2_sub1, class116, Class155.aClass155_1894, false,
	      i * i_0_ * i_1_);
	((Class383_Sub1) this).anInt9839 = i;
	((Class383_Sub1) this).anInt9838 = i_0_;
	((Class383_Sub1) this).anInt9837 = i_1_;
	((Class383_Sub1) this).aLong4302
	    = (IDirect3DDevice.CreateVolumeTexture
	       (((Class151_Sub2_Sub1)
		 ((Class383_Sub1) this).aClass151_Sub2_Sub1_4300).aLong11097,
		i, i_0_, i_1_, 1, 0,
		Class151_Sub2_Sub1.method10193(class116,
					       (((Class383_Sub1) this)
						.aClass155_4301)),
		1));
	((Class383_Sub1) this).aClass151_Sub2_Sub1_4300.method8242
	    (((Class383_Sub1) this).anInt9839
	     * ((Class383_Sub1) this).anInt9838
	     * (class116.anInt1453 * -1152771135));
	ByteBuffer bytebuffer
	    = ((Class383_Sub1) this).aClass151_Sub2_Sub1_4300.aByteBuffer9026;
	bytebuffer.clear();
	bytebuffer.put(is);
	IDirect3DVolumeTexture.Upload(((Class383_Sub1) this).aLong4302, 0, 0,
				      0, 0, ((Class383_Sub1) this).anInt9839,
				      ((Class383_Sub1) this).anInt9838,
				      ((Class383_Sub1) this).anInt9837,
				      (((Class383_Sub1) this).anInt9839
				       * (class116.anInt1453 * -1152771135)),
				      0,
				      (((Class383_Sub1) this)
				       .aClass151_Sub2_Sub1_4300.aLong8955));
    }
    
    public void method283(Class313 class313) {
	super.method283(class313);
    }
    
    public void method80() {
	super.method80();
    }
    
    public void method286(Class313 class313) {
	super.method283(class313);
    }
    
    public void method284() {
	((Class383_Sub1) this).aClass151_Sub2_Sub1_4300.method10189(this);
    }
    
    public void method288() {
	((Class383_Sub1) this).aClass151_Sub2_Sub1_4300.method10189(this);
    }
    
    public void method81() {
	super.method80();
    }
    
    public void method285() {
	((Class383_Sub1) this).aClass151_Sub2_Sub1_4300.method10189(this);
    }
    
    public void method287(Class313 class313) {
	super.method283(class313);
    }
    
    public void method240() {
	((Class383_Sub1) this).aClass151_Sub2_Sub1_4300.method10189(this);
    }
    
    long method4637() {
	return ((Class383_Sub1) this).aLong4302;
    }
}
