summaryrefslogtreecommitdiff
path: root/src/irrlichtwrapper.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-24 11:44:26 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-24 11:44:26 +0200
commit705de63dcdfe78157234e1b65652d5c2f762dbd4 (patch)
tree6aeac4160d1034e7f8cf9daa4232a741c367774d /src/irrlichtwrapper.h
parent1611f00865031e5187bd9b51d2b2e9f8307af62e (diff)
downloadminetest-705de63dcdfe78157234e1b65652d5c2f762dbd4.tar.gz
minetest-705de63dcdfe78157234e1b65652d5c2f762dbd4.tar.bz2
minetest-705de63dcdfe78157234e1b65652d5c2f762dbd4.zip
ProgressBarTextureMod
Diffstat (limited to 'src/irrlichtwrapper.h')
-rw-r--r--src/irrlichtwrapper.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/irrlichtwrapper.h b/src/irrlichtwrapper.h
index 981e3377f..ce54b70c0 100644
--- a/src/irrlichtwrapper.h
+++ b/src/irrlichtwrapper.h
@@ -97,6 +97,20 @@ struct CrackTextureMod: public TextureMod
u16 progression;
};
+struct ProgressBarTextureMod: public TextureMod
+{
+ // value is from 0.0 to 1.0
+ ProgressBarTextureMod(float a_value)
+ {
+ value = a_value;
+ }
+
+ virtual video::ITexture * make(video::ITexture *original,
+ const char *newname, video::IVideoDriver* driver);
+
+ float value;
+};
+
/*
A class for specifying a requested texture
*/