1
0
Fork 0

Minor tweaks and fixes for cygwin32.

This commit is contained in:
curt 1998-01-19 18:35:40 +00:00
parent 8c60b7a731
commit a9fdc0e341
4 changed files with 34 additions and 12 deletions

View file

@ -42,6 +42,8 @@ int fgFlightModelInit(int model, struct fgFLIGHT *f, double dt) {
printf("Unimplemented flight model == %d\n", model); printf("Unimplemented flight model == %d\n", model);
} }
result = 1;
return(result); return(result);
} }
@ -58,14 +60,19 @@ int fgFlightModelUpdate(int model, struct fgFLIGHT *f, int multiloop) {
printf("Unimplemented flight model == %d\n", model); printf("Unimplemented flight model == %d\n", model);
} }
result = 1;
return(result); return(result);
} }
/* $Log$ /* $Log$
/* Revision 1.5 1997/12/30 20:47:37 curt /* Revision 1.6 1998/01/19 18:35:43 curt
/* Integrated new event manager with subsystem initializations. /* Minor tweaks and fixes for cygwin32.
/* /*
* Revision 1.5 1997/12/30 20:47:37 curt
* Integrated new event manager with subsystem initializations.
*
* Revision 1.4 1997/12/10 22:37:42 curt * Revision 1.4 1997/12/10 22:37:42 curt
* Prepended "fg" on the name of all global structures that didn't have it yet. * Prepended "fg" on the name of all global structures that didn't have it yet.
* i.e. "struct WEATHER {}" became "struct fgWEATHER {}" * i.e. "struct WEATHER {}" became "struct fgWEATHER {}"

View file

@ -111,6 +111,9 @@ static void fgInitVisuals() {
xglFogf (GL_FOG_END, w->visibility); xglFogf (GL_FOG_END, w->visibility);
/* xglFogf (GL_FOG_DENSITY, w->visibility); */ /* xglFogf (GL_FOG_DENSITY, w->visibility); */
xglHint (GL_FOG_HINT, GL_NICEST /* GL_FASTEST */ ); xglHint (GL_FOG_HINT, GL_NICEST /* GL_FASTEST */ );
/* draw wire frame */
/* xglPolygonMode(GL_FRONT_AND_BACK,GL_LINE); */
} }
@ -633,10 +636,13 @@ int main( int argc, char *argv[] ) {
/* $Log$ /* $Log$
/* Revision 1.47 1998/01/13 00:23:08 curt /* Revision 1.48 1998/01/19 18:35:46 curt
/* Initial changes to support loading and management of scenery tiles. Note, /* Minor tweaks and fixes for cygwin32.
/* there's still a fair amount of work left to be done.
/* /*
* Revision 1.47 1998/01/13 00:23:08 curt
* Initial changes to support loading and management of scenery tiles. Note,
* there's still a fair amount of work left to be done.
*
* Revision 1.46 1998/01/08 02:22:06 curt * Revision 1.46 1998/01/08 02:22:06 curt
* Beginning to integrate Tile management subsystem. * Beginning to integrate Tile management subsystem.
* *

View file

@ -30,7 +30,7 @@
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
FG_VERSION_MAJOR = 0 FG_VERSION_MAJOR = 0
FG_VERSION_MINOR = 23 FG_VERSION_MINOR = 24
FG_VERSION = $(FG_VERSION_MAJOR).$(FG_VERSION_MINOR) FG_VERSION = $(FG_VERSION_MAJOR).$(FG_VERSION_MINOR)
@ -153,12 +153,15 @@ FG_CFLAGS = $(GLOBAL_CFLAGS) $(FG_DEBUG_FLAGS)
# INTERFACE_FILES = GLUTmain.c GLUTkey.c # INTERFACE_FILES = GLUTmain.c GLUTkey.c
# GRAPHICS_LIBS = -lglu32 -lopengl32 -luser32 -lgdi32 # GRAPHICS_LIBS = -lglu32 -lopengl32 -luser32 -lgdi32
# FG_CFLAGS = $(GLOBAL_CFLAGS) $(FG_DEBUG_FLAGS) -DWIN32 -DUSE_RAND # FG_CFLAGS = $(GLOBAL_CFLAGS) $(FG_DEBUG_FLAGS) -DWIN32 -DUSE_RAND
# LN = ren # LN = cp
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# $Log$ # $Log$
# Revision 1.32 1998/01/19 18:35:40 curt
# Minor tweaks and fixes for cygwin32.
#
# Revision 1.31 1998/01/08 02:21:46 curt # Revision 1.31 1998/01/08 02:21:46 curt
# Version 0.23 # Version 0.23
# #

View file

@ -57,7 +57,7 @@ void fgTimeInit(struct fgTIME *t) {
t->gst_diff = -9999.0; t->gst_diff = -9999.0;
t->warp = 0; t->warp = 0;
t->warp = 5 * 3600; t->warp = 0 * 3600;
t->warp_delta = 0; t->warp_delta = 0;
} }
@ -167,9 +167,12 @@ double sidereal_course(struct tm *gmt, time_t now, double lng) {
#ifdef USE_FTIME #ifdef USE_FTIME
struct timeb current; struct timeb current;
#endif /* USE_FTIME */
#ifdef WIN32
int daylight; int daylight;
long int timezone; long int timezone;
#endif /* USE_FTIME */ #endif /* WIN32 */
/* /*
printf(" COURSE: GMT = %d/%d/%2d %d:%02d:%02d\n", printf(" COURSE: GMT = %d/%d/%2d %d:%02d:%02d\n",
@ -298,10 +301,13 @@ void fgTimeUpdate(struct fgFLIGHT *f, struct fgTIME *t) {
/* $Log$ /* $Log$
/* Revision 1.27 1998/01/13 00:23:13 curt /* Revision 1.28 1998/01/19 18:35:49 curt
/* Initial changes to support loading and management of scenery tiles. Note, /* Minor tweaks and fixes for cygwin32.
/* there's still a fair amount of work left to be done.
/* /*
* Revision 1.27 1998/01/13 00:23:13 curt
* Initial changes to support loading and management of scenery tiles. Note,
* there's still a fair amount of work left to be done.
*
* Revision 1.26 1998/01/05 18:44:36 curt * Revision 1.26 1998/01/05 18:44:36 curt
* Add an option to advance/decrease time from keyboard. * Add an option to advance/decrease time from keyboard.
* *