- moved some stuff from wipe.h to wipe.cpp.
This commit is contained in:
parent
207913bced
commit
00bb258d58
2 changed files with 17 additions and 17 deletions
|
|
@ -156,6 +156,23 @@ int wipe_CalcBurn (uint8_t *burnarray, int width, int height, int density)
|
|||
|
||||
// TYPES -------------------------------------------------------------------
|
||||
|
||||
class Wiper
|
||||
{
|
||||
protected:
|
||||
FGameTexture* startScreen = nullptr, * endScreen = nullptr;
|
||||
public:
|
||||
virtual ~Wiper();
|
||||
virtual bool Run(int ticks) = 0;
|
||||
virtual void SetTextures(FGameTexture* startscreen, FGameTexture* endscreen)
|
||||
{
|
||||
startScreen = startscreen;
|
||||
endScreen = endscreen;
|
||||
}
|
||||
|
||||
static Wiper* Create(int type);
|
||||
};
|
||||
|
||||
|
||||
class Wiper_Crossfade : public Wiper
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue