]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/texture.hxx
- allow for (rather unusual) ////// cloud groups
[simgear.git] / simgear / screen / texture.hxx
index bfcb078189d541062a51a2c36a92dbff2ee892e8..9f76cadbd2390a4dfc87cad67782ebef4dc39715 100644 (file)
@@ -42,6 +42,7 @@ protected:
 
     FILE *file;
     typedef struct _ImageRec {
+        _ImageRec(void) : tmp(0), rowStart(0), rowSize(0) {}
         unsigned short imagic;
         unsigned short type;
         unsigned short dim;
@@ -140,10 +141,12 @@ public:
     inline const char *err_str() { return errstr; }
     inline void clear_err_str() { errstr = ""; }
 
+    void make_maxcolorwindow();
     void make_grayscale(float contrast = 1.0);
     void make_monochrome(float contrast = 1.0,
                          GLubyte r=255, GLubyte g=255, GLubyte b=255);
     void make_normalmap(float brightness = 1.0, float contrast = 1.0);
+    void make_bumpmap(float brightness = 1.0, float contrast = 1.0);
 };
 
 #endif