]> git.mxchange.org Git - flightgear.git/commitdiff
Minor tweaks and fixes for cygwin32.
authorcurt <curt>
Mon, 19 Jan 1998 18:35:40 +0000 (18:35 +0000)
committercurt <curt>
Mon, 19 Jan 1998 18:35:40 +0000 (18:35 +0000)
FDM/flight.c
Main/GLUTmain.c
Simulator/make.inc
Time/fg_time.c

index 283543b5f3104372d9add2ef6d35e1fc298404f9..bd51d550061fd3152f96c48b575e6545b0609d40 100644 (file)
@@ -42,6 +42,8 @@ int fgFlightModelInit(int model, struct fgFLIGHT *f, double dt) {
        printf("Unimplemented flight model == %d\n", model);
     }
 
+    result = 1;
+
     return(result);
 }
 
@@ -58,14 +60,19 @@ int fgFlightModelUpdate(int model, struct fgFLIGHT *f, int multiloop) {
        printf("Unimplemented flight model == %d\n", model);
     }
 
+    result = 1;
+
     return(result);
 }
 
 
 /* $Log$
-/* Revision 1.5  1997/12/30 20:47:37  curt
-/* Integrated new event manager with subsystem initializations.
+/* Revision 1.6  1998/01/19 18:35:43  curt
+/* 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
  * Prepended "fg" on the name of all global structures that didn't have it yet.
  * i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
index 8152da3ae558745f579ef3382d0095b4cccfc48f..0a94cb303ee10b1da9074db76e53bc9aa56c2c17 100644 (file)
@@ -111,6 +111,9 @@ static void fgInitVisuals() {
     xglFogf (GL_FOG_END, w->visibility);
     /* xglFogf (GL_FOG_DENSITY, w->visibility); */
     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$
-/* 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.48  1998/01/19 18:35:46  curt
+/* Minor tweaks and fixes for cygwin32.
 /*
+ * 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
  * Beginning to integrate Tile management subsystem.
  *
index 047be92371408e14b8ebf19a6f08d8a83f78e7a5..94b7fd85579dd33c46b962f56cfda374fa4e82d0 100644 (file)
@@ -30,7 +30,7 @@
 #---------------------------------------------------------------------------
 
 FG_VERSION_MAJOR = 0
-FG_VERSION_MINOR = 23
+FG_VERSION_MINOR = 24
 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
 # GRAPHICS_LIBS = -lglu32 -lopengl32 -luser32 -lgdi32
 # FG_CFLAGS = $(GLOBAL_CFLAGS) $(FG_DEBUG_FLAGS) -DWIN32 -DUSE_RAND
-# LN = ren
+# LN = cp
 #---------------------------------------------------------------------------
 
 
 #---------------------------------------------------------------------------
 # $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
 # Version 0.23
 #
index 8018b6348398ff254948844de1a47b23842a6c22..6b49f0d0210cbe8f2e55b14e0995f0b4e39adc93 100644 (file)
@@ -57,7 +57,7 @@ void fgTimeInit(struct fgTIME *t) {
 
     t->gst_diff = -9999.0;
     t->warp = 0;
-    t->warp = 5 * 3600;
+    t->warp = 0 * 3600;
     t->warp_delta = 0;
 }
 
@@ -167,9 +167,12 @@ double sidereal_course(struct tm *gmt, time_t now, double lng) {
 
 #ifdef USE_FTIME
     struct timeb current;
+#endif /* USE_FTIME */
+
+#ifdef WIN32
     int daylight;
     long int timezone;
-#endif /* USE_FTIME */
+#endif /* WIN32 */
 
     /*
     printf("  COURSE: GMT = %d/%d/%2d %d:%02d:%02d\n", 
@@ -298,10 +301,13 @@ void fgTimeUpdate(struct fgFLIGHT *f, struct fgTIME *t) {
 
 
 /* $Log$
-/* 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.28  1998/01/19 18:35:49  curt
+/* Minor tweaks and fixes for cygwin32.
 /*
+ * 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
  * Add an option to advance/decrease time from keyboard.
  *