aboutsummaryrefslogtreecommitdiff
path: root/src/irrlichtwrapper.h
diff options
context:
space:
mode:
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
*/