; shark (2009)
; prototype by ekoz
; ekoz@free.fr
views
{
	view0
	{
		name=Outside
		elt0
		{
			type=static
			x=330				
			y=15	
			z=-1
			width=590
			height=293
			image=shark_compteurh.tga
		}   
		elt1
		{
			type=static
			x=310				
			y=35	
			z=0
			width=590
			height=293
			image=shark_compteur.tga
		}
		elt2
		{
			type=angular
			x=101
			y=135
			z=0
			width=19
			height=60
			image=shark_needle.tga
			var=rpm
			min_value=0
			max_value=9000
			min_angle=140	
			max_angle=-140
			pivot_x=0
			pivot_y=-37
		}
		elt3
		{
			type=angular
			x=253
			y=113
			z=0
			width=12
			height=35
			image=shark_needle.tga
			var=velocity
			min_value=0
			max_value=100
			min_angle=140	
			max_angle=-140
			pivot_x=0
			pivot_y=-25
		}    
		elt4
		{
			type=angular
			x=253
			y=120
			z=0
			width=19
			height=50
			image=shark_needle.tga
			var=velocity_wc
			min_value=0
			max_value=100
			min_angle=140	
			max_angle=-140
			pivot_x=0
			pivot_y=-32
		}
		elt5
		{
			type=time
			x=700
			y=40
			var=laptime
		}
		elt6
		{
			type=time
			x=700
			y=20
			var=besttime
		}
		elt7
		{
			type=digital
			x=173
			y=49
			image=shark_digi-gear.tga
			src_char_wid=40
			src_char_hgt=61
			src_char_x0=0
			src_char_y0=0
			char_wid=11
			char_hgt=14
			char_dx=32
			var=gear
			factor=1
		}
		elt8
		{
			type=angular
			x=98
			y=-50
			width=38
			height=38
			image=shark_alert.tga
			var=rpm
			min_value=8000
			max_value=8000.1
			min_angle=0
			max_angle=180
			pivot_x=0
			pivot_y=60
			flash_duration=200
		}
		elt9
		{
			type=angular
			x=98
			y=-50
			width=38
			height=38
			image=shark_alert.tga
			var=rpm
			min_value=600
			max_value=601
			min_angle=180
			max_angle=0
			pivot_x=0
			pivot_y=60
		}
		elt10
		{
			type=digital
			x=241
			y=52
			image=shark_digi-kmh.tga
			src_char_wid=40
			src_char_hgt=61
			src_char_x=0
			src_char_y=0
			char_wid=8
			char_hgt=10
			char_dx=8
			digits=3
			var=velocity_wc
			factor=3.6
		}
		elt11
		{
			type=digital
			x=150
			y=26
			image=shark_digi-kmh.tga
			src_char_wid=40
			src_char_hgt=61
			src_char_x=0
			src_char_y=0
			char_wid=8
			char_hgt=10
			char_dx=8
			digits=6
			var=odometer
			factor=0.36
		}
		elt12
		{
			type=static
			x=310				
			y=35	
			z=0
			width=590
			height=293
			image=shark_compteurG.tga
		}
	}
	view1
	{    
		name=Inside
		elt0
		{
			type=angular
			x=0.355
			y=0.15
			z=0.565
			xa=19
			is3d=1
			; Size
			width=0.018
			height=0.055
			image=shark_needle.tga
			; Variable to measure
			var=rpm
			; Variable value range
			min_value=0
			max_value=9000
			; Angle range of rotation
			min_angle=140
			max_angle=-140
			; Pivot point
			pivot_x=0
			pivot_y=-0.025
		}
		elt1
		{
			type=angular
			x=0.250
			y=0.141
			z=0.560
			xa=19.5
			is3d=1
			; Size
			width=0.016
			height=0.038
			image=shark_needle.tga
			var=velocity_wc
			min_value=0
			max_value=100
			min_angle=140	
			max_angle=-140
			pivot_x=0
			pivot_y=-0.020
		}
		elt2
		{
			type=digital
			x=0.296
			y=0.098
			z=0.535
			xa=19.5
			is3d=1
			image=shark_digi-gear.tga
			src_char_wid=40
			src_char_hgt=61
			src_char_x0=0
			src_char_y0=0
			char_wid=0.01
			char_hgt=0.012
			char_dx=32
			var=gear
			factor=1
		}
		elt3
		{
			type=digital
			x=0.252
			y=0.097
			z=0.545
			xa=19.5
			is3d=1
			image=shark_digi-kmh.tga
			src_char_wid=40
			src_char_hgt=61
			src_char_x=0
			src_char_y=0
			char_wid=0.006
			char_hgt=0.009
			char_dx=0.006
			digits=3
			var=velocity_wc
			factor=3.6
		}
		elt4
		{
			type=angular
			x=0.358
			y=-0.005
			z=0.510
			xa=19.5
			is3d=1
			width=0.03
			height=0.03
			image=shark_alert.tga
			var=rpm
			min_value=600
			max_value=601
			min_angle=180
			max_angle=0
			pivot_x=0
			pivot_y=0.06
		}
		elt5
		{
			type=angular
			x=0.358
			y=-0.005
			z=0.510
			xa=19.5
			is3d=1
			width=0.03
			height=0.03
			image=shark_alert.tga
			var=rpm
			min_value=8000
			max_value=8000.1
			min_angle=0
			max_angle=180
			pivot_x=0
			pivot_y=0.06
			flash_duration=200
		}
	}
}