From 1704badc306fc8c7c6609aff9f809aee3ac00d3a Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 10 Feb 2011 02:13:03 +0200 Subject: work-in-progress texture atlas optimization --- src/iirrlichtwrapper.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/iirrlichtwrapper.h') diff --git a/src/iirrlichtwrapper.h b/src/iirrlichtwrapper.h index 47ae21ee9..66f8a55c6 100644 --- a/src/iirrlichtwrapper.h +++ b/src/iirrlichtwrapper.h @@ -21,6 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #define IIRRLICHTWRAPPER_HEADER #include "common_irrlicht.h" +#include "texture.h" + +/* + NOTE: This is deprecated and should be removed completely +*/ /* IrrlichtWrapper prototype. @@ -38,15 +43,18 @@ public: { } + // Should be called only from the main thread + virtual IrrlichtDevice* getDevice(){ return NULL; } + virtual u32 getTime() { return 0; } - virtual textureid_t getTextureId(const std::string &name){ return 0; } + /*virtual textureid_t getTextureId(const std::string &name){ return 0; } virtual std::string getTextureName(textureid_t id){ return ""; } virtual video::ITexture* getTexture(const std::string &name){ return NULL; } - virtual video::ITexture* getTexture(const TextureSpec &spec){ return NULL; } + virtual video::ITexture* getTexture(const TextureSpec &spec){ return NULL; }*/ private: }; -- cgit v1.2.3