]> git.mxchange.org Git - flightgear.git/blobdiff - Scenery/orbits.c
Add xgl wrappers for debugging.
[flightgear.git] / Scenery / orbits.c
index c261856133441f9a24be54ff0edbe0d0d0614c0c..8ff0f182cf8c1ad1ee3525f3a1bbd8327666c446 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "orbits.h"
 
-#include "../general.h"
+#include "../Include/general.h"
 #include "../Time/fg_time.h"
 
 
@@ -119,7 +119,7 @@ void fgReadOrbElements(struct OrbElements *dest, FILE *src)
 
 void fgSolarSystemInit(struct fgTIME t)
 {
-   struct GENERAL *g;
+   struct fgGENERAL *g;
    char path[80];
    int i;
    FILE *data;
@@ -129,7 +129,7 @@ void fgSolarSystemInit(struct fgTIME t)
    path[0] = '\0';
    strcat(path, g->root_dir);
    strcat(path, "/Scenery/");
-   strcat(path, "planets.dat");
+   strcat(path, "Planets.dat");
 
    if ( (data = fopen(path, "r")) == NULL )
    {
@@ -170,9 +170,20 @@ void fgSolarSystemUpdate(struct OrbElements *planet, struct fgTIME t)
 
 
 /* $Log$
-/* Revision 1.2  1997/11/25 19:25:36  curt
-/* Changes to integrate Durk's moon/sun code updates + clean up.
+/* Revision 1.5  1997/12/15 23:55:02  curt
+/* Add xgl wrappers for debugging.
+/* Generate terrain normals on the fly.
 /*
+ * Revision 1.4  1997/12/10 22:37:51  curt
+ * Prepended "fg" on the name of all global structures that didn't have it yet.
+ * i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
+ *
+ * Revision 1.3  1997/11/25 23:20:44  curt
+ * Changed planets.dat Planets.dat
+ *
+ * Revision 1.2  1997/11/25 19:25:36  curt
+ * Changes to integrate Durk's moon/sun code updates + clean up.
+ *
  * Revision 1.1  1997/10/25 03:16:10  curt
  * Initial revision of code contributed by Durk Talsma.
  *