]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/material/mat.hxx
My old email address is no longer valid ... point to my web page.
[simgear.git] / simgear / scene / material / mat.hxx
index 22cbe5346e98791b399a963231235f4ca541aa48..a32bde3220cd450a9b1bbe22b9d2d31fcad3d1d3 100644 (file)
@@ -4,7 +4,7 @@
 // Written by Curtis Olson, started May 1998.
 // Overhauled by David Megginson, December 2001
 //
-// Copyright (C) 1998 - 2000  Curtis L. Olson  - curt@flightgear.org
+// Copyright (C) 1998 - 2000  Curtis L. Olson  - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -117,7 +117,7 @@ public:
   /**
    * Get the textured state.
    */
-  virtual ssgSimpleState *get_state (int n = -1);
+  virtual ssgSimpleState *get_state (int n = -1) const;
 
 
   /**
@@ -217,7 +217,7 @@ private:
   vector<_internal_state> _status;
 
   // Round-robin counter
-  int _current_ptr;
+  unsigned int _current_ptr;
 
   // texture size
   double xsize, ysize;