**************************************************************************/
-#ifdef WIN32
+#include <config.h>
+
+#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <XGL/xgl.h>
#include <stdio.h>
-#ifdef __sun
+#ifdef HAVE_STDLIB_H
# include <stdlib.h>
-#else
+#endif
+#ifdef HAVE_GETOPT_H
# include <getopt.h>
#endif
#include <Main/views.h>
#include <Include/cmdargs.h> // Line to command line arguments
-#include <Include/fg_constants.h>
+#include <Include/fg_constants.h> // for VERSION
#include <Include/general.h>
#include <Aircraft/aircraft.h>
/* Tell GL we are about to modify the projection parameters */
xglMatrixMode(GL_PROJECTION);
xglLoadIdentity();
- gluPerspective(55.0, 2.0/win_ratio, 1.0, 100000.0);
+ gluPerspective(45.0, 2.0/win_ratio, 1.0, 100000.0);
}
else
{
/* Tell GL we are about to modify the projection parameters */
xglMatrixMode(GL_PROJECTION);
xglLoadIdentity();
- gluPerspective(55.0, 1.0/win_ratio, 10.0, 100000.0);
+ gluPerspective(45.0, 1.0/win_ratio, 10.0, 100000.0);
}
xglMatrixMode(GL_MODELVIEW);
void fgInitTimeDepCalcs( void ) {
/* initialize timer */
-#ifdef USE_ITIMER
+#ifdef HAVE_SETITIMER
fgTimerInit( 1.0 / DEFAULT_TIMER_HZ, fgUpdateTimeDepCalcs );
-#endif USE_ITIMER
+#endif HAVE_SETITIMER
}
f = current_aircraft.flight;
// First things first... We must have startup options dealt with.
- #ifndef VERSION
- #define VERSION "src-32A"
- #endif
printf("Flight Gear: Version %s\n\n", VERSION);
/*********************************************************************
#endif
/* $Log$
-/* Revision 1.67 1998/03/23 21:24:37 curt
-/* Source code formating tweaks.
+/* Revision 1.69 1998/04/08 23:35:34 curt
+/* Tweaks to Gnu automake/autoconf system.
/*
+ * Revision 1.68 1998/04/03 22:09:03 curt
+ * Converting to Gnu autoconf system.
+ *
+ * Revision 1.67 1998/03/23 21:24:37 curt
+ * Source code formating tweaks.
+ *
* Revision 1.66 1998/03/14 00:31:20 curt
* Beginning initial terrain texturing experiments.
*