MSVC fixes.
This commit is contained in:
parent
ab0964384e
commit
9f8c4f9600
3 changed files with 10 additions and 6 deletions
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include <fg_props.hxx>
|
||||
#include "fg_props.hxx"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue