/*
 * Created on 24.02.2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package de.farafin.snEADy.control.GaphixStuff;


import java.awt.Color;
import java.awt.event.KeyEvent;
import java.io.File;

import de.farafin.snEADy.communication.I_PlayFieldConstants;

/**
 * @author lars & roland
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public interface I_GraphixConstants{
    public static final char    C_NOTHING=0,
								C_WALL=I_PlayFieldConstants.WALL ,
							    C_FLOOR=I_PlayFieldConstants.FREE,
							    C_EXIT=I_PlayFieldConstants.EXIT,
							    C_WALL_S=1,
							    C_WALLCORNER_NW_CC=1,
							    C_WALLCORNER_NW_CV=2,
							    C_WALLCORNER_N=3,
							    C_WALLCORNER_NE_CC=4,
							    C_WALLCORNER_NE_CV=5,
							    C_WALLCORNER_E=6,
							    C_WALLCORNER_SE_CC=7,
							    C_WALLCORNER_SE_CV=8,
							    C_WALLCORNER_S=9,
							    C_WALLCORNER_SW_CC=10,
							    C_WALLCORNER_SW_CV=11,
							    C_WALLCORNER_W=12,
							    C_WALL_E=12,
							    C_PLAYERH_S=13,
							    C_PLAYERH01=13,
							    C_PLAYERH02=14,
							    C_PLAYERH03=15,
							    C_PLAYERH04=16,
							    C_PLAYERH05=17,
							    C_PLAYERH06=18,
							    C_PLAYERH07=19,
							    C_PLAYERH08=20,
							    C_PLAYERH09=21,
							    C_PLAYERH10=22,
							    C_PLAYERH_E=22,
							    C_EXITO=23,
							    C_PLAYER_S=I_PlayFieldConstants.PLAYER_0,
							    C_PLAYER01=I_PlayFieldConstants.PLAYER_0,
							    C_PLAYER02=I_PlayFieldConstants.PLAYER_1,
							    C_PLAYER03=I_PlayFieldConstants.PLAYER_2,
							    C_PLAYER04=I_PlayFieldConstants.PLAYER_3,
							    C_PLAYER05=I_PlayFieldConstants.PLAYER_4,
							    C_PLAYER06=I_PlayFieldConstants.PLAYER_5,
							    C_PLAYER07=I_PlayFieldConstants.PLAYER_6,
							    C_PLAYER08=I_PlayFieldConstants.PLAYER_7,
							    C_PLAYER09=I_PlayFieldConstants.PLAYER_8,
							    C_PLAYER10=I_PlayFieldConstants.PLAYER_9,
							    C_PLAYER_E=I_PlayFieldConstants.PLAYER_9,
							    C_GOODY_S=I_PlayFieldConstants.LENGTH,
							    C_GOODY_SPEED=I_PlayFieldConstants.SPEED,
							    C_GOODY_LENGTH=I_PlayFieldConstants.LENGTH,
							    C_GOODY_POINTS=I_PlayFieldConstants.SHORT,
							    C_GOODY_E=I_PlayFieldConstants.SHORT,
							    C_UNKNOWN=255,
								C_END=256;
	
    public static final char	M_BG=1,
								M_TABOPEN=2,
								M_TABCLOSE=3,
								M_FONTSERP8X14=4,
								M_VOLATILE_END=5,
								M_BUTTRUN=5,
								M_BUTTSTOP=6,
								M_BUTTQUIT=7,
								M_BUTTMIN=8,
								M_BUTTCREDITS=9,
								M_BUTTARENA=10,
								M_BUTTPLAYER=11,
								M_BUTTOPTIONS=12,
								M_BUTTRMPLAYER=13,
								S_BUTTLOAD=14,
								S_BUTTADD=15,
								S_BUTTOK=16,
								S_BUTTQUIT=17,
								S_BUTTMIN=18,
								S_VSCROLLBUTT=19,
								S_VSCROLL=20,
								S_ARENABG=21,
								S_PLAYERBG=22,
								S_OPTIONSBG=23,
								M_TEXTAREA=24,
								M_TGLBUTT=25,
								UIGRAPHIX_END=26;


    public static final int	F_NORMAL=0,
							F_INACTIVE=1,
							F_RED=2,
							F_GREEN=3,
							F_MARKED=4;

    public static final int ALLIG_LEFT=0,ALLIG_RIGHT=1;
   
    public static final int FIELDELEMSIZE=6;
    public static final int ARENAMAXSIZE=75;
    
    public static final int MONSTARTX=332,MONSTARTY=130;
    public static final int MAXFRAMECOUNT=50;
    
    public static final int
    humanPlayerKeyL[]={KeyEvent.VK_LEFT,	KeyEvent.VK_A, KeyEvent.VK_B, KeyEvent.VK_NUMPAD4},
    humanPlayerKeyU[]={KeyEvent.VK_UP,		KeyEvent.VK_W, KeyEvent.VK_H, KeyEvent.VK_NUMPAD8},
    humanPlayerKeyR[]={KeyEvent.VK_RIGHT,	KeyEvent.VK_D, KeyEvent.VK_M, KeyEvent.VK_NUMPAD6},
    humanPlayerKeyD[]={KeyEvent.VK_DOWN,	KeyEvent.VK_S, KeyEvent.VK_N, KeyEvent.VK_NUMPAD2};

	public static final Color COL_BLUE1=new Color(50,60,120);
	public static final Color COL_BLUE2=new Color(100,111,219);
	public static final Color COL_GREY1=new Color(119,117,120);

	public static final File dir_arena=new File("levels");
	public static final File dir_player=new File("player");
	
    public static final int MAXCOMMANDHIST=8;
    

    
    
}
