Minor tweaks.
This commit is contained in:
parent
156f35932b
commit
a9cdbcf0b1
3 changed files with 16 additions and 19 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue