#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
+
#include <stdlib.h>
#include <string.h>
+
+#include <simgear/constants.h>
+#include <simgear/math/fg_random.h>
+#include <simgear/math/polar3d.hxx>
+
#include <Aircraft/aircraft.hxx>
-#include <Include/fg_constants.h>
-#include <Math/fg_random.h>
-#include <Math/mat3.h>
-#include <Math/polar3d.hxx>
#include <Scenery/scenery.hxx>
#include <Time/fg_timer.hxx>
#include <GUI/gui.h>
#include "hud.hxx"
+
+
//====================== Top of HudLadder Class =======================
HudLadder :: HudLadder( int x,
int y,
UINT width,
UINT height,
+ UINT mini,
FLTFNPTR ptch_source,
FLTFNPTR roll_source,
float span_units,
width_units = 45;
}
factor = (float)get_span() / (float) width_units;
+ minimal = mini;
}
HudLadder :: ~HudLadder()
glEnd();
#undef CENTER_DIAMOND_SIZE
+ if(minimal) {
+ glPopMatrix();
+ return;
+ }
+
if( div_units ) {
char TextLadder[8] ;
float label_length ;