spriteTypes = {

	textSpriteType = {
		name = "ToolTip"
		texturefile = "gfx\\interface\\tiles_dialog.tga"
		noOfFrames = 1
		norefcount = yes
	}

	corneredTileSpriteType = {
		name = "console_background"
		size= {x=32 y=32 }
		texturefile = "gfx\\interface\\small_tiles_dialog.dds"
		borderSize = { x=8 y=8 }
	}

	spriteType = {
		name = "GFX_leader_stats_icons"
		texturefile = "gfx\\interface\\leader_stats_icons.tga"
		noOfFrames = 4
		norefcount = yes
	}

	spriteType = {
		name = "cursor"
		texturefile = "gfx\\interface\\textcursor.tga"
		noOfFrames = 4
		norefcount = yes
	}

	spriteType = {
		name = "gfx_transp_black"
		texturefile = "gfx\\interface\\transp_black.tga"
		noOfFrames = 1
		norefcount = yes
	}

	spriteType = {
		name = "gfx_transparency"
		texturefile = "gfx\\interface\\transparency.tga"
		noOfFrames = 1
		norefcount = yes
	}

	corneredTileSpriteType = {
		name = "gfx_message_bg"
		size= {x=720 y=100 }		
		textureFile ="gfx\\interface\\transp_black.tga"
		borderSize = { x=8 y=8 }
	}

	
	
	spriteType = {
		name = "default_cursor"
		texturefile = "gfx\\interface\\cursor.tga"
		noOfFrames = 1
		norefcount = yes
	}

	spriteType = {
		name = "GFX_checkbox"
		texturefile = "gfx\\interface\\checkbox.tga"
		noOfFrames = 4
	}

	spriteType = {
		name = "GFX_checkbox_small"
		texturefile = "gfx\\interface\\checkbox_small.tga"
		noOfFrames = 2
	}



	maskedShieldType = {
		name = "GFX_thinshield"
		textureFile1 = "gfx\\interface\\shield_frame.tga"
		textureFile2 = "gfx\\interface\\shield_mask.tga"
		effectFile = "gfx\\FX\\maskedflag.fx"
	}

	maskedShieldType = {
		name = "GFX_minishield"
		textureFile1 = "gfx\\interface\\minishield.tga"
		textureFile2 = "gfx\\interface\\minimask.tga"
		effectFile = "gfx\\FX\\maskedflag.fx"
	}
	
	maskedShieldType = {
		name = "GFX_minishield_greydown"
		textureFile1 = "gfx\\interface\\minishield.tga"
		textureFile2 = "gfx\\interface\\minimask.tga"
		effectFile = "gfx\\FX\\maskedflag_greydown.fx"
	}

	maskedShieldType = {
		name = "GFX_largeshield"
		textureFile1 = "gfx\\interface\\largeshield_frame.tga"
		textureFile2 = "gfx\\interface\\largeshield_mask.tga"
		effectFile = "gfx\\FX\\maskedflag.fx"
	}


	textSpriteType = {
		name = "mini_button"
		texturefile = "gfx\\interface\\minibutton.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
	}

	textSpriteType = {
		name = "button_envoy"
		texturefile = "gfx\\interface\\button_envoy.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
	}

	textSpriteType = {
		name = "button_envoy_spy"
		texturefile = "gfx\\interface\\button_envoy_spy.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
	}

	textSpriteType = {
		name = "button_envoy_missionary"
		texturefile = "gfx\\interface\\button_envoy_missionary.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
	}

	textSpriteType = {
		name = "button_envoy_colonist"
		texturefile = "gfx\\interface\\button_envoy_colonist.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
	}

	textSpriteType = {
		name = "button_envoy_merchant"
		texturefile = "gfx\\interface\\button_envoy_merchant.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
	}


	spriteType = {
		name = "button_left"
		texturefile = "gfx\\interface\\button_left.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
	}

	spriteType = {
		name = "GFX_pause_bg"
		texturefile = "gfx\\interface\\pause_bg.tga"
		noOfFrames = 1
		norefcount = yes
	}

	spriteType = {
		name = "button_right"
		texturefile = "gfx\\interface\\button_right.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
	}

	textSpriteType = {
		name = "button_type_1"
		texturefile = "gfx\\interface\\button_type_1.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
		clicksound = click
	}

	textSpriteType = {
		name = "GFX_list_button"
		texturefile = "gfx\\interface\\list_button.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
	}

	#textSpriteType = {
	#	name = "GFX_list_check_button"
	#	texturefile = "gfx\\interface\\list_check_button.tga"
	#	noOfFrames = 4
	#	#effectFile = "gfx\\FX\\buttonstate.fx"
	#	#norefcount = yes
	#}

	spriteType = {
		name = "GFX_list_check_button"
		texturefile = "gfx\\interface\\list_check_button.tga"
		noOfFrames = 4
		#effectFile = "gfx\\FX\\buttonstate.fx"
		#norefcount = yes
	}

	textSpriteType = {
		name = "GFX_list_button_wide"
		texturefile = "gfx\\interface\\list_button_wide.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
	}

	textSpriteType = {
		name = "button_type_6"
		texturefile = "gfx\\interface\\button_type_6.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
		clicksound = click
	}
	
	textSpriteType = {
		name = "button_type_7"
		texturefile = "gfx\\interface\\button_type_7.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
		clicksound = click
	}

	textSpriteType = {
		name = "button_type_8"
		texturefile = "gfx\\interface\\button_type_8.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
		clicksound = click
	}

	textSpriteType = {
		name = "button_type_10"
		texturefile = "gfx\\interface\\button_type_10.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
		#transparencecheck = yes
		clicksound = click
	}

	textSpriteType = {
		name = "button_type_2"
		texturefile = "gfx\\interface\\button_type_2.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
		clicksound = click
	}

	textSpriteType = {
		name = "button_type_3"
		texturefile = "gfx\\interface\\button_type_3.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
		clicksound = click
	}

	textSpriteType = {
		name = "button_type_4"
		texturefile = "gfx\\interface\\button_type_4.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
		clicksound = click
	}

	spriteType = {
		name = "button_type_5"
		texturefile = "gfx\\interface\\button_type_5.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		norefcount = yes
		transparencecheck = yes
		clicksound = click
		
	}


	spriteType = {
		name = "button_type_5_notext"
		texturefile = "gfx\\interface\\button_type_5.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		clicksound = click
	}

	spriteType = {
		name = "GFX_event_bg"
		texturefile = "gfx\\interface\\event_bg.tga"
		noOfFrames = 1
		effectFile = "gfx\\FX\\buttonstate.fx"
		allwaystransparent = yes
	}

	spriteType = {
		name = "GFX_stars"
		texturefile = "gfx\\interface\\stars.tga"
		noOfFrames = 7
		norefcount = yes
	}


	#spriteType = {
	#	name = "GFX_stars_small"
	#	texturefile = "gfx\\interface\\stars_small.tga"
	#	noOfFrames = 7
	#	norefcount = yes
	#}


	spriteType = {
		name = "GFX_stars_small"
		texturefile = "gfx\\interface\\dots.tga"
		noOfFrames = 13
		norefcount = yes
	}


	spriteType = {
		name = "GFX_dots_offensive"
		texturefile = "gfx\\interface\\dots_offensive.tga"
		noOfFrames = 13
		norefcount = yes
	}


	spriteType = {
		name = "GFX_dots_defensive"
		texturefile = "gfx\\interface\\dots_defensive.tga"
		noOfFrames = 13
		norefcount = yes
	}

	
	
	
}

