mirror of
https://github.com/encounter/tp.git
synced 2026-03-30 11:40:53 -07:00
a61e3491f7
* initial freezard actor struct + setActionMode OK * daE_FZ_Draw * setReflectAngle * mBoundSoundset * daE_FZ_Execute & execute * demoDelete * daE_FZ_Delete & _delete * CreateHeap * useHeapInit * cc_set * mtx_set * action WIP * way_gake_check * executeRollMove * executeMove * draw WIP * executeDamage * checkpoint * create * checkpoint * daE_FZ_c::executeWait * checkpoint * daE_FZ_c::damage_check almost done * rm asm * rm headers * setup_profile WIP + doxygen update * fix merge issues * docs fix? * fix2 * doxygen updates * setup g_profile_E_FZ, profile setup script WIP * update github actions * update progress.md
40 lines
966 B
C++
40 lines
966 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,
|
|
};
|
|
|
|
/* 802E5530 */ JUTFader(int, int, int, int, JUtility::TColor);
|
|
/* 802E55DC */ void control();
|
|
/* 802E57D0 */ void setStatus(JUTFader::EStatus, int);
|
|
|
|
/* 802E5840 */ virtual ~JUTFader();
|
|
/* 802E576C */ virtual bool startFadeIn(int);
|
|
/* 802E579C */ virtual bool startFadeOut(int);
|
|
/* 802E56DC */ 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 */
|