/* Copyright Andy C. Deck 1999 All rights reserved. */    
import java.awt.Color;
import java.awt.Font;
import java.awt.TextField;
import java.awt.Button;
import java.util.Random;
import java.awt.Rectangle;
import java.awt.Polygon;

class Env
{
public static final Stroke strokes[] = { 
     new capgun(),  new crosshair(),
     new goober(),   new gunko(), new grass(), new hatch(),
     new line(), new nlegs(), new prop(), new ribbon(),
     new scallop(), new sine(), new snow(), new spindle(),
     new splatter(), new thornynail(), new tinsel(),
     new veil(),  new wrake(), new barcode()    
    }; 

    public static final byte INIT   = 0; 
    public static final byte FINISH = -1; 

    public static final byte CAPGUN = 0;
    public static final byte CROSSHAIR = 1;
    public static final byte GOOBER = 2;
    public static final byte GUNKO = 3;
    public static final byte GRASS = 4;
    public static final byte HATCH = 5;
    public static final byte LINE = 6;
    public static final byte NLEGS = 7;
    public static final byte PROP = 8;
    public static final byte RIBBON = 9;
    public static final byte SCALLOP = 10;
    public static final byte SINE = 11;
    public static final byte SNOW = 12;
    public static final byte SPINDLE = 13;
    public static final byte SPLAT = 14;
    public static final byte THORNY = 15;
    public static final byte TINSEL = 16;
    public static final byte VEIL = 17;
    public static final byte WRAKE = 18;
    public static final byte BARCODE = 19;
    public static final byte MAX_TOOL = (byte)strokes.length;

    public static final byte TEXT = 99;
    public static final byte UPDATE = 100; //(byte)(strokes.length+2);
    public static final byte NEWUSER = 101; //(byte)strokes.length;
    public static final byte DELUSER = 102; //(byte)(strokes.length+1);
    public static final byte PRINTANIM = 23; //(byte)(strokes.length+3);
    public static final byte REJECTION = 24; //(byte)(strokes.length+4);     
    public static final byte MAX_USERS = 10; 

   public static java.awt.Color[]  ctab = {
            Color.white, Color.red, Color.green,
            Color.blue, Color.pink, Color.orange,
            Color.black, Color.gray, Color.darkGray,
            Color.lightGray, Color.cyan, Color.yellow, Color.magenta }; 
	
	public static final Font font       = new Font("Helvetica",Font.BOLD,14);
	public static final Rectangle rect  = new Rectangle();
	public static final Random r        = new Random();
	//public static String host = "artcontext.com";
	public static String host = "199.35.154.41";
	public static int port = 7779;
	public static String size = "";
	public static String user = "";
	public static String users = "";
	public static String stop = "";
	public static String play = "";
	public static String reconnecting = "";
	public static String connecting = "";
	public static String tryreload = "";
	public static String disconnected = "";
	public static String overmax = "";
	public static String serverdown = "";
        public static String welcome = "Welcome";
}
