From 705de63dcdfe78157234e1b65652d5c2f762dbd4 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 24 Dec 2010 11:44:26 +0200 Subject: ProgressBarTextureMod --- src/irrlichtwrapper.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/irrlichtwrapper.h') 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 */ -- cgit v1.2.3