#include "ini.h"

#define BD_VERSION			0.80
#define BD_VSTRING2(x) #x
#define BD_VSTRING(x) BD_VSTRING2(x)
#define BD_STRING_VERSION  BD_VSTRING(BD_VERSION)

#define BD_MAX_TEAM_SKINS 3 // + 1 = total alowed skins available per team.
#define BD_MAX_TEAM 4
#define BD_SENSOR_RANGE 100
#define BD_ALARM_TIME 5
#define BD_BONUS_RADII 400

//base flags
#define BD_WALL_HURT 1
#define BD_WALL_HEAL 2

//base defence hud defin'
#define STAT_TEAM1_SCORE		16
#define STAT_TEAM2_SCORE		17
#define STAT_TEAM3_SCORE		18
#define STAT_TEAM4_SCORE		19
#define STAT_TEAM_PIC			20
#define STAT_WALL				21
#define STAT_WARNING			22

// LR these bonuses do not include the frag scored for the
// kill which, where relevent, caused the bonus to be given
enum {
	BD_IN_BASE_BONUS,				// 1  
	BD_HEALER_PROTECT_BONUS,	// 1  
	BD_WALL_PROTECT,			// 2
	BD_HARDCORE_BONUS,			// 1
	BD_HEALER_KILL,				// 1
	BD_BUTTON_PROTECT,			// 4
	BD_PRIORITY_BONUS,			// 2
	BD_WALL_BONUS,				// 3
	CHANGEOVER_BONUS				// 10
};

//extern int bonus[];

extern IniFile ini_file;
//extern int WallStatus;
int TeamBase;

//float next_score_time;
#define SCORE_TIME 0.5

/*	// dmflags->value flags
#define	DF_NO_HEALTH		1
#define	DF_NO_ITEMS			2
#define	DF_WEAPONS_STAY		4
#define	DF_NO_FALLING		8
#define	DF_INSTANT_ITEMS	16
#define	DF_SAME_LEVEL		32
#define DF_SKINTEAMS		64
#define DF_MODELTEAMS		128
#define DF_NO_FRIENDLY_FIRE	256
#define	DF_SPAWN_FARTHEST	512
#define DF_FORCE_RESPAWN	1024
#define DF_NO_ARMOR			2048
#define DF_ALLOW_EXIT		4096
#define DF_INFINITE_AMMO	8192
#define DF_QUAD_DROP		16384
#define DF_FIXED_FOV		32768		*/
#define DF_FORCEJOIN		131072	
#define DF_ARMOR_PROTECT	262144
#define DF_FAST_SWITCH      524288


