X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FTerrain.h;h=051065617675b5e259580423a81c386c4b885cbc;hb=26debbd380c6922e5a0b60d99567c6374a4fef9a;hp=4a3746dc7bbf63f818b1456c65b5ed1addd1c9fc;hpb=79b5064ce9bf996395b8605691b09bcdbf503d2a;p=lugaru.git diff --git a/Source/Terrain.h b/Source/Terrain.h index 4a3746d..0510656 100644 --- a/Source/Terrain.h +++ b/Source/Terrain.h @@ -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];