lightTypes= {


	lightType= 
	{
		name = "EnterLight"
		light = "DirectionalLight"

		diffuse = { 0.0 0.0 0.0 1.0}
		specular = { 0.0 0.0 0.0 1.0}
		ambient = { 1.0 1.0 1.0 1.0}

		direction = { 0 -0.5 -0.5 }
		attenuation = { 1.0 1.0 1.0 }

		falloff = 0
		range = 100000

	}
	
	lightType= 
	{
		name = "MapSetLight"
		light = "DirectionalLight"

		diffuse = { 1.4 1.3 1.2 1.0}
		specular = { 0.0 0.0 0.0 0.0}
		ambient = { 0.4 0.4 0.35 1.0}

		direction = { 0.0 -1.0 0.5 }
		attenuation = { 1.0 1.0 1.0 }

		falloff = 0
		range = 10000

	}
	
	lightType = {
		name = "CityLight"
		light = "DirectionalLight"

		diffuse  = { 1.0 1.0 1.0 1.0 }
		specular = { 1.0 1.0 1.0 1.0 }
		ambient	 = { 0.3 0.3 0.3 1.0 }

		direction   = { 0.8 -0.6 0.5 }
		attenuation = { 1.0 1.0 1.0 }

		falloff = 0
		range   = 500
	}

#######################################################################
################## 3 city-lights.. for randomization.   ###############
#######################################################################
	lightType = {
		name = "CityLight0"
		light = "DirectionalLight"
		diffuse  = { 0.8 0.8 0.5 1.0 }
		specular = { 1.0 1.0 1.0 1.0 }
		ambient	 = { 0.3 0.3 0.3 1.0 }
		direction   = { -0.5 -1.0 1.0 }
		attenuation = { 1.0 1.0 1.0 }
		falloff = 0
		range   = 500
	}
	lightType = {
		name = "CityLight1"
		light = "DirectionalLight"
		diffuse  = { 1.0 0.0 0.0 1.0 }
		specular = { 1.0 1.0 1.0 1.0 }
		ambient	 = { 0.5 0.5 0.5 1.0 }
		direction   = { 0.5 -1.0 1.0 }
		attenuation = { 1.0 1.0 1.0 }
		falloff = 0
		range   = 500
	}
	lightType = {
		name = "CityLight2"
		light = "DirectionalLight"
		diffuse  = { 0.5 0.5 0.0 1.0 }
		specular = { 1.0 1.0 1.0 1.0 }
		ambient	 = { 0.4 0.4 0.5 1.0 }
		direction   = { 0.0 -0.4 1.0 }
		attenuation = { 1.0 1.0 1.0 }
		falloff = 0
		range   = 500
	}
#######################################################################
}

