X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSkybox.h;h=5619a2a851cdbfc741cd658358341ea0a7ca4e64;hb=64560867a9b6486d601784a2fe4ba6149d31b7aa;hp=073ed11114ade0fc963fd02ddee43135dfd11c83;hpb=cd043e3f9e26c2b3406b40a354c2840941e9db7f;p=lugaru.git diff --git a/Source/Skybox.h b/Source/Skybox.h index 073ed11..5619a2a 100644 --- a/Source/Skybox.h +++ b/Source/Skybox.h @@ -1,5 +1,6 @@ /* Copyright (C) 2003, 2010 - Wolfire Games +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -21,7 +22,7 @@ along with Lugaru. If not, see . #define _SKYBOX_H_ #include "Quaternions.h" -#include "TGALoader.h" +#include "ImageIO.h" #include "Quaternions.h" #include "gamegl.h" #include "Texture.h" @@ -31,8 +32,8 @@ class SkyBox public: Texture front, left, back, right, up, down; - void load(const char *ffront, const char *fleft, const char *fback, - const char *fright, const char *fup, const char *fdown); + void load(const std::string& ffront, const std::string& fleft, const std::string& fback, + const std::string& fright, const std::string& fup, const std::string& fdown); void draw(); SkyBox() {}