]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Terrain.h
major refactor of texture system
[lugaru.git] / Source / Terrain.h
index 4a3746dc7bbf63f818b1456c65b5ed1addd1c9fc..051065617675b5e259580423a81c386c4b885cbc 100644 (file)
@@ -28,6 +28,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "TGALoader.h"
 #include "Quaternions.h"
 #include "Quaternions.h"
+#include "Texture.h"
 
 #define max_terrain_size                       256             
 #define curr_terrain_size                      size
@@ -58,13 +59,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 class Terrain{
 public:
-       GLuint bloodtexture;
-       GLuint bloodtexture2;
-       GLuint shadowtexture;
-       GLuint footprinttexture;
-       GLuint bodyprinttexture;
-       GLuint breaktexture;
-       GLuint terraintexture;
+       Texture bloodtexture;
+       Texture bloodtexture2;
+       Texture shadowtexture;
+       Texture footprinttexture;
+       Texture bodyprinttexture;
+       Texture breaktexture;
+       Texture terraintexture;
        short   size;
 
        int patchobjectnum[subdivision][subdivision];