#ifndef GILLODATA_H
#define GILLODATA_H

// data filenames definitions
#define MODEL_PATH		BR_DATADIR("/gillo")
#define TEX_PATH		BR_DATADIR("/gillo")

// textures
#define TEX_OBG			BR_DATADIR("/gillo/rulez.rgb")

#define TEX_OVERLAY		BR_DATADIR("/gillo/overlay.rgb")
#define TEX_MENU		BR_DATADIR("/gillo/menu.rgb")
#define TEX_MENU_SEL		BR_DATADIR("/gillo/menusel.rgb")
#define TEX_MENU_CV_OMNI_1		BR_DATADIR("/gillo/cv_omni_pic.rgb")
#define TEX_MENU_CV_OMNI_2		BR_DATADIR("/gillo/cv_omni_pic_2.rgb")
#define TEX_MENU_CV_FOUR_1		BR_DATADIR("/gillo/cv_four_pic.rgb")
#define TEX_MENU_CV_FOUR_2		BR_DATADIR("/gillo/cv_four_pic_2.rgb")
#define TEX_MENU_CV_OMNI_TEXT		BR_DATADIR("/gillo/cv_omni_text.rgb")
#define TEX_MENU_CV_FOUR_TEXT		BR_DATADIR("/gillo/cv_four_text.rgb")
#define TEX_MENU_CV_OK_BUTTON		BR_DATADIR("/gillo/cv_ok.rgb")
#define TEX_MENU_CV_LEFT_BUTTON		BR_DATADIR("/gillo/cv_arr_left.rgb")
#define TEX_MENU_CV_RIGHT_BUTTON	BR_DATADIR("/gillo/cv_arr_right.rgb")
#define TEX_MENU_CV_BACK		BR_DATADIR("/gillo/cv_back.rgb")

#define TEX_TIMER_BAR			BR_DATADIR("/gillo/timerbar.rgb")
#define TEX_POSSESSION_CURSOR	BR_DATADIR("/gillo/possessioncursor.rgb")
#define TEX_SCORE_BAR_RED		BR_DATADIR("/gillo/scorebarred.rgb")
#define TEX_SCORE_BAR_BLUE		BR_DATADIR("/gillo/scorebarblue.rgb")
#define TEX_GOAL_RED_SPLASH			BR_DATADIR("/gillo/goalredsplash.rgb")
#define TEX_GOAL_BLUE_SPLASH			BR_DATADIR("/gillo/goalbluesplash.rgb")
#define TEX_TIEGOAL_SPLASH			BR_DATADIR("/gillo/tiegoalsplash.rgb")
#define TEX_P1WINS_SPLASH		BR_DATADIR("/gillo/p1winssplash.rgb")
#define TEX_P2WINS_SPLASH		BR_DATADIR("/gillo/p2winssplash.rgb")
#define TEX_PARITY_SPLASH		BR_DATADIR("/gillo/paritysplash.rgb")
#define TEX_ATTRACT				BR_DATADIR("/gillo/attract.rgb")
#define TEX_REPULSE				BR_DATADIR("/gillo/repulse.rgb")

#define TEX_BALL		BR_DATADIR("/gillo/ball.rgb")
#define TEX_ODDBALL		BR_DATADIR("/gillo/oddball.rgb")
#define TEX_BALLEFFECT_RED		BR_DATADIR("/gillo/balleffectred.rgb")
#define TEX_BALLEFFECT_BLUE		BR_DATADIR("/gillo/balleffectblue.rgb")
#define TEX_GOALKEEPER	BR_DATADIR("/gillo/goalkeeper.rgb")
#define TEX_GOALKEEPERFUR	BR_DATADIR("/gillo/goalkeeperfur.rgb")
#define TEX_GOAL		BR_DATADIR("/gillo/goal.bmp")
#define TEX_GOALCENTER	BR_DATADIR("/gillo/goal_center.rgb")
#define TEX_GOALAREA	BR_DATADIR("/gillo/goal_area.rgb")
#define TEX_CAR_WHEEL		BR_DATADIR("/gillo/wheelstripes.rgb")
#define TEX_PWRUP_BALL_INFLATE		BR_DATADIR("/gillo/pbinflate.rgb")
#define TEX_PWRUP_BALL_ADD		BR_DATADIR("/gillo/pbadd.rgb")
#define TEX_PWRUP_GRAVITY_ROTATOR	BR_DATADIR("/gillo/pgrotator.rgb")
#define TEX_PWRUP_CHARGE_INVERTER	BR_DATADIR("/gillo/pcinvert.rgb")

