#include <vector> // STL vector
#include <deque> // STL double ended queue
+#include <simgear/constants.h>
+
#include <fg_typedefs.h>
-#include <fg_constants.h>
#include <Aircraft/aircraft.hxx>
#include <FDM/flight.hxx>
#include <Controls/controls.hxx>
#include <GUI/gui.h>
-#include <Math/mat3.h>
+
+#include "hud_opts.hxx"
FG_USING_STD(deque);
FG_USING_STD(vector);
+FG_USING_NAMESPACE(std);
+
+
+// some of Norman's crazy optimizations. :-)
#ifndef WIN32
typedef struct {
extern float get_vfc_tris_drawn ( void );
extern float get_vfc_tris_culled ( void );
extern float get_climb_rate ( void );
+extern float get_mach( void );
extern char *coord_format_lat(float);
extern char *coord_format_lon(float);
//extern char *coord_format_latlon(float latitude, float longitude); // cockpit.cxx
class fgText {
private:
float x, y;
- char msg[32];
+ char msg[64];
public:
fgText( float x = 0, float y = 0, char *c = NULL )
- : x(x), y(y) {strncpy(msg,c,32-1);}
+ : x(x), y(y) {strncpy(msg,c,64-1);}
fgText( const fgText & image )
: x(image.x), y(image.y) {strcpy(msg,image.msg);}
UINT minor_div;
UINT label_pos;
UINT scr_hole;
+ UINT minimal;
float vmax;
float vmin;
float factor;
int y,
UINT width,
UINT height,
+ UINT minimal = 0,
FLTFNPTR ptch_source = get_roll,
FLTFNPTR roll_source = get_pitch,
float span_units = 45.0,