mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
a6e76c0841
* some wii OS fixes * remove old dol2asm comments * remove dol2asm.h * remove function address comments * normalize ATTRIBUTE_ALIGN usage * DECL_WEAK macro * fix gcc attribute weak macro * wrap more mwcc specific things in ifdefs * fixes * fix revo sdk version flags * fixes
40 lines
860 B
C++
40 lines
860 B
C++
#ifndef JUTFADER_H
|
|
#define JUTFADER_H
|
|
|
|
#include "JSystem/JGeometry.h"
|
|
#include "JSystem/JUtility/TColor.h"
|
|
|
|
/**
|
|
* @ingroup jsystem-jutility
|
|
*
|
|
*/
|
|
class JUTFader {
|
|
public:
|
|
enum EStatus {
|
|
UNKSTATUS_M1 = -1,
|
|
UNKSTATUS_0 = 0,
|
|
};
|
|
|
|
JUTFader(int, int, int, int, JUtility::TColor);
|
|
void control();
|
|
void setStatus(JUTFader::EStatus, int);
|
|
|
|
virtual ~JUTFader();
|
|
virtual bool startFadeIn(int);
|
|
virtual bool startFadeOut(int);
|
|
virtual void draw();
|
|
|
|
s32 getStatus() const { return mStatus; }
|
|
void setColor(JUtility::TColor color) { mColor.set(color); }
|
|
|
|
/* 0x04 */ s32 mStatus;
|
|
/* 0x08 */ u16 field_0x8;
|
|
/* 0x0A */ u16 field_0xa;
|
|
/* 0x0C */ JUtility::TColor mColor;
|
|
/* 0x10 */ JGeometry::TBox2<f32> mBox;
|
|
/* 0x20 */ int mEStatus;
|
|
/* 0x24 */ u32 field_0x24;
|
|
};
|
|
|
|
#endif /* JUTFADER_H */
|