]> git.mxchange.org Git - flightgear.git/commitdiff
"struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
authorcurt <curt>
Sun, 26 Apr 1998 05:10:00 +0000 (05:10 +0000)
committercurt <curt>
Sun, 26 Apr 1998 05:10:00 +0000 (05:10 +0000)
Astro/planets.cxx
Astro/sky.cxx
Astro/stars.cxx
Astro/sun.cxx
Main/GLUTmain.cxx
Main/fg_init.cxx
Main/views.cxx
Simulator/Todo
Time/light.cxx
Time/sunpos.cxx

index cf1616d68e2856f62fc97f0949a07feec89f3511..890c1295e24ad8bc7a57a3a7ab0c04c7d2ef06cd 100644 (file)
@@ -143,7 +143,7 @@ struct CelestialCoord fgCalculatePlanet(struct OrbElements planet,
 
 void fgPlanetsInit( void )
 {
-  struct fgLIGHT *l;
+  fgLIGHT *l;
   int i;
   struct CelestialCoord pltPos;
   double magnitude;
@@ -210,9 +210,12 @@ void fgPlanetsRender( void ) {
 
 
 /* $Log$
-/* Revision 1.3  1998/04/25 22:06:25  curt
-/* Edited cvs log messages in source files ... bad bad bad!
+/* Revision 1.4  1998/04/26 05:10:01  curt
+/* "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
 /*
+ * Revision 1.3  1998/04/25 22:06:25  curt
+ * Edited cvs log messages in source files ... bad bad bad!
+ *
  * Revision 1.2  1998/04/24 00:45:02  curt
  * Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
  * Fixed a bug when generating sky colors.
index 829671ed7ff029380464b50bcd1e7e6a03ce2855..4f9e219bc8d5b885fbe9e8cf12240dcdca2d64d5 100644 (file)
@@ -113,7 +113,7 @@ void fgSkyVerticesInit( void ) {
 
 /* (Re)calculate the sky colors at each vertex */
 void fgSkyColorsInit( void ) {
-    struct fgLIGHT *l;
+    fgLIGHT *l;
     float sun_angle, diff;
     float outer_param[3], outer_amt[3], outer_diff[3];
     float middle_param[3], middle_amt[3], middle_diff[3];
@@ -260,7 +260,7 @@ void fgSkyInit( void ) {
 /* Draw the Sky */
 void fgSkyRender( void ) {
     fgFLIGHT *f;
-    struct fgLIGHT *l;
+    fgLIGHT *l;
     struct fgVIEW *v;
     float /* inner_color[4], middle_color[4], diff, */ east_dot, dot, angle;
     int i;
@@ -373,9 +373,12 @@ void fgSkyRender( void ) {
 
 
 /* $Log$
-/* Revision 1.3  1998/04/25 22:06:25  curt
-/* Edited cvs log messages in source files ... bad bad bad!
+/* Revision 1.4  1998/04/26 05:10:01  curt
+/* "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
 /*
+ * Revision 1.3  1998/04/25 22:06:25  curt
+ * Edited cvs log messages in source files ... bad bad bad!
+ *
  * Revision 1.2  1998/04/24 00:45:03  curt
  * Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
  * Fixed a bug when generating sky colors.
index 3f2c953961186c0d3f64a133c8ae25fc42454c15..11de41264fa14a485175944b658ba9f38fc22b5b 100644 (file)
@@ -224,7 +224,7 @@ int fgStarsInit( void ) {
 void fgStarsRender( void ) {
     fgFLIGHT *f;
     struct fgVIEW *v;
-    struct fgLIGHT *l;
+    fgLIGHT *l;
     struct fgTIME *t;
     int i;
 
@@ -260,9 +260,12 @@ void fgStarsRender( void ) {
 
 
 /* $Log$
-/* Revision 1.3  1998/04/25 22:06:26  curt
-/* Edited cvs log messages in source files ... bad bad bad!
+/* Revision 1.4  1998/04/26 05:10:02  curt
+/* "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
 /*
+ * Revision 1.3  1998/04/25 22:06:26  curt
+ * Edited cvs log messages in source files ... bad bad bad!
+ *
  * Revision 1.2  1998/04/24 00:45:03  curt
  * Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
  * Fixed a bug when generating sky colors.
index dc2fad3cdabdddddee19136f1c5e51224fca9e65..6b9b85e496b285682e8f4d01d466154e2703395a 100644 (file)
@@ -104,7 +104,7 @@ struct CelestialCoord fgCalculateSun (struct OrbElements params,
 
 /* Initialize the Sun */
 void fgSunInit( void ) {
-    struct fgLIGHT *l;
+    fgLIGHT *l;
     struct fgTIME *t;
     struct fgVIEW *v;  
     float xSun, ySun, zSun;
@@ -192,9 +192,12 @@ void fgSunRender( void ) {
 
 
 /* $Log$
-/* Revision 1.3  1998/04/25 22:06:26  curt
-/* Edited cvs log messages in source files ... bad bad bad!
+/* Revision 1.4  1998/04/26 05:10:02  curt
+/* "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
 /*
+ * Revision 1.3  1998/04/25 22:06:26  curt
+ * Edited cvs log messages in source files ... bad bad bad!
+ *
  * Revision 1.2  1998/04/24 00:45:04  curt
  * Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
  * Fixed a bug when generating sky colors.
index f38accd9d539caef7204d7ff2a5f895a750b9b68..9d49992bbb76ef761a056573fbde50050223e681 100644 (file)
@@ -183,7 +183,7 @@ const int   DefaultViewMode = HUD_VIEW;
 
 // fgInitVisuals() -- Initialize various GL/view parameters
 static void fgInitVisuals( void ) {
-    struct fgLIGHT *l;
+    fgLIGHT *l;
     struct fgWEATHER *w;
 
     l = &cur_light_params;
@@ -213,7 +213,7 @@ static void fgInitVisuals( void ) {
 // Update the view volume, position, and orientation
 static void fgUpdateViewParams( void ) {
     fgFLIGHT *f;
-    struct fgLIGHT *l;
+    fgLIGHT *l;
     // struct fgTIME *t;
     struct fgVIEW *v;
 
@@ -316,7 +316,7 @@ static void fgUpdateInstrViewParams( void ) {
 
 // Update all Visuals (redraws anything graphics related)
 static void fgRenderFrame( void ) {
-    struct fgLIGHT *l;
+    fgLIGHT *l;
     fgOPTIONS *o;
     struct fgTIME *t;
     struct fgVIEW *v;
@@ -693,6 +693,9 @@ extern "C" {
 
 
 // $Log$
+// Revision 1.7  1998/04/26 05:10:02  curt
+// "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
+//
 // Revision 1.6  1998/04/25 22:06:30  curt
 // Edited cvs log messages in source files ... bad bad bad!
 //
index 85f00b2c5c21dbf9b2edfb481a58219ecd556d8f..206cd8210eadd932aa911c045aa956d680e5eed3 100644 (file)
@@ -189,7 +189,7 @@ int fgInitSubsystems( void ) {
     double cur_elev;
 
     fgFLIGHT *f;
-    struct fgLIGHT *l;
+    fgLIGHT *l;
     struct fgTIME *t;
     struct fgVIEW *v;
 
@@ -369,6 +369,9 @@ int fgInitSubsystems( void ) {
 
 
 // $Log$
+// Revision 1.6  1998/04/26 05:10:03  curt
+// "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
+//
 // Revision 1.5  1998/04/25 22:06:30  curt
 // Edited cvs log messages in source files ... bad bad bad!
 //
index b3b2754f3b5a9e7227d49859f7849549ab581c0b..bdaa8d0316d0384e17a720a104854f317c74f998 100644 (file)
@@ -101,8 +101,8 @@ void fgViewUpdate(fgFLIGHT *f, struct fgVIEW *v, fgLIGHT *l) {
     LOCAL[2][3] = 0.0;
     LOCAL[3][0] = LOCAL[3][1] = LOCAL[3][2] = LOCAL[3][3] = 0.0;
     LOCAL[3][3] = 1.0;
-    printf("LaRCsim LOCAL matrix\n");
-    MAT3print(LOCAL, stdout);
+    // printf("LaRCsim LOCAL matrix\n");
+    // MAT3print(LOCAL, stdout);
 
 #ifdef OLD_LOCAL_TO_BODY_CODE
         // old code to calculate LOCAL matrix calculated from Phi,
@@ -127,8 +127,8 @@ void fgViewUpdate(fgFLIGHT *f, struct fgVIEW *v, fgLIGHT *l) {
        /* printf("Yaw matrix\n");
           MAT3print(TMP, stdout); */
        MAT3mult(LOCAL, R, TMP);
-       printf("FG derived LOCAL matrix\n");
-       MAT3print(LOCAL, stdout);
+       // printf("FG derived LOCAL matrix\n");
+       // MAT3print(LOCAL, stdout);
 #endif // OLD_LOCAL_TO_BODY_CODE
 
     // Derive the local UP transformation matrix based on *geodetic*
@@ -200,6 +200,9 @@ void fgViewUpdate(fgFLIGHT *f, struct fgVIEW *v, fgLIGHT *l) {
 
 
 // $Log$
+// Revision 1.5  1998/04/26 05:10:04  curt
+// "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
+//
 // Revision 1.4  1998/04/25 22:04:53  curt
 // Use already calculated LaRCsim values to create the roll/pitch/yaw
 // transformation matrix (we call it LOCAL)
index 8a76acbfcd40370ad7bb1a9ce639b8cd33418c6d..abff3932efc17bf584c4282ba6d34e3aac07a640 100644 (file)
@@ -2,6 +2,10 @@
 | Todo 
 --------------------------------------------------------------------------
 
+4/25/98 -  Physically check if airport list overruns array size when loading.
+
+4/25/98 -  Do a better job of translating scenery tiles towards (0,0,0)
+
 4/25/98 -  Roll all of Time/sunpos.cxx into Astro/sun.cxx
 
 4/25/98 -  Overhaul view parameter generation ... see if we can piggy
index d38e6f8c26d9ff28f47caefbd877720240fcf711..5177645ea6db76ca9f1842804d0feaa8283a1eb8 100644 (file)
@@ -94,7 +94,7 @@ void fgLightInit( void ) {
 
 // update lighting parameters based on current sun position
 void fgLightUpdate( void ) {
-    struct fgLIGHT *l;
+    fgLIGHT *l;
     struct fgTIME *t;
     struct fgVIEW *v;
     /* if the 4th field is 0.0, this specifies a direction ... */
@@ -158,6 +158,9 @@ void fgLightUpdate( void ) {
 
 
 // $Log$
+// Revision 1.3  1998/04/26 05:10:04  curt
+// "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
+//
 // Revision 1.2  1998/04/24 00:52:30  curt
 // Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
 // Fog color fixes.
index 58ea778434f43320958a6fb1d70542e058d0741e..99676422498532eb6a7e2141c35ec917c59591d0 100644 (file)
@@ -272,7 +272,7 @@ void fgSunPosition(time_t ssue, double *lon, double *lat) {
 
 // update the cur_time_params structure with the current sun position
 void fgUpdateSunPos( void ) {
-    struct fgLIGHT *l;
+    fgLIGHT *l;
     struct fgTIME *t;
     struct fgVIEW *v;
     MAT3vec nup, nsun, v0;
@@ -346,6 +346,9 @@ void fgUpdateSunPos( void ) {
 
 
 // $Log$
+// Revision 1.5  1998/04/26 05:10:05  curt
+// "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
+//
 // Revision 1.4  1998/04/25 22:06:34  curt
 // Edited cvs log messages in source files ... bad bad bad!
 //