aboutsummaryrefslogtreecommitdiff
path: root/src/tile.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-11-30 22:19:50 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-11-30 22:19:54 +0200
commit778d9b0cd609ee24a86e88dbd1fe396d809683d9 (patch)
tree12e658868b3708ff07fd1f7fc326869f03127555 /src/tile.h
parent84ace278729a965c8eecc6ee1b6bbedaa27705f0 (diff)
downloadminetest-778d9b0cd609ee24a86e88dbd1fe396d809683d9.tar.gz
minetest-778d9b0cd609ee24a86e88dbd1fe396d809683d9.tar.bz2
minetest-778d9b0cd609ee24a86e88dbd1fe396d809683d9.zip
Add the ability for client to check if image exists
Diffstat (limited to 'src/tile.h')
-rw-r--r--src/tile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tile.h b/src/tile.h
index ae986e797..12c40c833 100644
--- a/src/tile.h
+++ b/src/tile.h
@@ -131,6 +131,7 @@ public:
virtual IrrlichtDevice* getDevice()
{return NULL;}
virtual void updateAP(AtlasPointer &ap){};
+ virtual bool isKnownSourceImage(const std::string &name)=0;
};
class IWritableTextureSource : public ITextureSource
@@ -149,6 +150,7 @@ public:
virtual IrrlichtDevice* getDevice()
{return NULL;}
virtual void updateAP(AtlasPointer &ap){};
+ virtual bool isKnownSourceImage(const std::string &name)=0;
virtual void processQueue()=0;
virtual void insertSourceImage(const std::string &name, video::IImage *img)=0;