]> git.mxchange.org Git - flightgear.git/commitdiff
Minor tweaks.
authorcurt <curt>
Tue, 27 Jan 1998 18:35:53 +0000 (18:35 +0000)
committercurt <curt>
Tue, 27 Jan 1998 18:35:53 +0000 (18:35 +0000)
Astro/stars.c
Main/GLUTmain.c
Simulator/commondefs

index 937d0d9e5fe526498d517b10fc21f731c34a99d0..9e37f7c813ef99e299762c1506f671ebc974e655 100644 (file)
@@ -64,8 +64,8 @@ void fgStarsInit( void ) {
     char line[256], name[256];
     char *front, *end;
     double right_ascension, declination, magnitude;
-    double ra_save, decl_save;
-    double ra_save1, decl_save1;
+    /* double ra_save, decl_save; */
+    /* double ra_save1, decl_save1; */
     int count, i, j, max_stars;
 
     fgPrintf( FG_ASTRO, FG_INFO, "Initializing stars\n");
@@ -276,10 +276,13 @@ void fgStarsRender( void ) {
 
 
 /* $Log$
-/* Revision 1.4  1998/01/27 00:47:49  curt
-/* Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
-/* system and commandline/config file processing code.
+/* Revision 1.5  1998/01/27 18:35:53  curt
+/* Minor tweaks.
 /*
+ * Revision 1.4  1998/01/27 00:47:49  curt
+ * Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
+ * system and commandline/config file processing code.
+ *
  * Revision 1.3  1998/01/19 19:26:59  curt
  * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
  * This should simplify things tremendously.
index d2a5b33cd798e0c82ca862bc64c8de01c3c7620d..68a902d0990ebd66ab14085dfe0c73ef0f5e95b8 100644 (file)
@@ -459,8 +459,8 @@ static void fgMainLoop( void ) {
     static int remainder = 0;
     int elapsed, multi_loop;
     double cur_elev;
-    double joy_x, joy_y;
-    int joy_b1, joy_b2;
+    /* double joy_x, joy_y; */
+    /* int joy_b1, joy_b2; */
     struct fgAIRCRAFT *a;
     struct fgFLIGHT *f;
     struct fgTIME *t;
@@ -629,17 +629,14 @@ int main( int argc, char *argv[] ) {
 }
 
 
-#ifdef NO_PRINTF
-  #include <stdarg.h>
-  int printf (const char *format, ...) {}
-#endif
-
-
 /* $Log$
-/* Revision 1.52  1998/01/27 00:47:56  curt
-/* Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
-/* system and commandline/config file processing code.
+/* Revision 1.53  1998/01/27 18:35:54  curt
+/* Minor tweaks.
 /*
+ * Revision 1.52  1998/01/27 00:47:56  curt
+ * Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
+ * system and commandline/config file processing code.
+ *
  * Revision 1.51  1998/01/26 15:57:05  curt
  * Tweaks for dynamic scenery development.
  *
index db8657b530703a75b6e62d55d817b769e4341967..d9ecc2b0b17d65f3457a875607bf5b0b4dbdeef4 100644 (file)
@@ -50,9 +50,6 @@ GLOBAL_CFLAGS = -Wall -DVERSION=\"$(FG_VERSION)\"
 # Platform specific compile options, these should be set with FG_CFLAGS
 # below.  These have been predefined for the supported platforms below.
 #
-# -DNO_PRINTF -  Disable all printf()'s.  Works by replacing the printf
-#                fuction with an empty function.
-#
 # -DUSE_ITIMER - Use setitimer(), getitimer(), and signal() to mimic
 #                a real time system and call the flight model routines
 #                at a regular interval, rather than between screen updates