mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-05 18:41:05 +00:00
ProgressBarTextureMod
This commit is contained in:
parent
1611f00865
commit
705de63dcd
9 changed files with 107 additions and 37 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue