diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-14 22:07:42 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:42 +0200 |
commit | 1afed48a2c90548e0b420c9c3d7d4af9e0734d1d (patch) | |
tree | d485510b3eaa0b4fcc2aa4a4cf336da025003bfd /src/tile.h | |
parent | c6fd2986d4261cf742d3bc21e8c12be59ab89f95 (diff) | |
download | dragonfireclient-1afed48a2c90548e0b420c9c3d7d4af9e0734d1d.tar.xz |
Make possible and do update textures in node definitions after late texture atlas making
Diffstat (limited to 'src/tile.h')
-rw-r--r-- | src/tile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tile.h b/src/tile.h index ac4e790b4..105692c10 100644 --- a/src/tile.h +++ b/src/tile.h @@ -138,6 +138,7 @@ public: {return AtlasPointer(0);} virtual video::ITexture* getTextureRaw(const std::string &name) {return NULL;} + virtual void updateAP(AtlasPointer &ap){}; }; class IWritableTextureSource : public ITextureSource @@ -153,8 +154,8 @@ public: {return AtlasPointer(0);} virtual video::ITexture* getTextureRaw(const std::string &name) {return NULL;} + virtual void updateAP(AtlasPointer &ap){}; - virtual void updateAP(AtlasPointer &ap)=0; virtual void buildMainAtlas(class IGameDef *gamedef)=0; virtual void processQueue()=0; }; |