]> git.mxchange.org Git - flightgear.git/blobdiff - src/Objects/material.hxx
cygwin32 fixes by norman vine.
[flightgear.git] / src / Objects / material.hxx
index ac103440fb451374edef16f43b7240142ca7d11a..464189e45373cd2c950753914cbda0cb2e803bd9 100644 (file)
 #  include <windows.h>
 #endif
 
-#include <Include/compiler.h>
+#include <simgear/compiler.h>
 
 #include <GL/glut.h>
-#include <XGL/xgl.h>
+#include <simgear/xgl/xgl.h>
 
 #include STL_STRING      // Standard C++ string library
 
@@ -48,8 +48,8 @@ FG_USING_STD(string);
 
 
 // MSVC++ 6.0 kuldge - Need forward declaration of friends.
-class fgMATERIAL;
-istream& operator >> ( istream& in, fgMATERIAL& m );
+class FGMaterial;
+istream& operator >> ( istream& in, FGMaterial& m );
 
 // Material property class
 class FGMaterial {
@@ -71,7 +71,7 @@ private:
     double xsize, ysize;
 
     // material properties
-    GLfloat ambient[4], diffuse[4], specular[4], emissive[4];
+    GLfloat ambient[4], diffuse[4], specular[4], emission[4];
     GLint texture_ptr;
 
 public:
@@ -94,7 +94,9 @@ public:
     inline GLfloat *get_ambient() { return ambient; }
     inline GLfloat *get_diffuse() { return diffuse; }
     inline GLfloat *get_specular() { return specular; }
-    inline GLfloat *get_emissive() { return emissive; }
+    inline GLfloat *get_emission() { return emission; }
+
+    void dump_info();
 };