1
0
Fork 0

Fixes by Charlie Hotchkiss.

This commit is contained in:
curt 1998-09-08 21:40:08 +00:00
parent 8496a5242b
commit dbcfeaf766
2 changed files with 21 additions and 8 deletions

View file

@ -37,7 +37,6 @@
# define _G_NO_EXTERN_TEMPLATES
#endif
#include <string.h>
#include <string>
#include <Include/fg_constants.h>
@ -186,7 +185,8 @@ fgPoint3d geod_to_cart(double geod[3]) {
// initialization routines. If you are adding a subsystem to flight
// gear, its initialization call should located in this routine.
// Returns non-zero if a problem encountered.
int fgInitSubsystems( void ) {
int fgInitSubsystems( void )
{
fgFLIGHT *f;
fgLIGHT *l;
fgTIME *t;
@ -392,6 +392,9 @@ int fgInitSubsystems( void ) {
// $Log$
// Revision 1.36 1998/09/08 21:40:08 curt
// Fixes by Charlie Hotchkiss.
//
// Revision 1.35 1998/08/29 13:09:26 curt
// Changes to event manager from Bernie Bright.
//

View file

@ -31,8 +31,15 @@
# error This library requires C++
#endif
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <string>
#include <string.h>
#ifdef NEEDNAMESPACESTD
using namespace std;
#endif
class fgOPTIONS {
public:
@ -50,8 +57,8 @@ public:
FG_FOG_NICEST = 2
};
const int FG_RADIUS_MIN = 1;
const int FG_RADIUS_MAX = 4;
static const int FG_RADIUS_MIN = 1;
static const int FG_RADIUS_MAX = 4;
private:
@ -175,6 +182,9 @@ extern fgOPTIONS current_options;
// $Log$
// Revision 1.17 1998/09/08 21:40:10 curt
// Fixes by Charlie Hotchkiss.
//
// Revision 1.16 1998/08/27 17:02:08 curt
// Contributions from Bernie Bright <bbright@c031.aone.net.au>
// - use strings for fg_root and airport_id and added methods to return