Make it possible to show the DME in the HUD
This commit is contained in:
parent
4fb5e61162
commit
8c129e8470
1 changed files with 9 additions and 0 deletions
|
@ -276,6 +276,15 @@ float get_view_direction( void )
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Added by Markus Hof on 5. Jan 2004
|
||||||
|
float get_dme( void )
|
||||||
|
{
|
||||||
|
static const SGPropertyNode * dme_node =
|
||||||
|
fgGetNode("/radios/dme/distance-nm");
|
||||||
|
|
||||||
|
return dme_node->getFloatValue();
|
||||||
|
}
|
||||||
|
|
||||||
// $$$ begin - added, VS Renganathan 13 Oct 2K
|
// $$$ begin - added, VS Renganathan 13 Oct 2K
|
||||||
// #ifdef FIGHTER_HUD
|
// #ifdef FIGHTER_HUD
|
||||||
float get_Vx ( void )
|
float get_Vx ( void )
|
||||||
|
|
Loading…
Add table
Reference in a new issue