// models
#define MDL_		?

// music
#define MOD_GAME1	BR_DATADIR("/gillo/game1.mod")
#define MOD_TRAINING	BR_DATADIR("/gillo/training.mod")
#define MOD_MENU	BR_DATADIR("/gillo/menu.mod")

// sounds
#define SND_BOING		BR_DATADIR("/gillo/boing.wav")
#define SND_GOAL		BR_DATADIR("/gillo/goal.wav")
#define SND_TIEGOAL		BR_DATADIR("/gillo/tiegoal.wav")
#define SND_END			BR_DATADIR("/gillo/end.wav")
#define SND_ENDTIE		BR_DATADIR("/gillo/endtie.wav")
#define SND_FIRE		BR_DATADIR("/gillo/zzap.wav")
#define SND_MENU_SEL	BR_DATADIR("/gillo/menusel.wav")
#define SND_PWRUP_CHARGE_INVERTER	BR_DATADIR("/gillo/pginvert.wav")
#define SND_PWRUP_GRAVITY_ROTATOR	BR_DATADIR("/gillo/pgrotator.wav")
#define SND_PWRUP_BALL_INFLATE		BR_DATADIR("/gillo/pbinflate.wav")
#define SND_PWRUP_BALL_DEFLATE		BR_DATADIR("/gillo/pbdeflate.wav")
#define SND_PWRUP_BALL_ADD		BR_DATADIR("/gillo/pbadd.wav")
#define SND_PWRUP_NEW		BR_DATADIR("/gillo/pwrupnew.wav")
#define SND_POWERSHOOT		BR_DATADIR("/gillo/powershoot.wav")

// devices
#define DEV_MIXER	"/dev/mixer" 

// states names definitions
#define STA_MAX_STATES	13

#define STA_BALL			 0
#define STA_GOAL			 1
#define STA_GOAL_CENTER			 2
#define STA_GOAL_AREA			 3
#define STA_PWRUP_BALL_INFLATE		 4
#define STA_GOALKEEPER			 5
/*#define STA_GOALKEEPERFUR		 6*/
#define STA_BALLEFFECT_RED		 6
#define STA_BALLEFFECT_BLUE		 7
#define STA_ODDBALL			 8
#define STA_PWRUP_BALL_ADD		 9
#define STA_PWRUP_GRAVITY_ROTATOR	10
#define STA_CAR_WHEEL			11
#define STA_PWRUP_CHARGE_INVERTER	12

// ode dimensions (better if 0.1 < dim < 1.0)
#define ODE_BALL_MASS		0.5
#define ODE_BALL_RADIUS		0.045
#define ODE_GOAL_DIMX		0.1
#define ODE_GOAL_DIMY		0.1
#define ODE_GOAL_DIMZ		15.0
#define ODE_GOAL_DISTANCE	1.6
#define ODE_CAR_MASS		5
#define ODE_CAR_DIMX		0.88
#define ODE_CAR_DIMY		1.76
#define ODE_CAR_DIMZ		0.34
#define ODE_WHEEL_MASS		1
#define ODE_WHEEL_RADIUS	0.54
#define ODE_WHEEL_LENGTH	0.45
#define ODE_WORLD_GRAVITY	-9.81
#define ODE_MAX_CONTACTS	1000
#define ODE_CONTACTS		4
#define ODE_PASSES			4
#define ODE_TIME_SCALE		10000
#define ODE_TIME_TSHOLD		0.01*ODE_PASSES

#define CAR_OMNICAR		0
#define CAR_FOURCAR		1

#endif
