#endif
#include <GL/glut.h>
-#include <XGL/xgl.h>
+#include <simgear/xgl/xgl.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <simgear/constants.h>
+#include <simgear/debug/logstream.hxx>
+#include <simgear/math/fg_random.h>
+#include <simgear/math/polar3d.hxx>
+
#include <Aircraft/aircraft.hxx>
-#include <Debug/logstream.hxx>
-#include <Include/fg_constants.h>
#include <Include/general.hxx>
#include <Main/options.hxx>
#include <Main/views.hxx>
-#include <Math/fg_random.h>
-#include <Math/mat3.h>
-#include <Math/polar3d.hxx>
#include <Scenery/scenery.hxx>
#include <Time/fg_timer.hxx>
#include <Time/fg_time.hxx>
float get_speed( void )
{
// Make an explicit function call.
- float speed = current_aircraft.fdm_state->get_V_equiv_kts()
+ float speed = current_aircraft.fdm_state->get_V_calibrated_kts()
* current_options.get_speed_up();
return( speed );
}
+float get_mach(void)
+{
+ float mach=current_aircraft.fdm_state->get_Mach_number();
+ return mach;
+}
+
float get_aoa( void )
{
float aoa = current_aircraft.fdm_state->get_Alpha() * RAD_TO_DEG;