1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add the ability for client to check if image exists

This commit is contained in:
Perttu Ahola 2012-11-30 22:19:50 +02:00
parent 84ace27872
commit 778d9b0cd6
2 changed files with 18 additions and 0 deletions

View file

@ -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;