1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-05 18:41:05 +00:00

ProgressBarTextureMod

This commit is contained in:
Perttu Ahola 2010-12-24 11:44:26 +02:00
parent 1611f00865
commit 705de63dcd
9 changed files with 107 additions and 37 deletions

View file

@ -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
*/