diff options
author | Perttu Ahola <celeron55@gmail.com> | 2010-12-24 11:44:26 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2010-12-24 11:44:26 +0200 |
commit | 705de63dcdfe78157234e1b65652d5c2f762dbd4 (patch) | |
tree | 6aeac4160d1034e7f8cf9daa4232a741c367774d /src/irrlichtwrapper.h | |
parent | 1611f00865031e5187bd9b51d2b2e9f8307af62e (diff) | |
download | hax-minetest-server-705de63dcdfe78157234e1b65652d5c2f762dbd4.tar.gz hax-minetest-server-705de63dcdfe78157234e1b65652d5c2f762dbd4.zip |
ProgressBarTextureMod
Diffstat (limited to 'src/irrlichtwrapper.h')
-rw-r--r-- | src/irrlichtwrapper.h | 14 |
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 */ |