objectTypes = {
	provinceType=
	{
		name = "Provinces"
	}
	provinceWaterType=
	{
		name = "ProvinceWater"
	}
	mapTextType = {
		name = "MapText"
	}
	
	arrowType = {
		name = "moveArrow"	
		#size = 0.06
		size = 0.8
		textureFile = "gfx\\test\\arrow_body.tga" ## testred.dds"
		#color = 0xff457a5a
		#colortwo = 0xff457a5b
		color = { 0.0 1.0 0.0 }
		colortwo = { 1.0 0.0 0.0 }
		endAt = 1.0f
		height = 0.0f
		type = 0
		heading = 1.0f
		bodytexture = "gfx\\test\\arrow_body.tga" ## testred.dds"
		effect = "gfx\\fx\\arrow.fx"
	}

	animatedmaptext = {
		name = "MessageMapText"
		speed = 0.005
		textblock = {
			text = "test!"
			color = { 1.0 1.0 0.0 }
			font = "MaptextFont"
			position = { x=0 y=40 }
			size = { x=256 y = 64  }
			format = centre
		}
	}

	animatedmaptext = {
		name = "ProvinceTaxText"
		speed = 0.005
		textblock = {
			text = "test!"
			color = { 1.0 1.0 0.0 }
			font = "MaptextFont"
			position = { x=0 y=40 }
			size = { x=256 y = 64  }
			format = centre
		}
	}

	animatedmaptext = {
		name = "ProvinceDirectTaxText"
		speed = 0.005
		textblock = {
			text = "test!"
			color = { 0.8 0.8 0.0 }
			font = "MaptextFont"
			position = { x=0 y=40 }
			size = { x=256 y = 64  }
			format = centre
		}
	}
	animatedmaptext = {
		name = "CombatLoss"
		speed = 0.005
		textblock = {
			text = "txt"
			color = { 1.0 0.0 0.0 }
			font = "MaptextFont"
			position = { x=0 y=40 }
			size = { x=256 y = 64  }
			format = centre
		}
	}
	
	animatedmaptext = {
		name = "siegeinfo"
		speed = 0.005
		textblock = {
			text = "txt"
			color = { 0.9 0.9 0.0 }
			font = "MaptextFont"
			position = { x=0 y=40 }
			size = { x=256 y = 64  }
			format = centre
		}
	}	
	###################################################33
	#Test graphics.. Remove when not used.. - Johan's
	###################################################33
	meshType = {
		name = "Plopp"	
		xfile = "gfx\\test\\plopp.x"

	}

	meshType = {
		name = "port"	
		xfile = "gfx\\test\\port.x"
	}

	meshType = {
		name = "Illegal"	
		xfile = "gfx\\test\\illegal_dummy.x"
	}

	meshType = {
		name = "Legal"	
		xfile = "gfx\\test\\legal_dummy.x"
	}
	meshType = {
		name = "Selection"	
		xfile = "gfx\\test\\ground.x"

	}
	###################################################33
	######end of test
	###################################################33
		
	
	flagType = { 
		name = "StandardFlag"
		size = { x=2 y=1.5 }
	}
	
	meshType = {
		name = "WaterPlane"	
		xfile = "gfx\\cityview\\objects\\common\\water.x"
		effectFile  = "gfx\\FX\\waterdot4.fx"
		effect = "Water"
		textureFile = "gfx\\cityview\\objects\\common\\water_color2.tga"
		textureFile = "gfx\\cityview\\objects\\common\\water_normal.tga"
	}

	meshType = {
		name = "WaterPlane2"	
		xfile = "gfx\\cityview\\objects\\common\\water.x"
		effectFile  = "gfx\\FX\\waterdot4.fx"
		effect = "Water2"
		textureFile = "gfx\\cityview\\objects\\common\\water_color2.tga"
		textureFile = "gfx\\cityview\\objects\\common\\water_normal.tga"
	}
}



