1
0
Fork 0

Misc. tweaks.

This commit is contained in:
curt 1997-10-25 03:30:02 +00:00
parent c158d4bfd2
commit d06ebf220e
3 changed files with 16 additions and 6 deletions

View file

@ -101,7 +101,7 @@ scenery.o:
$(CC) $(CFLAGS) -c scenery.c -o $@ $(CC) $(CFLAGS) -c scenery.c -o $@
stars.c: stars.c:
$(CC) $(CFLAGS) -c starts.c -o $@ $(CC) $(CFLAGS) -c stars.c -o $@
sun.o: sun.o:
$(CC) $(CFLAGS) -c sun.c -o $@ $(CC) $(CFLAGS) -c sun.c -o $@
@ -109,8 +109,12 @@ sun.o:
geometry.o: geometry.o:
$(CC) $(CFLAGS) -c geometry.c -o $@ $(CC) $(CFLAGS) -c geometry.c -o $@
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $Log$
# Revision 1.22 1997/10/25 03:30:07 curt
# Misc. tweaks.
#
# Revision 1.21 1997/10/25 03:18:26 curt # Revision 1.21 1997/10/25 03:18:26 curt
# Incorporated sun, moon, and planet position and rendering code contributed # Incorporated sun, moon, and planet position and rendering code contributed
# by Durk Talsma. # by Durk Talsma.

View file

@ -25,7 +25,7 @@
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
VERSION = 0.12 VERSION = 0.13
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# Choose your weapons # Choose your weapons
@ -120,6 +120,9 @@ FG_CFLAGS = $(GLOBAL_CFLAGS)
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $Log$
# Revision 1.17 1997/10/25 03:30:02 curt
# Misc. tweaks.
#
# Revision 1.16 1997/10/25 03:24:21 curt # Revision 1.16 1997/10/25 03:24:21 curt
# Incorporated sun, moon, and star positioning code contributed by Durk Talsma. # Incorporated sun, moon, and star positioning code contributed by Durk Talsma.
# #

View file

@ -230,8 +230,8 @@ void fgTimeUpdate(struct FLIGHT *f, struct fgTIME *t) {
static long int warp = 0; static long int warp = 0;
/* get current Unix calendar time (in seconds) */ /* get current Unix calendar time (in seconds) */
/* warp += 120; */ warp += 60;
warp = 0; /* warp = 0; */
t->cur_time = time(NULL); t->cur_time = time(NULL);
t->cur_time += warp; t->cur_time += warp;
printf("Current Unix calendar time = %ld warp = %ld\n", t->cur_time, warp); printf("Current Unix calendar time = %ld warp = %ld\n", t->cur_time, warp);
@ -284,9 +284,12 @@ void fgTimeUpdate(struct FLIGHT *f, struct fgTIME *t) {
/* $Log$ /* $Log$
/* Revision 1.7 1997/09/23 00:29:50 curt /* Revision 1.8 1997/10/25 03:30:08 curt
/* Tweaks to get things to compile with gcc-win32. /* Misc. tweaks.
/* /*
* Revision 1.7 1997/09/23 00:29:50 curt
* Tweaks to get things to compile with gcc-win32.
*
* Revision 1.6 1997/09/20 03:34:34 curt * Revision 1.6 1997/09/20 03:34:34 curt
* Still trying to get those durned stars aligned properly. * Still trying to get those durned stars aligned properly.
* *