From a9cdbcf0b1ba5912a6f1c714a2ca64af9df5ed19 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 27 Jan 1998 18:35:53 +0000 Subject: [PATCH] Minor tweaks. --- Astro/stars.c | 13 ++++++++----- Main/GLUTmain.c | 19 ++++++++----------- Simulator/commondefs | 3 --- 3 files changed, 16 insertions(+), 19 deletions(-) diff --git a/Astro/stars.c b/Astro/stars.c index 937d0d9e5..9e37f7c81 100644 --- a/Astro/stars.c +++ b/Astro/stars.c @@ -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 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 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 * This should simplify things tremendously. diff --git a/Main/GLUTmain.c b/Main/GLUTmain.c index d2a5b33cd..68a902d09 100644 --- a/Main/GLUTmain.c +++ b/Main/GLUTmain.c @@ -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 - int printf (const char *format, ...) {} -#endif - - /* $Log$ -/* Revision 1.52 1998/01/27 00:47:56 curt -/* Incorporated Paul Bleisch's 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 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. * diff --git a/Simulator/commondefs b/Simulator/commondefs index db8657b53..d9ecc2b0b 100644 --- a/Simulator/commondefs +++ b/Simulator/commondefs @@ -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 -- 2.39.2