]> git.mxchange.org Git - flightgear.git/blobdiff - src/Time/light.hxx
Added static port system and a new altimeter model connected to it.
[flightgear.git] / src / Time / light.hxx
index ab8e93bc85dd773003ecea07476283030e7b8e29..648042aacf8807d5045887f313358aee4463817b 100644 (file)
@@ -39,7 +39,7 @@
 #endif
 
 #include <GL/glut.h>
-#include <simgear/xgl/xgl.h>
+#include <GL/gl.h>
 
 #include <plib/sg.h>                   // plib include
 
 class fgLIGHT {
 
     // Lighting look up tables (based on sun angle with local horizon)
-    fgINTERPTABLE *ambient_tbl;
-    fgINTERPTABLE *diffuse_tbl;
-    fgINTERPTABLE *sky_tbl;
+    SGInterpTable *ambient_tbl;
+    SGInterpTable *diffuse_tbl;
+    SGInterpTable *specular_tbl;
+    SGInterpTable *sky_tbl;
 
 public:
 
@@ -118,6 +119,9 @@ public:
     // diffuse component
     GLfloat scene_diffuse[4];
 
+    // diffuse component
+    GLfloat scene_specular[4];
+
     // fog color
     GLfloat fog_color[4];