; タコメーター(Tachometer)
if = time<=13000
	; 昼用の計器
	DrawTexture = humvee_hud,  144, 21,  64,64,  256,  0, 128,128
	DrawTexture = humvee_hud,  168, 21,  16,64,  384,  0,  32,128, Throttle*220-110
Endif

if = time> 13000
	; 夜間用の計器
	DrawTexture = humvee_hud,  144, 21,  64,64,  256,128, 128,128
	DrawTexture = humvee_hud,  168, 21,  16,64,  416,  0,  32,128, Throttle*220-110
Endif

; 燃料(Fuel)
if = time<=13000
	; 昼用の計器
	DrawTexture = humvee_hud,  -207,   83, 32,32,  00,128, 64,64
	DrawTexture = humvee_hud,  -198.9, 82, 16,48,  64,160, 32,96, fuel*90-45
Endif

if = time> 13000
	; 夜間用の計器
	DrawTexture = humvee_hud,  -207,   83, 32,32,  00,192, 64,64
	DrawTexture = humvee_hud,  -193,   81, 16,48,  96,160, 32,96, fuel*65-83
Endif

; 燃料の低下を警告表示
If = low_fuel
	DrawTexture = hud, 40,-85, 16,16,  0,0,  32,32
	Color = 0xFFDF0408
	DrawString  = 56,-80, "%s key", KEY_GUI
EndIf

; インベントリ数を表示
If = inventory > 0
	Color = 0xCF1FFF1F
	DrawString = 120, -80, "Inventory [ %d ]", INVENTORY
Endif

; 色設定(Current Color)
Color = 0xFF58ffee

; 色設定(Current Color)
Color = 0xFF28d448
; 座標(Position)
DrawString = -205, 20, "X: %+.1f", pos_X
DrawString = -205, 30, "Y: %+.1f", pos_Y
DrawString = -205, 40, "Z: %+.1f", pos_Z
DrawString = -150, 20, "[%+.2f]",  motion_X
DrawString = -150, 30, "[%+.2f]",  motion_Y
DrawString = -150, 40, "[%+.2f]",  motion_Z

; 耐久値(HP)
; HPが20%を超えている場合は白(0xFFffffff)、HPが20%以下の場合は赤(0xFFDF0408)
Color = hp_rto>0.2? 0xFFffffff: 0xFFDF0408
DrawTexture = hud, 144, 95, 64,20, 128,64, 128,20
DrawString  = 150,    97, "%3.0f", HP_PER
DrawString  = 150+26, 97, "/ 100", HP_PER
DrawRect    = 146, 107, hp_rto*60, 6

Color = 0xFFffffff
If = free_look==1
	DrawString = -90, -80, "FREE LOOK"
Endif

If = cam_mode==1
	DrawString = 30, 50, "NIGHT VISION"
Endif
If = cam_mode==2
	DrawString = 30, 50, "THERMAL VISION"
Endif

If = auto_pilot==1
	DrawString = 50, 0, "Auto Pilot"
Endif