bitmapfonts = {
	bitmapfont = {
		name = "ToolTip_Font"
		fontname = "garamond_16"
		color = 0xffffffff

		colorcodes = {
			W = { 255 255 255 }
			B = { 0 0 255 }
			G = { 0 255 0 }
			R = { 255 0 0 }
			b = { 0 0 0 }
			g = { 176 176 176 }
			Y = { 255 189 0 }
		}
	}

	bitmapfont = {
		name = "tahoma_60"
		fontname = "tahoma_60"
		color = 0xff333333
	}

	bitmapfont = {
		name = "AnimatedMapText"
		fontname = "tahoma_20_bold"
		color = 0xff7799ff
	}



	bitmapfont = {
		name = "Main_24"
		fontname = "garamond_24"
		color = 0xffffffff
	}

	bitmapfont = {
		name = "Main_24_black"
		fontname = "garamond_24"
		color = 0xff000000
	}

	bitmapfont = {
		name = "pie_headline_20"
		fontname = "garamond_24"
		color = 0xff000000
	}

	bitmapfont = {
		name = "messagelog"
		fontname = "garamond_16_bold"
		color = 0xffffff99
	}

	bitmapfont = {
		name = "Main_16"
		fontname = "garamond_16_bold"
		color = 0xffffffff
	}

	bitmapfont = {
		name = "Main_16_white_bold"
		fontname = "garamond_16_bold"
		color = 0xffffffff
	}

	bitmapfont = {
		name = "Main_16_black"
		fontname = "garamond_16_bold"
		color = 0xff000000
	}


	bitmapfont = {
		name = "Main_14"
		fontname = "garamond_14"
		color = 0xffffffff
	}
	bitmapfont = {
		name = "Main_14_plain"
		fontname = "garamond_14"
		color = 0xff000000
	}


	bitmapfont = {
		name = "Main_14_grey"
		fontname = "garamond_14"
		color = 0xffbbbbbb
	}

	bitmapfont = {
		name = "Main_16_plain"
		fontname = "garamond_16"
		color = 0xffffffff
	}
	bitmapfont = {
		name = "Main_14_black"
		fontname = "garamond_14_bold"
		color = 0xff000000
	}
	bitmapfont = {
		name = "Main_14_red"
		fontname = "garamond_14_bold"
		color = 0xffff0000
	}
	bitmapfont = {
		name = "Main_14_bold"
		fontname = "garamond_14_bold"
		color = 0xffffffff
	}
	bitmapfont = {
		name = "Main_14_orange"
		fontname = "garamond_14_bold"
		color = 0xffffbb00
	}



	bitmapfont = {
		name = "garamond_14"
		fontname = "garamond_14"
		color = 0xffffffff
	}
	bitmapfont = {
		name = "garamond_14_bold"
		fontname = "garamond_14_bold"
		color = 0xffffffff
	}

	bitmapfont = {
		name = "garamond_14_bold_orange"
		fontname = "garamond_14_bold"
		color = 0xffffc000
	}

	bitmapfont = {
		name = "ledger"
		fontname = "garamond_14"
		color = 0xff000000
	}

	bitmapfont = {
		name = "ledger_headline"
		fontname = "garamond_16_bold"
		color = 0xff000000
	}

##	bitmapfont = {
##		name = "messagelog"
##		fontname = "garamond_14_bold"
##		color = 0xffffff99
##	}


}


