cleanup msg scrn (#2051)

* msg_scrn_light done

* update include paths

* some cleanup

* fix build
This commit is contained in:
TakaRikka
2024-01-27 01:43:19 -08:00
committed by GitHub
parent 3470c4eb34
commit 7f0ba98c9f
38 changed files with 994 additions and 1218 deletions
@@ -20,12 +20,12 @@ public:
/* 8023BFC4 */ void dotAnimeInit();
/* 8023C010 */ void dotAnimeMove();
/* 0x04 */ J2DScreen* mScreen;
/* 0x08 */ J2DAnmTransform* mAnmBck;
/* 0x0C */ J2DAnmColor* mAnmBpk;
/* 0x10 */ CPaneMgr* mPaneMgr0;
/* 0x14 */ CPaneMgr* mPaneMgr1;
/* 0x18 */ CPaneMgr* mPaneMgr2;
/* 0x04 */ J2DScreen* mpScreen;
/* 0x08 */ J2DAnmTransform* mpBck;
/* 0x0C */ J2DAnmColor* mpBpk;
/* 0x10 */ CPaneMgr* mpParent_c;
/* 0x14 */ CPaneMgr* mpArw_c;
/* 0x18 */ CPaneMgr* mpDot_c;
/* 0x1C */ f32 mBckFrame;
/* 0x20 */ f32 mBpkFrame;
};
@@ -1,7 +1,7 @@
#ifndef MSG_SCRN_D_MSG_SCRN_BOSS_H
#define MSG_SCRN_D_MSG_SCRN_BOSS_H
#include "msg/scrn/d_msg_scrn_base.h"
#include "d/msg/d_msg_scrn_base.h"
class dMsgScrnBoss_c : public dMsgScrnBase_c {
public:
@@ -1,7 +1,7 @@
#ifndef MSG_SCRN_D_MSG_SCRN_EXPLAIN_H
#define MSG_SCRN_D_MSG_SCRN_EXPLAIN_H
#include "msg/scrn/d_msg_scrn_base.h"
#include "d/msg/d_msg_scrn_base.h"
class J2DOrthoGraph;
class STControl;
@@ -53,7 +53,7 @@ private:
/* 0x38 */ dMsgScrn3Select_c* mpSelect_c;
/* 0x3C */ COutFont_c* mpOutFont;
/* 0x40 */ J2DPicture* mpBackTex;
/* 0x44 */ STControl* field_0x44;
/* 0x44 */ STControl* mpStick;
/* 0x48 */ f32 field_0x48;
/* 0x4C */ f32 field_0x4c;
/* 0x50 */ f32 field_0x50;
@@ -2,7 +2,7 @@
#define MSG_SCRN_D_MSG_SCRN_HOWL_H
#include "dolphin/types.h"
#include "msg/scrn/d_msg_scrn_base.h"
#include "d/msg/d_msg_scrn_base.h"
struct dMsgScrnHowl_c : public dMsgScrnBase_c {
/* 8024096C */ dMsgScrnHowl_c();
@@ -1,8 +1,7 @@
#ifndef MSG_SCRN_D_MSG_SCRN_KANBAN_H
#define MSG_SCRN_D_MSG_SCRN_KANBAN_H
#include "dolphin/types.h"
#include "msg/scrn/d_msg_scrn_base.h"
#include "d/msg/d_msg_scrn_base.h"
class JKRExpHeap;
class J2DAnmTransform;
+33
View File
@@ -0,0 +1,33 @@
#ifndef MSG_SCRN_D_MSG_SCRN_LIGHT_H
#define MSG_SCRN_D_MSG_SCRN_LIGHT_H
#include "JSystem/JUtility/TColor.h"
class J2DScreen;
class J2DAnmTransform;
class J2DAnmColorKey;
class CPaneMgr;
class dMsgScrnLight_c {
public:
/* 80245934 */ dMsgScrnLight_c(u8, u8);
/* 80245C04 */ void draw(f32*, f32, f32, f32, f32, f32, u8);
/* 80245F90 */ void draw(f32*, f32, f32, f32, f32, f32, f32, JUtility::TColor,
JUtility::TColor);
/* 802460DC */ void drawCommon(f32, f32, f32, f32, f32);
/* 80245B00 */ virtual ~dMsgScrnLight_c();
/* 0x04 */ J2DScreen* mpScreen;
/* 0x08 */ J2DAnmTransform* mpBck;
/* 0x0C */ J2DAnmColorKey* mpBpk;
/* 0x10 */ CPaneMgr* mpParent_c;
/* 0x14 */ f32 mBckFrame;
/* 0x18 */ f32 mBpkFrame;
/* 0x1C */ f32 mAlpha;
/* 0x20 */ u8 mColorType;
/* 0x21 */ u8 field_0x21;
/* 0x22 */ bool mPlayAnim;
};
#endif /* MSG_SCRN_D_MSG_SCRN_LIGHT_H */
@@ -1,7 +1,7 @@
#ifndef MSG_SCRN_D_MSG_SCRN_PLACE_H
#define MSG_SCRN_D_MSG_SCRN_PLACE_H
#include "msg/scrn/d_msg_scrn_base.h"
#include "d/msg/d_msg_scrn_base.h"
class dMsgScrnPlace_c : public dMsgScrnBase_c {
public:
@@ -1,7 +1,7 @@
#ifndef MSG_SCRN_D_MSG_SCRN_STAFF_H
#define MSG_SCRN_D_MSG_SCRN_STAFF_H
#include "msg/scrn/d_msg_scrn_base.h"
#include "d/msg/d_msg_scrn_base.h"
class dMsgScrnStaff_c : public dMsgScrnBase_c {
public:
@@ -1,7 +1,7 @@
#ifndef MSG_SCRN_D_MSG_SCRN_TREE_H
#define MSG_SCRN_D_MSG_SCRN_TREE_H
#include "msg/scrn/d_msg_scrn_base.h"
#include "d/msg/d_msg_scrn_base.h"
class JUTFont;
class JKRExpHeap;
-49
View File
@@ -1,49 +0,0 @@
#ifndef MSG_SCRN_D_MSG_SCRN_LIGHT_H
#define MSG_SCRN_D_MSG_SCRN_LIGHT_H
#include "dolphin/types.h"
#include "JSystem/JUtility/TColor.h"
class J2DScreen;
class J2DAnmTransform;
class J2DAnmColor;
class CPaneMgr;
struct dMsgScrnLight_c {
/* 80245934 */ dMsgScrnLight_c(u8, u8);
/* 80245B00 */ virtual ~dMsgScrnLight_c();
/* 80245C04 */ void draw(f32*, f32, f32, f32, f32, f32, u8);
/* 80245F90 */ void draw(f32*, f32, f32, f32, f32, f32, f32, JUtility::TColor,
JUtility::TColor);
/* 802460DC */ void drawCommon(f32, f32, f32, f32, f32);
/* 0x04 */ J2DScreen* mpScreen;
/* 0x08 */ J2DAnmTransform* field_0x8;
/* 0x0C */ J2DAnmColor* field_0xc;
/* 0x10 */ CPaneMgr* mpParent_c;
/* 0x14 */ f32 field_0x14;
/* 0x18 */ f32 field_0x18;
/* 0x1C */ f32 field_0x1c;
/* 0x20 */ u8 field_0x20;
/* 0x21 */ u8 field_0x21;
/* 0x22 */ u8 field_0x22;
};
struct dMsgScrnLight_HIO_c {
/* 8024575C */ dMsgScrnLight_HIO_c();
/* 802457C4 */ void updateColor(u8);
/* 80246348 */ virtual ~dMsgScrnLight_HIO_c() {}
/* 0x04 */ s8 field_0x4;
/* 0x05 */ u8 field_0x5;
/* 0x06 */ u8 field_0x6[9];
/* 0x0F */ u8 field_0xf[9];
/* 0x18 */ u8 field_0x18[9];
/* 0x21 */ u8 field_0x21[9];
/* 0x2A */ u8 field_0x2a[9];
/* 0x33 */ u8 field_0x33[9];
/* 0x3C */ u8 field_0x3c[9];
/* 0x45 */ u8 field_0x45[9];
};
#endif /* MSG_SCRN_D_MSG_SCRN_LIGHT_H */