1
0
Fork 0

MSVC fixes.

This commit is contained in:
curt 2002-04-11 16:35:37 +00:00
parent ab0964384e
commit 9f8c4f9600
3 changed files with 10 additions and 6 deletions

View file

@ -26,7 +26,7 @@
#include <simgear/compiler.h>
#include <fg_props.hxx>
#include "fg_props.hxx"
#ifdef HAVE_CONFIG_H
# include <config.h>

View file

@ -48,9 +48,11 @@ public:
// SPARC, which don't like misaligned
// data
static const int FG_MAX_ENGINES = 4;
static const int FG_MAX_WHEELS = 3;
static const int FG_MAX_TANKS = 2;
enum {
FG_MAX_ENGINES = 4,
FG_MAX_WHEELS = 3,
FG_MAX_TANKS = 2
};
// Positions
double longitude; // geodetic (radians)

View file

@ -41,8 +41,10 @@ public:
int version; // increment when data values change
static const int FG_MAX_ENGINES = 4;
static const int FG_MAX_WHEELS = 3;
enum {
FG_MAX_ENGINES = 4,
FG_MAX_WHEELS = 3
};
// Aero controls
double aileron; // -1 ... 1