fonts = {
##	font = {
##		name = "ToolTip_Font"
##		fontname = "arial"
##		height = 12
##		charset = "ANSI"		
##		color = 0xffffffff
##	}
	
#	font = {
#		name = "MaptextFont"
#		fontname = "Arial Bold"
#		height = 18
#		charset = "ANSI"		
#		color = 0xffffffff
#	}


	font = {
		name = "FPS_Font"
		fontname = "Arial"
		height = 14
		charset = "ANSI"		
		color = 0xffaaffff
	}

	font = {
		name = "Loading_Font"
		fontname = "Garamond Bold"
		height = 32
		charset = "ANSI"		
		color = 0xffffffff
	}

#	font = {
#		name = "PauseFont"
#		fontname = "Arial"
#		height = 48
#		charset = "ANSI"		
#		color = 0xffffffff
#	}

	#font = {
	#	name = "Main_24"
	#	fontname = "garamond bold"
	#	height = 24
	#	charset = "ANSI"		
	#	color = 0xffffffff
	#}

	#font = {
	#	name = "Main_24_black"
	#	fontname = "garamond bold"
	#	height = 24
	#	charset = "ANSI"		
	#	color = 0xff000000
	#}

	#font = {
	#	name = "Main_16"
	#	fontname = "garamond bold"
	#	height = 16
	#	charset = "ANSI"		
	#	color = 0xffffffff
	#}


##	font = {
##		name = "Main_16_plain___"
##		fontname = "garamond"
##		height = 16
##		charset = "ANSI"		
##		color = 0xffffffff
##	}


#	font = {
#		name = "Main_16_red"
#		fontname = "garamond bold"
#		height = 16
#		charset = "ANSI"		
#		color = 0xffff0000
#	}

#	font = {
#		name = "Main_16_brown"
#		fontname = "garamond bold"
#		height = 16
#		charset = "ANSI"		
#		color = 0xffffcccc
#	}

#	font = {
#		name = "Main_16_black"
#		fontname = "garamond bold"
#		height = 16
#		charset = "ANSI"		
#		color = 0xff000000
#	}

#	font = {
#		name = "Main_16_white_bold"
#		fontname = "garamond bold"
#		height = 16
#		charset = "ANSI"		
#		color = 0xffffffff
#	}

##	font = {
##		name = "Main_14_black___"
##		fontname = "garamond bold"
##		height = 14
##		charset = "ANSI"		
##		color = 0xff000000
##	}

##	font = {
##		name = "Main_14_red___"
##		fontname = "garamond bold"
##		height = 14
##		charset = "ANSI"		
##		color = 0xffff0000
##	}

##	font = {
##		name = "Main_14_plain__"
##		fontname = "garamond"
##		height = 14
##		charset = "ANSI"		
##		color = 0xff000000
##	}


#	font = {
#		name = "messagelog"
#		fontname = "garamond bold"
#		height = 16
#		charset = "ANSI"		
#		color = 0xffffff99
#	}


	font = {
		name = "list"
		fontname = "arial bold"
		height = 14
		charset = "ANSI"		
		color = 0xffffffdd
	}

##	font = {
##		name = "Main_14___"
##		fontname = "garamond"
##		height = 14
##		charset = "ANSI"		
##		color = 0xffffffff
##	}

##	font = {
##		name = "Main_14_grey__"
##		fontname = "garamond"
##		height = 14
##		charset = "ANSI"		
##		color = 0xffbbbbbb
##	}

##	font = {
##		name = "Main_14_bold___"
##		fontname = "garamond bold"
##		height = 14
##		charset = "ANSI"		
##		color = 0xffffffff
##	}

##	font = {
##		name = "Main_14_orange___"
##		fontname = "garamond bold"
##		height = 14
##		charset = "ANSI"		
##		color = 0xffffbb00
##	}

#	font = {
#		name = "Main_48"
#		fontname = "garamond bold"
#		height = 48
#		charset = "ANSI"		
#		color = 0xffffffff
#	}

#	font = {
#		name = "Main_36"
#		fontname = "garamond bold"
#		height = 36
#		charset = "ANSI"		
#		color = 0xffffffff
#	}


	font = {
		name = "Micro"
		fontname = "arial"
		height = 13
		charset = "ANSI"		
		color = 0xff000000
	}

	font = {
		name = "Micro_white"
		fontname = "arial"
		height = 13
		charset = "ANSI"		
		color = 0xffffffff
	}

#	font = {
#		name = "ledger_headline"
#		fontname = "garamond bold"
#		height = 16
#		charset = "ANSI"		
#		color = 0xff000000
#	}

#	font = {
#		name = "pie_headline_20"
#		fontname = "garamond bold"
#		height = 20
#		charset = "ANSI"		
#		color = 0xff000000
#	}

#	font = {
#		name = "ledger"
#		fontname = "garamond"
#		height = 14
#		charset = "ANSI"		
#		color = 0xff000000
#	}
	
}
