From 804b2647ced20b8af1e632f1e99d54f905fa8ce0 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 11 Feb 2011 16:43:26 +0200 Subject: new texture stuff quite working --- src/tile.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/tile.h') diff --git a/src/tile.h b/src/tile.h index b846b467b..2a342313d 100644 --- a/src/tile.h +++ b/src/tile.h @@ -192,6 +192,13 @@ public: { return getTexture(getTextureId(name)); } + + // Gets a separate texture + video::ITexture* getTextureRaw(const std::string &name) + { + AtlasPointer ap = getTexture(name); + return ap.atlas; + } private: /* -- cgit v1.2.3