diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-02-11 16:43:26 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-02-11 16:43:26 +0200 |
commit | 804b2647ced20b8af1e632f1e99d54f905fa8ce0 (patch) | |
tree | c60db21bf4394434424993711669253ee9f6aae2 /src/tile.h | |
parent | 841ac10e5c20ad152f375f43bceb992fc3945041 (diff) | |
download | minetest-804b2647ced20b8af1e632f1e99d54f905fa8ce0.tar.gz minetest-804b2647ced20b8af1e632f1e99d54f905fa8ce0.tar.bz2 minetest-804b2647ced20b8af1e632f1e99d54f905fa8ce0.zip |
new texture stuff quite working
Diffstat (limited to 'src/tile.h')
-rw-r--r-- | src/tile.h | 7 |
1 files changed, 7 insertions, 0 deletions
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: /* |