Re: [Flightgear-devel] ILS/DME in HUD

2004-01-26 Thread Erik Hofman
Hof Markus wrote: Hi folks, now I was able to compile the new built in functions in cockpit.cxx: // Added by Markus Hof on 5. Jan 2004 float get_dme( void ) { static const SGPropertyNode * dme_node = gGetNode(/radios/dme/distance-nm); return dme_node-getFloatValue(); //return

Re: [Flightgear-devel] ILS/DME in HUD

2004-01-05 Thread Hof Markus
Hi folks, now I was able to compile the new built in functoins in cockpit.cxx: // Added by Markus Hof on 5. Jan 2004 float get_dme( void ) { static const SGPropertyNode * dme_node = gGetNode(/radios/dme/distance-nm); return dme_node-getFloatValue(); //return 3.69; } works fine,