/* Class325 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;

public class Class325
{
    public static final int anInt4830 = 15;
    public static final int anInt4831 = 32768;
    public static final int anInt4832 = 15;
    
    Class325() throws Throwable {
	throw new Error();
    }
    
    static final void method6267(Class479 class479, byte i) {
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = Class472.anInt6387 * 1747393353;
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = -1857401093 * Class473.anInt6389;
    }
    
    public static void method6268(int i, int i_0_, int i_1_, int i_2_) {
	i <<= 3;
	i_0_ <<= 3;
	i_1_ <<= 3;
	client.aFloat8228 = (float) i;
	client.aFloat8229 = (float) i_0_;
	if (5 == 1225671807 * Class182.anInt2191) {
	    Class10.anInt46 = i * 666609469;
	    Class520.anInt6831 = -2009255423 * i_0_;
	    Class120_Sub11.anInt9346 = -1100090551 * i_1_;
	}
	Class99_Sub2.method15274((byte) 91);
	client.aBool8236 = true;
    }
    
    public static final void method6269(int i, String string, Color color,
					Color color_3_, Color color_4_,
					int i_5_) {
	try {
	    Graphics graphics = Class631.aCanvas8104.getGraphics();
	    if (null == Class388.aFont5668)
		Class388.aFont5668 = new Font("Helvetica", 1, 13);
	    if (null == color)
		color = new Color(140, 17, 17);
	    if (null == color_3_)
		color_3_ = new Color(140, 17, 17);
	    if (color_4_ == null)
		color_4_ = new Color(255, 255, 255);
	    try {
		if (Class590.anImage7679 == null)
		    Class590.anImage7679
			= Class631.aCanvas8104.createImage((Class2.anInt17
							    * -1641316675),
							   (-837921869
							    * (Class14
							       .anInt111)));
		Graphics graphics_6_ = Class590.anImage7679.getGraphics();
		graphics_6_.setColor(Color.black);
		graphics_6_.fillRect(0, 0, Class2.anInt17 * -1641316675,
				     -837921869 * Class14.anInt111);
		int i_7_ = Class2.anInt17 * -1641316675 / 2 - 152;
		int i_8_ = Class14.anInt111 * -837921869 / 2 - 18;
		graphics_6_.setColor(color_3_);
		graphics_6_.drawRect(i_7_, i_8_, 303, 33);
		graphics_6_.setColor(color);
		graphics_6_.fillRect(i_7_ + 2, i_8_ + 2, i * 3, 30);
		graphics_6_.setColor(Color.black);
		graphics_6_.drawRect(i_7_ + 1, i_8_ + 1, 301, 31);
		graphics_6_.fillRect(i_7_ + 2 + i * 3, i_8_ + 2, 300 - i * 3,
				     30);
		graphics_6_.setFont(Class388.aFont5668);
		graphics_6_.setColor(color_4_);
		graphics_6_.drawString(string,
				       i_7_ + (304 - string.length() * 6) / 2,
				       i_8_ + 22);
		if (Class590.aString7656 != null) {
		    graphics_6_.setFont(Class388.aFont5668);
		    graphics_6_.setColor(color_4_);
		    graphics_6_.drawString(Class590.aString7656,
					   (Class2.anInt17 * -1641316675 / 2
					    - (Class590.aString7656.length()
					       * 6 / 2)),
					   (Class14.anInt111 * -837921869 / 2
					    - 26));
		}
		graphics.drawImage(Class590.anImage7679, 0, 0, null);
	    } catch (Exception exception) {
		graphics.setColor(Color.black);
		graphics.fillRect(0, 0, Class2.anInt17 * -1641316675,
				  -837921869 * Class14.anInt111);
		int i_9_ = -1641316675 * Class2.anInt17 / 2 - 152;
		int i_10_ = Class14.anInt111 * -837921869 / 2 - 18;
		graphics.setColor(color_3_);
		graphics.drawRect(i_9_, i_10_, 303, 33);
		graphics.setColor(color);
		graphics.fillRect(i_9_ + 2, 2 + i_10_, 3 * i, 30);
		graphics.setColor(Color.black);
		graphics.drawRect(1 + i_9_, 1 + i_10_, 301, 31);
		graphics.fillRect(2 + i_9_ + 3 * i, 2 + i_10_, 300 - i * 3,
				  30);
		graphics.setFont(Class388.aFont5668);
		graphics.setColor(color_4_);
		if (Class590.aString7656 != null) {
		    graphics.setFont(Class388.aFont5668);
		    graphics.setColor(color_4_);
		    graphics.drawString(Class590.aString7656,
					(Class2.anInt17 * -1641316675 / 2
					 - (Class590.aString7656.length() * 6
					    / 2)),
					(-837921869 * Class14.anInt111 / 2
					 - 26));
		}
		graphics.drawString(string,
				    i_9_ + (304 - string.length() * 6) / 2,
				    i_10_ + 22);
	    }
	} catch (Exception exception) {
	    Class631.aCanvas8104.repaint();
	}
    }
    
    static final void method6270(Class479 class479, int i) {
	int i_11_ = (((Class479) class479).anIntArray6456
		     [1798300503 * ((Class479) class479).anInt6458]);
	((Class479) class479).anInt6442 -= 1977707898;
	int i_12_ = (((Class479) class479).anIntArray6435
		     [((Class479) class479).anInt6442 * -117934955]);
	if (i_12_ < 0 || i_12_ >= ((Class479) class479).anIntArray6433[i_11_])
	    throw new RuntimeException();
	((Class479) class479).anIntArrayArray6441[i_11_][i_12_]
	    = (((Class479) class479).anIntArray6435
	       [((Class479) class479).anInt6442 * -117934955 + 1]);
    }
    
    static final void method6271(Class479 class479, byte i) {
	Class243_Sub7 class243_sub7 = Class612.aClass243_Sub7_7837;
	Class421_Sub12 class421_sub12
	    = Class612.aClass243_Sub7_7837.aClass421_Sub12_8667;
	int i_13_;
	if ((((Class479) class479).anIntArray6435
	     [(((Class479) class479).anInt6442 -= -1158629699) * -117934955])
	    == 1) {
	    if (i <= 0)
		return;
	    i_13_ = 1;
	} else
	    i_13_ = 0;
	class243_sub7.method14604(class421_sub12, i_13_, 126215893);
	Class272.method5338(156108876);
	client.aBool8140 = false;
    }
}
