summaryrefslogtreecommitdiff
path: root/src/nodedef.h
diff options
context:
space:
mode:
authorrubenwardy <rubenwardy@gmail.com>2015-03-30 11:55:29 +0100
committerest31 <MTest31@outlook.com>2015-05-19 21:27:07 +0200
commit603297cc352cab685dd01dcd645999624ad17c0b (patch)
tree0be1fd0e2ab64578549ee94b3b7c9a3d1c868859 /src/nodedef.h
parent43702ec6ac0fae7c8ef04be82bcca72ba9bec017 (diff)
downloadminetest-603297cc352cab685dd01dcd645999624ad17c0b.tar.gz
minetest-603297cc352cab685dd01dcd645999624ad17c0b.tar.bz2
minetest-603297cc352cab685dd01dcd645999624ad17c0b.zip
Add texture overriding
Diffstat (limited to 'src/nodedef.h')
-rw-r--r--src/nodedef.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nodedef.h b/src/nodedef.h
index 68f6c8c37..3a5e5228d 100644
--- a/src/nodedef.h
+++ b/src/nodedef.h
@@ -336,6 +336,11 @@ public:
virtual void updateAliases(IItemDefManager *idef)=0;
/*
+ Override textures from servers with ones specified in texturepack/override.txt
+ */
+ virtual void applyTextureOverrides(const std::string &override_filepath)=0;
+
+ /*
Update tile textures to latest return values of TextueSource.
*/
virtual void updateTextures(IGameDef *gamedef,
@@ -378,4 +383,3 @@ public:
};
#endif
-