mirror of
https://github.com/zeldaret/tp
synced 2026-07-11 15:28:38 -04:00
Work on d_msg_object (#2186)
This commit is contained in:
@@ -11,7 +11,7 @@ class JUTFont;
|
||||
struct JMSMesgEntry_c {
|
||||
/* 0x00 */ u32 mStringOffset;
|
||||
/* 0x04 */ u16 mStringId;
|
||||
/* 0x06 */ u16 field_0x04;
|
||||
/* 0x06 */ u16 field_0x06;
|
||||
/* 0x08 */ u8 field_0x08;
|
||||
/* 0x09 */ u8 field_0x09;
|
||||
/* 0x0A */ u8 field_0x0a;
|
||||
@@ -30,6 +30,7 @@ struct JMSMesgHeader_c {
|
||||
/* 0x0A */ u16 entrySize;
|
||||
/* 0x0C */ u16 field_0xc;
|
||||
/* 0x0E */ u16 field_0xe;
|
||||
/* 0x10 */ JMSMesgEntry_c entries[0];
|
||||
}; // Size: 0x10
|
||||
|
||||
class STControl;
|
||||
@@ -98,6 +99,28 @@ struct jmessage_tReference : public JMessage::TReference {
|
||||
void setPageEndCount(s16 i_endCount) { mPageEndCount = i_endCount; }
|
||||
void onBombNameUseFlag() { mBombNameUseFlag = 1; }
|
||||
void onSelectRubyFlag(int i_flag) { mSelectRubyFlag |= (1 << i_flag); }
|
||||
void setpStatus(u16* status) { mpStatus = status; }
|
||||
void setObjectPtr(dMsgObject_c* ptr) { mpObjectPtr = ptr; }
|
||||
void setCountBackUp() { mCharactor.mCountBackUp = mCharactor.field_0x40e; }
|
||||
void setSelMsgPtr(char* ptr) { mpSelMsgPtr = ptr; }
|
||||
void setPageNum(s16 pageNum) { mPageNum = pageNum; }
|
||||
void setStopFlag(u8 flag) { mStopFlag = flag; }
|
||||
void setStatus(u16 status) { *mpStatus = status; }
|
||||
void setFont(JUTFont* font) { mpFont = font; }
|
||||
void setFontSizeX(f32 x) { mFontSizeX = x; }
|
||||
void setFontSizeY(f32 y) { mFontSizeY = y; }
|
||||
void setRubySize(f32 size) { mRubySize = size; }
|
||||
void setTBoxWidth(f32 width) { mTBoxWidth = width; }
|
||||
void setTBoxHeight(f32 height) { mTBoxHeight = height; }
|
||||
void setLineSpace(f32 space) { mLineSpace = space; }
|
||||
void setCharSpace(f32 space) { mCharSpace = space; }
|
||||
void setRubyCharSpace(f32 space) { mRubyCharSpace = space; }
|
||||
void setSelFontSize(f32 size) { mSelFontSize = size; }
|
||||
void setSelRubySize(f32 size) { mSelRubySize = size; }
|
||||
void setSelTBoxWidth(f32 width) { mSelTBoxWidth = width; }
|
||||
void setSelCharSpace(f32 space) { mSelCharSpace = space; }
|
||||
void setSelRubyCharSpace(f32 space) { mSelRubyCharSpace = space; }
|
||||
void decSendTimer() { mSendTimer--; }
|
||||
|
||||
void setLineLength(int i_no, f32 i_strLen, f32 i_spaceLen) {
|
||||
mStrLength[i_no] = i_strLen;
|
||||
@@ -110,6 +133,13 @@ struct jmessage_tReference : public JMessage::TReference {
|
||||
}
|
||||
}
|
||||
|
||||
void addCharAllAlphaRate() {
|
||||
mCharAllAlphaRate += mAddCharAllAlphaRate;
|
||||
if (mCharAllAlphaRate > 1.0f) {
|
||||
mCharAllAlphaRate = 1.0f;
|
||||
}
|
||||
}
|
||||
|
||||
dMsgObject_c* getObjectPtr() { return mpObjectPtr; }
|
||||
u8 getForm() { return mForm; }
|
||||
u8 getNowLightCount() { return mNowLightCount; }
|
||||
@@ -134,14 +164,37 @@ struct jmessage_tReference : public JMessage::TReference {
|
||||
f32 getSelRubyCharSpace() { return mSelRubyCharSpace; }
|
||||
f32 getRubySize() { return mRubySize; }
|
||||
f32 getRubyCharSpace() { return mRubyCharSpace; }
|
||||
char* getSelTextPtr(int idx) { return mSelText[idx]; }
|
||||
char* getSelRubyPtr(int idx) { return mSelRuby[idx]; }
|
||||
char* getTextPtr() { return mText; }
|
||||
char* getTextSPtr() { return mTextS; }
|
||||
char* getRubyPtr() { return mRuby; }
|
||||
u8 getSelectRubyFlag() { return mSelectRubyFlag; }
|
||||
f32 getSelTBoxWidth() { return mSelTBoxWidth; }
|
||||
u8 getSelectPos() { return mSelectPos; }
|
||||
u16 getMsgID() { return mMsgID; }
|
||||
bool isButtonTagStopFlag() { return mButtonTagStopFlag; }
|
||||
u8 getStopFlag() { return mStopFlag; }
|
||||
u8 getSendFlag() { return mSendFlag; }
|
||||
u8 getFukiPosType() { return mFukiPosType; }
|
||||
u16 getStatus() { return *mpStatus; }
|
||||
u8 getArrange() { return mArrange; }
|
||||
|
||||
struct CharSoundInfo {
|
||||
u16 data[0x200];
|
||||
s16 field_0x40c;
|
||||
s16 field_0x40e;
|
||||
s16 mCountBackUp;
|
||||
};
|
||||
CharSoundInfo getCharSoundInfo() { return mCharactor;}
|
||||
u32 getDemoFrame() { return mDemoFrame; }
|
||||
u32 getRevoMessageID() { return mRevoMessageID; }
|
||||
f32 getCharAllAlphaRate() { return mCharAllAlphaRate; }
|
||||
|
||||
/* 80228CB4 */ virtual ~jmessage_tReference();
|
||||
|
||||
/* 0x0008 */ STControl* mpStick;
|
||||
/* 0x000C */ u16 mCharactor[0x200];
|
||||
/* 0x040C */ s16 field_0x40c;
|
||||
/* 0x040E */ s16 field_0x40e;
|
||||
/* 0x0410 */ s16 mCountBackUp;
|
||||
/* 0x000C */ CharSoundInfo mCharactor;
|
||||
/* 0x0414 */ cXyz mActorPos;
|
||||
/* 0x0420 */ f32 mFontSizeX;
|
||||
/* 0x0424 */ f32 mFontSizeY;
|
||||
@@ -188,8 +241,8 @@ struct jmessage_tReference : public JMessage::TReference {
|
||||
/* 0x0A1C */ char mText[0x200];
|
||||
/* 0x0C1C */ char mTextS[0x200];
|
||||
/* 0x0E1C */ char mRuby[0x200];
|
||||
/* 0x101C */ u8 mSelText[3][50];
|
||||
/* 0x10B2 */ u8 mSelRuby[3][80];
|
||||
/* 0x101C */ char mSelText[3][50];
|
||||
/* 0x10B2 */ char mSelRuby[3][80];
|
||||
/* 0x11A2 */ s8 mPageLine[40];
|
||||
/* 0x11CA */ s8 mPageLineMax[40];
|
||||
/* 0x11F2 */ u8 mPageType[40];
|
||||
@@ -272,6 +325,9 @@ struct jmessage_tSequenceProcessor : public JMessage::TSequenceProcessor,
|
||||
/* 8022C8FC */ virtual bool do_jump_isReady();
|
||||
/* 8022CBE4 */ virtual void do_jump(void const*, char const*);
|
||||
|
||||
u8 getMouthCheck() { return mMouthCheck; }
|
||||
void setForceForm(u8 forceForm) { mForceForm = forceForm; }
|
||||
|
||||
/* 0x4C jmessage_tMeasureProcessor */
|
||||
/* 0x9C */ const void* field_0x9c;
|
||||
/* 0xA0 */ const char* field_0xa0;
|
||||
@@ -330,6 +386,25 @@ struct jmessage_tRenderingProcessor : public JMessage::TRenderingProcessor {
|
||||
/* 8022D0A0 */ virtual void do_character(int);
|
||||
/* 8022D74C */ virtual bool do_tag(u32, void const*, u32);
|
||||
|
||||
void setTextInitPos(float x, float y) {
|
||||
mTextInitPosX = x;
|
||||
mTextInitPosY = y;
|
||||
}
|
||||
|
||||
void setTextScale(float x, float y) {
|
||||
mTextInitScaleX = x;
|
||||
mTextInitScaleY = y;
|
||||
}
|
||||
|
||||
void setSelTextInitPos(int idx, float x, float y) {
|
||||
mSelTextInitPosX[idx] = x;
|
||||
mSelTextInitPosY[idx] = y;
|
||||
}
|
||||
|
||||
void setTextInitOffsetPos(f32 offset) { mTextInitOffsetPos = offset; }
|
||||
void setOutFont(COutFont_c* font) { mpOutFont = font; }
|
||||
void setCharInfoPtr(CharInfo_c* info) { mCharInfoPtr = info; }
|
||||
|
||||
/* 0x038 */ COutFont_c* mpOutFont;
|
||||
/* 0x03C */ CharInfo_c* mCharInfoPtr;
|
||||
/* 0x040 */ s16* mpCharInfoCnt;
|
||||
|
||||
+145
-69
@@ -16,17 +16,17 @@ struct jmessage_tSequenceProcessor;
|
||||
|
||||
class dMsgObject_c : public msg_class {
|
||||
public:
|
||||
/* 80233284 */ void _create(msg_class*);
|
||||
/* 80233590 */ void _execute();
|
||||
/* 802339BC */ void _draw();
|
||||
/* 80233AE8 */ void _delete();
|
||||
/* 80233284 */ int _create(msg_class*);
|
||||
/* 80233590 */ int _execute();
|
||||
/* 802339BC */ int _draw();
|
||||
/* 80233AE8 */ int _delete();
|
||||
/* 80233D04 */ void setMessageIndex(u32, u32, bool);
|
||||
/* 80233E70 */ void setMessageIndexDemo(u32, bool);
|
||||
/* 80233F84 */ int getMessageIndex(u32);
|
||||
/* 80233FD8 */ void getRevoMessageIndex(u32);
|
||||
/* 802340D4 */ void getMessageIndexAlways(u32);
|
||||
/* 80234128 */ void getMessageIDAlways(u32);
|
||||
/* 8023413C */ static s16 getMessageGroup(u32);
|
||||
/* 80233F84 */ u32 getMessageIndex(u32);
|
||||
/* 80233FD8 */ u32 getRevoMessageIndex(u32);
|
||||
/* 802340D4 */ u32 getMessageIndexAlways(u32);
|
||||
/* 80234128 */ u32 getMessageIDAlways(u32);
|
||||
/* 8023413C */ s16 getMessageGroup(u32);
|
||||
/* 80234150 */ void waitProc();
|
||||
/* 80234318 */ void openProc();
|
||||
/* 802349D8 */ void outnowProc();
|
||||
@@ -43,15 +43,15 @@ public:
|
||||
/* 802360A0 */ void talkStartInit();
|
||||
/* 8023670C */ void fukiPosCalc(bool);
|
||||
/* 802368E4 */ void setStatusLocal(u16);
|
||||
/* 802368F8 */ void getStatusLocal();
|
||||
/* 802368F8 */ u16 getStatusLocal();
|
||||
/* 8023690C */ void delete_screen(bool);
|
||||
/* 802369D8 */ void isSend();
|
||||
/* 802369D8 */ u8 isSend();
|
||||
/* 80236BF8 */ void readMessageGroupLocal(mDoDvdThd_mountXArchive_c**);
|
||||
/* 80236C90 */ void changeFlowGroupLocal(s32);
|
||||
/* 80236CD4 */ void demoMessageGroupLocal();
|
||||
/* 80236D00 */ void endFlowGroupLocal();
|
||||
/* 80236D0C */ void changeGroupLocal(s16);
|
||||
/* 80236DE4 */ void getStringLocal(u32, J2DTextBox*, J2DTextBox*, JUTFont*, COutFont_c*, char*,
|
||||
/* 80236DE4 */ bool getStringLocal(u32, J2DTextBox*, J2DTextBox*, JUTFont*, COutFont_c*, char*,
|
||||
char*, char*, s16*);
|
||||
/* 802370A8 */ u8 isGetItemMessage();
|
||||
/* 802370BC */ bool isKanbanMessage();
|
||||
@@ -73,12 +73,12 @@ public:
|
||||
/* 802374D0 */ u8 getSelectBombNum();
|
||||
/* 80237520 */ void onMsgSendControlLocal();
|
||||
/* 80237530 */ void offMsgSendControlLocal();
|
||||
/* 80237550 */ void isMsgSendControlLocal();
|
||||
/* 80237550 */ int isMsgSendControlLocal();
|
||||
/* 8023755C */ void onMsgSendLocal();
|
||||
/* 8023756C */ void offMsgSendLocal();
|
||||
/* 8023757C */ void isMsgSendLocal();
|
||||
/* 80237588 */ void isMouthCheckLocal();
|
||||
/* 8023759C */ void getBombBuyPriceLocal(u8);
|
||||
/* 8023757C */ int isMsgSendLocal();
|
||||
/* 80237588 */ bool isMouthCheckLocal();
|
||||
/* 8023759C */ int getBombBuyPriceLocal(u8);
|
||||
/* 802375E4 */ void addSelectBomBag(u8);
|
||||
/* 80237610 */ void resetSelectBomBag();
|
||||
/* 8023763C */ u8 getSelectBombBagIDLocal();
|
||||
@@ -88,26 +88,26 @@ public:
|
||||
/* 802378B8 */ static void setShopWaitTimer(u8);
|
||||
/* 802378CC */ void setSelectWordFlagLocal(u8);
|
||||
/* 802378D4 */ bool isHowlHearingModeLocal();
|
||||
/* 80237934 */ void isCameraCancelFlag();
|
||||
/* 80237950 */ void onCameraCancelFlag();
|
||||
/* 80237968 */ void offCameraCancelFlag();
|
||||
/* 80237934 */ static bool isCameraCancelFlag();
|
||||
/* 80237950 */ static void onCameraCancelFlag();
|
||||
/* 80237968 */ static void offCameraCancelFlag();
|
||||
/* 80237980 */ static bool isKillMessageFlag();
|
||||
/* 80237994 */ static void onKillMessageFlag();
|
||||
/* 802379AC */ static void setKillMessageFlag();
|
||||
/* 802379D8 */ void setKillMessageFlagLocal();
|
||||
/* 80237A74 */ static void setTalkPartner(fopAc_ac_c*);
|
||||
/* 80237A88 */ static void setNowTalkFlowNo(s16);
|
||||
/* 80237A9C */ void getNowTalkFlowNo();
|
||||
/* 80237AB0 */ void setDemoMessage(u32);
|
||||
/* 80237A9C */ static s16 getNowTalkFlowNo();
|
||||
/* 80237AB0 */ static void setDemoMessage(u32);
|
||||
/* 80237AE0 */ static void setTalkHeap(void*);
|
||||
/* 80237B10 */ void setTalkHeapLocal(void*);
|
||||
/* 80237B54 */ static void* getTalkHeap();
|
||||
/* 80237B68 */ void isDraw();
|
||||
/* 80237B68 */ bool isDraw();
|
||||
/* 80237BFC */ void setButtonStatusLocal();
|
||||
/* 80237D88 */ void setDemoMessageLocal(u32);
|
||||
/* 80237DD8 */ void getSmellTypeMessageIDLocal();
|
||||
/* 80237DD8 */ u16 getSmellTypeMessageIDLocal();
|
||||
/* 80237E04 */ void setSmellTypeLocal(u8);
|
||||
/* 80237E58 */ void getSelectCursorPosLocal();
|
||||
/* 80237E58 */ u8 getSelectCursorPosLocal();
|
||||
/* 80237E68 */ void setSelectCursorPosLocal(u8);
|
||||
/* 80237F10 */ void setTalkActorLocal(fopAc_ac_c*);
|
||||
/* 8023800C */ static void readMessageGroup(mDoDvdThd_mountXArchive_c**);
|
||||
@@ -117,11 +117,11 @@ public:
|
||||
/* 802380C4 */ static void changeGroup(s16);
|
||||
/* 802380F4 */ static bool getString(u32, J2DTextBox*, J2DTextBox*, JUTFont*, COutFont_c*,
|
||||
char*, char*, char*, s16*);
|
||||
/* 80238174 */ static u8* getMsgDtPtr();
|
||||
/* 80238174 */ static void* getMsgDtPtr();
|
||||
/* 80238188 */ static void setProcessID(unsigned int);
|
||||
/* 8023819C */ static fopAc_ac_c* getActor();
|
||||
/* 802381C0 */ static fopAc_ac_c* getpTalkActor();
|
||||
/* 802381D4 */ static u32 getIdx();
|
||||
/* 802381D4 */ static int getIdx();
|
||||
/* 802381E8 */ static u16 getNodeIdx();
|
||||
/* 802381FC */ static void setStatus(u16);
|
||||
/* 8023822C */ static u16 getStatus();
|
||||
@@ -131,24 +131,24 @@ public:
|
||||
/* 802382C8 */ static void offMsgSendControl();
|
||||
/* 802382F4 */ static int isMsgSendControl();
|
||||
/* 80238320 */ static void onMsgSend();
|
||||
/* 8023834C */ void offMsgSend();
|
||||
/* 80238378 */ void isMsgSend();
|
||||
/* 8023834C */ static void offMsgSend();
|
||||
/* 80238378 */ static int isMsgSend();
|
||||
/* 802383A4 */ static bool isMouthCheck();
|
||||
/* 802383D0 */ static u32 getMessageID();
|
||||
/* 802383E4 */ u32 getSmellTypeMessageID();
|
||||
/* 802383E4 */ u16 getSmellTypeMessageID();
|
||||
/* 80238410 */ static void setSmellType(u8);
|
||||
/* 80238440 */ static u8 getSelectCursorPos();
|
||||
/* 8023846C */ static void setSelectCursorPos(u8);
|
||||
/* 8023849C */ void setPortalMessageID(u16);
|
||||
/* 802384B0 */ void setInsectItemNo(u8);
|
||||
/* 8023849C */ static void setPortalMessageID(u16);
|
||||
/* 802384B0 */ static void setInsectItemNo(u8);
|
||||
/* 802384C4 */ static void setLetterNameID(u16);
|
||||
/* 802384D8 */ static void setArrowNum(u8);
|
||||
/* 802384EC */ void setMsgOutputType(u8);
|
||||
/* 80238500 */ void getMsgOutputType();
|
||||
/* 802384EC */ static void setMsgOutputType(u8);
|
||||
/* 80238500 */ static u8 getMsgOutputType();
|
||||
/* 80238514 */ static const char* getWord();
|
||||
/* 80238528 */ void getSelectWord(int);
|
||||
/* 80238528 */ static const char* getSelectWord(int);
|
||||
/* 80238544 */ static void setSelectWordFlag(u8);
|
||||
/* 80238574 */ void getSelectWordFlag();
|
||||
/* 80238574 */ static u8 getSelectWordFlag();
|
||||
/* 80238588 */ static bool isHowlHearingMode();
|
||||
/* 802385B4 */ static u8 getSelectBombBagID();
|
||||
/* 802385E0 */ static s16 getSelectBombPrice();
|
||||
@@ -166,13 +166,34 @@ public:
|
||||
s16 getNowTotalPaymentLocal() { return mNowTotalPayment; }
|
||||
void setNowTotalPaymentLocal(s16 i_nowTotalPayment) { mNowTotalPayment = i_nowTotalPayment; }
|
||||
void onInputFlagLocal() { mInputFlag = 1; }
|
||||
void offPaymentFlagLocal() { mPaymentFlag = 0; }
|
||||
void offInputFlagLocal() { mInputFlag = 0; }
|
||||
void offPaymentFlagLocal() { mPaymentFlag = false; }
|
||||
void offAutoMessageFlagLocal() { mAutoMessageFlag = 0; }
|
||||
void onAutoMessageFlagLocal() { mAutoMessageFlag = 1; }
|
||||
void setFundRaisingValueLocal(s16 i_value) { mFundRaisingValue = i_value; }
|
||||
u16 getPortalMessageIDLocal() { return mPortalMessageID; }
|
||||
bool isAutoMessageFlagLocal() { return mAutoMessageFlag; }
|
||||
bool isPaymentFlagLocal() { return mPaymentFlag; }
|
||||
void onPaymentFlagLocal() { mPaymentFlag = true; }
|
||||
s16 getNowTalkFlowNoLocal() { return mNowTalkFlowNo; }
|
||||
void setNowTalkFlowNoLocal(s16 param_0) { mNowTalkFlowNo = param_0; }
|
||||
void setTalkPartnerLocal(fopAc_ac_c* actor) { mpTalkPartner = actor; }
|
||||
void onCameraCancelFlagLocal() { mCameraCancelFlag = true; }
|
||||
void offCameraCancelFlagLocal() { mCameraCancelFlag = false; }
|
||||
void onKillMessageFlagLocal() { mKillMessageFlag = true; }
|
||||
void setProcessIDLocal(unsigned int id) { mProcessID = id; }
|
||||
void setPortalMessageIDLocal(u16 msgID) { mPortalMessageID = msgID; }
|
||||
void setInsectItemNoLocal(u8 itemNo) { mInsectItemNo = itemNo; }
|
||||
void setLetterNameIDLocal(u16 nameID) { mLetterNameID = nameID; }
|
||||
void setArrowNumLocal(u8 arrowNum) { mArrowNum = arrowNum; }
|
||||
void setMsgOutputTypeLocal(u8 outputType) { mMsgOutputType = outputType; }
|
||||
void addNowTotalPrice(s16 price) { addNowTotalPriceLocal(price); }
|
||||
void addNowTotalPriceLocal(s16 price) { mNowTotalPrice += price; }
|
||||
void addNowTotalPayment(s16 price) { addNowTotalPaymentLocal(price); }
|
||||
void addNowTotalPaymentLocal(s16 price) { mNowTotalPayment += price; }
|
||||
void setBombBagIDLocal(int idx, u8 id) { mBombBagID[idx] = id; }
|
||||
void setBombMessageIDLocal(int idx, u16 id) { mBombMessageID[idx] = id; }
|
||||
void setBombNumLocal(int idx, u8 id) { mBombNum[idx] = id; }
|
||||
|
||||
u8 getSelectPushFlag() { return mSelectPushFlag; }
|
||||
u8 getSelectCancelPos() { return mSelectCancelPos; }
|
||||
@@ -187,10 +208,36 @@ public:
|
||||
void offAutoMessageFlag() { offAutoMessageFlagLocal(); }
|
||||
void onAutoMessageFlag() { onAutoMessageFlagLocal(); }
|
||||
void setFundRaisingValue(s16 i_value) { setFundRaisingValueLocal(i_value); }
|
||||
s16 getFundRaisingValue() { return getFundRaisingValueLocal(); }
|
||||
s16 getFundRaisingValueLocal() { return mFundRaisingValue; }
|
||||
u16 getPortalMessageID() { return getPortalMessageIDLocal(); }
|
||||
bool isAutoMessageFlag() { return isAutoMessageFlagLocal(); }
|
||||
bool isPaymentFlag() { return isPaymentFlagLocal(); }
|
||||
u8 getFukiKind() { return mFukiKind; }
|
||||
bool isKillMessageFlagLocal() { return mKillMessageFlag; }
|
||||
void offKillMessageFlagLocal() { mKillMessageFlag = false; }
|
||||
void* getTalkHeapLocal() { return mpTalkHeap; }
|
||||
u8 getSelectBomBag(int idx) { return getSelectBombBagLocal(idx); }
|
||||
u8 getSelectBombBagLocal(int idx) { return mSelectBombBag[idx]; }
|
||||
u8 getBombNumLocal(int idx) { return mBombNum[idx]; }
|
||||
bool isCameraCancelFlagLocal() { return mCameraCancelFlag; }
|
||||
void* getMsgDtPtrLocal() { return mpMsgDt; }
|
||||
// TODO: The type return is unclear. Maybe msg_class*.
|
||||
fopAc_ac_c* getActorLocal() { return (fopAc_ac_c*)field_0x100; }
|
||||
fopAc_ac_c* getpTalkActorLocal() { return mpTalkActor; }
|
||||
int getIdxLocal() { return mIdx; }
|
||||
u16 getNodeIdxLocal() { return mNodeIdx; }
|
||||
dMsgScrnBase_c* getScrnDrawPtrLocal() { return mpScrnDraw; }
|
||||
u32 getMessageIDLocal() { return mMessageID; }
|
||||
u8 getMsgOutputTypeLocal() { return mMsgOutputType; }
|
||||
const char* getWordLocal() { return mWord; }
|
||||
const char* getSelectWordLocal(int idx) { return mSelectWord[idx]; }
|
||||
u8 getSelectWordFlagLocal() { return mSelectWordFlag; }
|
||||
u16 getLetterNameIDLocal() { return mLetterNameID; }
|
||||
u16 getInsectItemNoLocal() { return mInsectItemNo; }
|
||||
u16 getBombMessageIDLocal(int idx) { return mBombMessageID[idx]; }
|
||||
u8 getBombBagIDLocal(int idx) { return mBombBagID[idx]; }
|
||||
u8 getArrowNumLocal() { return mArrowNum; }
|
||||
|
||||
jmessage_tSequenceProcessor* getSequenceProcessor() { return mpSeqProc; }
|
||||
|
||||
@@ -200,39 +247,40 @@ public:
|
||||
/* 0x108 */ dMsgString_c* mpMsgString;
|
||||
/* 0x10C */ COutFont_c* mpOutFont;
|
||||
/* 0x110 */ JMessage::TResourceContainer* mpResCont;
|
||||
/* 0x114 */ JMessage::TControl* mpCtrl;
|
||||
/* 0x114 */ jmessage_tControl* mpCtrl;
|
||||
/* 0x118 */ jmessage_tReference* mpRefer;
|
||||
/* 0x11C */ jmessage_tSequenceProcessor* mpSeqProc;
|
||||
/* 0x120 */ jmessage_tRenderingProcessor* mpRenProc;
|
||||
/* 0x124 */ JMessage::TParse* field_0x124;
|
||||
/* 0x128 */ void* mpMsgRes;
|
||||
/* 0x12C */ u8 field_0x12c[4];
|
||||
/* 0x12C */ int field_0x12c;
|
||||
/* 0x130 */ void* mpMsgDt;
|
||||
/* 0x134 */ u8 field_0x134[4];
|
||||
/* 0x138 */ fopAc_ac_c* mpTalkActor;
|
||||
/* 0x13C */ int field_0x13c;
|
||||
/* 0x13C */ fopAc_ac_c* field_0x13c;
|
||||
/* 0x140 */ fopAc_ac_c* mpTalkPartner;
|
||||
/* 0x144 */ void* mpTalkHeap;
|
||||
/* 0x148 */ int field_0x148;
|
||||
/* 0x144 */ JKRExpHeap* mpTalkHeap;
|
||||
/* 0x148 */ JKRHeap* field_0x148;
|
||||
/* 0x14C */ int mProcessID;
|
||||
/* 0x150 */ f32 field_0x150;
|
||||
/* 0x154 */ int mMessageID;
|
||||
/* 0x158 */ int field_0x158;
|
||||
/* 0x15C */ int field_0x15c;
|
||||
/* 0x154 */ u32 mMessageID;
|
||||
/* 0x158 */ u32 field_0x158;
|
||||
/* 0x15C */ u32 field_0x15c;
|
||||
/* 0x160 */ int mIdx;
|
||||
/* 0x164 */ int mNodeIdx;
|
||||
/* 0x164 */ u16 mNodeIdx;
|
||||
/* 0x166 */ u16 field_0x166;
|
||||
/* 0x168 */ u16 field_0x168;
|
||||
/* 0x16A */ u8 field_0x16a[2];
|
||||
/* 0x16C */ u16 field_0x16c;
|
||||
/* 0x16E */ u16 field_0x16e;
|
||||
/* 0x170 */ u16 mNowTalkFlowNo;
|
||||
/* 0x172 */ u16 field_0x172;
|
||||
/* 0x16A */ s16 field_0x16a;
|
||||
/* 0x16C */ s16 field_0x16c;
|
||||
/* 0x16E */ s16 field_0x16e;
|
||||
/* 0x170 */ s16 mNowTalkFlowNo;
|
||||
/* 0x172 */ s16 field_0x172;
|
||||
/* 0x174 */ s16 mInputValue;
|
||||
/* 0x176 */ u16 mFundRaisingValue;
|
||||
/* 0x176 */ s16 mFundRaisingValue;
|
||||
/* 0x178 */ u16 field_0x178;
|
||||
/* 0x17A */ s16 mNowTotalPrice;
|
||||
/* 0x17C */ s16 mNowTotalPayment;
|
||||
/* 0x17E */ u16 field_0x17e;
|
||||
/* 0x17E */ s16 field_0x17e;
|
||||
/* 0x180 */ u16 mPortalMessageID;
|
||||
/* 0x182 */ u16 mBombMessageID[3];
|
||||
/* 0x188 */ u16 mLetterNameID;
|
||||
@@ -250,7 +298,7 @@ public:
|
||||
/* 0x19B */ u8 field_0x19b;
|
||||
/* 0x19C */ u8 mFlowChk;
|
||||
/* 0x19D */ u8 field_0x19d;
|
||||
/* 0x19E */ u8 mCameraCancelFlag;
|
||||
/* 0x19E */ bool mCameraCancelFlag;
|
||||
/* 0x19F */ u8 mInputFlag;
|
||||
/* 0x1A0 */ u8 mSmellType;
|
||||
/* 0x1A1 */ u8 mSelectCancelPos;
|
||||
@@ -270,9 +318,9 @@ public:
|
||||
/* 0x4CD */ u8 field_0x4cd;
|
||||
/* 0x4CE */ u8 field_0x4ce;
|
||||
/* 0x4CF */ u8 mAutoMessageFlag;
|
||||
/* 0x4D0 */ u8 mPaymentFlag;
|
||||
/* 0x4D0 */ bool mPaymentFlag;
|
||||
/* 0x4D1 */ u8 field_0x4d1;
|
||||
/* 0x4D2 */ u8 mKillMessageFlag;
|
||||
/* 0x4D2 */ bool mKillMessageFlag;
|
||||
/* 0x4D3 */ u8 mEquipBombInfo;
|
||||
/* 0x4D4 */ u8 field_0x4d4;
|
||||
};
|
||||
@@ -304,6 +352,10 @@ inline bool dMsgObject_isKillMessageFlag() {
|
||||
return dMsgObject_c::isKillMessageFlag();
|
||||
}
|
||||
|
||||
inline bool dMsgObject_isCameraCancelFlag() {
|
||||
return dMsgObject_c::isCameraCancelFlag();
|
||||
}
|
||||
|
||||
inline u32 dMsgObject_getMessageID() {
|
||||
return dMsgObject_c::getMessageID();
|
||||
}
|
||||
@@ -324,10 +376,22 @@ inline void dMsgObject_offMsgSendControl() {
|
||||
dMsgObject_getMsgObjectClass()->offMsgSendControl();
|
||||
}
|
||||
|
||||
inline void dMsgObject_onMsgSendControl() {
|
||||
dMsgObject_getMsgObjectClass()->onMsgSendControl();
|
||||
}
|
||||
|
||||
inline int dMsgObject_isMsgSendControl() {
|
||||
return dMsgObject_getMsgObjectClass()->isMsgSendControl();
|
||||
}
|
||||
|
||||
inline int dMsgObject_isMsgSend() {
|
||||
return dMsgObject_getMsgObjectClass()->isMsgSend();
|
||||
}
|
||||
|
||||
inline void dMsgObject_offMsgSend() {
|
||||
dMsgObject_getMsgObjectClass()->offMsgSend();
|
||||
}
|
||||
|
||||
inline const char* dMsgObject_getWord() {
|
||||
return dMsgObject_c::getWord();
|
||||
}
|
||||
@@ -353,6 +417,14 @@ inline bool dMsgObject_getString(u32 param_0, J2DTextBox* param_1, J2DTextBox* p
|
||||
param_7, param_8);
|
||||
}
|
||||
|
||||
inline void dMsgObject_onCameraCancelFlag() {
|
||||
dMsgObject_c::onCameraCancelFlag();
|
||||
}
|
||||
|
||||
inline void dMsgObject_offCameraCancelFlag() {
|
||||
dMsgObject_c::offCameraCancelFlag();
|
||||
}
|
||||
|
||||
inline void dMsgObject_onKillMessageFlag() {
|
||||
dMsgObject_c::onKillMessageFlag();
|
||||
}
|
||||
@@ -409,12 +481,16 @@ inline void dMsgObject_setTalkHeap(void* heap) {
|
||||
dMsgObject_c::setTalkHeap(heap);
|
||||
}
|
||||
|
||||
inline void dMsgObject_setMsgOutputType(u8 outputType) {
|
||||
dMsgObject_getMsgObjectClass()->setMsgOutputType(outputType);
|
||||
}
|
||||
|
||||
class dMsgObject_HowlHIO_c {
|
||||
public:
|
||||
/* 80232AEC */ dMsgObject_HowlHIO_c();
|
||||
/* 80238B94 */ virtual ~dMsgObject_HowlHIO_c() {}
|
||||
|
||||
/* 0x04 */ s8 field_0x4;
|
||||
/* 0x04 */ s32 field_0x4;
|
||||
/* 0x08 */ JUtility::TColor mHowlLineStartCol;
|
||||
/* 0x0C */ JUtility::TColor mHowlLineEndCol;
|
||||
/* 0x10 */ f32 mHighlightScale;
|
||||
@@ -524,10 +600,10 @@ public:
|
||||
/* 0x0E0 */ f32 mBoxItemTextPosX;
|
||||
/* 0x0E4 */ f32 mBoxItemTextPosY;
|
||||
/* 0x0E8 */ JUtility::TColor
|
||||
mBoxStartBlack[10]; // talk, navi, midna, item, stone, wood, book, wolf,
|
||||
/* 0x110 */ JUtility::TColor mBoxEndBlack[10];
|
||||
/* 0x138 */ JUtility::TColor mBoxStartWhite[10];
|
||||
/* 0x160 */ JUtility::TColor mBoxEndWhite[10];
|
||||
mBoxStartBlack[20]; // talk, navi, midna, item, stone, wood, book, wolf,
|
||||
/* 0x110 */ //JUtility::TColor mBoxEndBlack[10];
|
||||
/* 0x138 */ JUtility::TColor mBoxStartWhite[20];
|
||||
/* 0x160 */ //JUtility::TColor mBoxEndWhite[10];
|
||||
/* 0x188 */ JUtility::TColor mSelMsgInactiveCol;
|
||||
/* 0x18C */ f32 mStageTitleCharPosX;
|
||||
/* 0x190 */ f32 mBossNameCharPosX;
|
||||
@@ -567,15 +643,15 @@ public:
|
||||
/* 0x2F6 */ s16 mFlowIndex;
|
||||
/* 0x2F8 */ s16 mSaveSeqMsgIndex;
|
||||
/* 0x2FA */ s16 mSelWaitFrame;
|
||||
/* 0x2FC */ u16 mBoxAppearBound;
|
||||
/* 0x2FE */ u16 mBoxAppearFrame;
|
||||
/* 0x300 */ u16 mWaitFrame;
|
||||
/* 0x302 */ u16 mLightAppearFrame;
|
||||
/* 0x304 */ u16 field_0x304;
|
||||
/* 0x306 */ u16 mStageTitleFadeIn;
|
||||
/* 0x308 */ u16 mStageTitleFadeOut;
|
||||
/* 0x30A */ u16 mBossNameFadeIn;
|
||||
/* 0x30C */ u16 mBossNameFadeOut;
|
||||
/* 0x2FC */ s16 mBoxAppearBound;
|
||||
/* 0x2FE */ s16 mBoxAppearFrame;
|
||||
/* 0x300 */ s16 mWaitFrame;
|
||||
/* 0x302 */ s16 mLightAppearFrame;
|
||||
/* 0x304 */ s16 field_0x304;
|
||||
/* 0x306 */ s16 mStageTitleFadeIn;
|
||||
/* 0x308 */ s16 mStageTitleFadeOut;
|
||||
/* 0x30A */ s16 mBossNameFadeIn;
|
||||
/* 0x30C */ s16 mBossNameFadeOut;
|
||||
/* 0x30E */ u16 mStageTitleDisplayTime;
|
||||
/* 0x310 */ u16 mBossNameDisplayTime;
|
||||
/* 0x312 */ u16 mBatchDisplayWeight_3;
|
||||
|
||||
@@ -38,6 +38,32 @@ public:
|
||||
/* 8023C4F4 */ virtual void fontAlpha(f32);
|
||||
/* 80238C5C */ virtual void fukiPosCalc(u8);
|
||||
|
||||
f32 getSelTextBoxPosX(int idx) { return mSelTextBoxPosX[idx]; }
|
||||
f32 getSelTextBoxPosY(int idx) { return mSelTextBoxPosY[idx]; }
|
||||
f32 getTextBoxPosX() { return mTextBoxPosX; }
|
||||
f32 getTextBoxPosY() { return mTextBoxPosY; }
|
||||
f32 getTextBoxScaleX() { return mTextBoxScaleX; }
|
||||
f32 getTextBoxScaleY() { return mTextBoxScaleY; }
|
||||
f32 getTextBoxPosOffsetY() { return mTextBoxPosOffsetY; }
|
||||
f32 getFontSizeX() { return mFontSize.mSizeX; }
|
||||
f32 getFontSizeY() { return mFontSize.mSizeY; }
|
||||
f32 getRubySize() { return mRubySize; }
|
||||
f32 getTBoxWidth() { return mTBoxWidth; }
|
||||
f32 getTBoxHeight() { return mTBoxHeight; }
|
||||
f32 getLineSpace() { return mLineSpace; }
|
||||
f32 getCharSpace() { return mCharSpace; }
|
||||
f32 getRubyCharSpace() { return mRubyCharSpace; }
|
||||
f32 getSelFontSize() { return mSelFontSize; }
|
||||
f32 getSelRubySize() { return mSelRubySize; }
|
||||
f32 getSelTBoxWidth() { return mSelTBoxWidth; }
|
||||
f32 getSelCharSpace() { return mSelCharSpace; }
|
||||
f32 getSelRubyCharSpace() { return mSelRubyCharSpace; }
|
||||
CharInfo_c* getCharInfoPtr() { return mCharInfoPtr; }
|
||||
void setCharAlphaRate(f32 rate) { mCharAlphaRate = rate; }
|
||||
void setTextBoxPosOffsetY(f32 offset) { mTextBoxPosOffsetY = offset; }
|
||||
void setMsgID(u16 msgID) { mMsgID = msgID; }
|
||||
void setOutFont(COutFont_c* font) { mpOutFont = font; }
|
||||
|
||||
/* 0x04 */ J2DScreen* mpScreen;
|
||||
/* 0x08 */ CPaneMgr* mpPmP_c;
|
||||
/* 0x0C */ CPaneMgr* mpTm_c[7];
|
||||
|
||||
@@ -42,6 +42,8 @@ struct dMsgScrnHowl_c : public dMsgScrnBase_c {
|
||||
/* 80244304 */ u16 getGuideDataSize();
|
||||
/* 8024438C */ u8 getGuideDataType(int);
|
||||
|
||||
bool isHearingMode() { return field_0x2798 == 3;}
|
||||
|
||||
/* 0x00C4 */ CPaneMgr* mpLineH[3];
|
||||
/* 0x00D0 */ CPaneMgr* mpLineV[7];
|
||||
/* 0x00EC */ CPaneMgr* mpLineAll;
|
||||
|
||||
@@ -2,5 +2,33 @@
|
||||
#define MSG_SCRN_D_MSG_SCRN_ITEM_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "d/msg/d_msg_scrn_base.h"
|
||||
|
||||
struct dMsgScrnItem_c : public dMsgScrnBase_c {
|
||||
/* 8023E79C */ dMsgScrnItem_c(u8, u8, JKRExpHeap*);
|
||||
/* 8023F51C */ ~dMsgScrnItem_c();
|
||||
/* 8023F888 */ void exec();
|
||||
/* 8023FB24 */ void drawSelf();
|
||||
/* 8023FF30 */ void arwAnimeInit();
|
||||
/* 8023FF54 */ void arwAnimeMove();
|
||||
/* 8023FF78 */ void dotAnimeInit();
|
||||
/* 8023FF9C */ void dotAnimeMove();
|
||||
/* 8023FFC0 */ void setSelectString(char*, char*, char*);
|
||||
/* 8023FFE4 */ void setSelectRubyString(char*, char*, char*);
|
||||
/* 80240008 */ bool isSelect();
|
||||
/* 8024002C */ void selectAnimeInit(u8, u8, f32, u8);
|
||||
/* 8024005C */ bool selectAnimeMove(u8, u8, bool);
|
||||
/* 80240080 */ bool selectAnimeEnd();
|
||||
/* 802400A4 */ void fukiScale(f32);
|
||||
/* 802400A8 */ void fukiTrans(f32, f32);
|
||||
/* 802400CC */ void fukiAlpha(f32);
|
||||
/* 80240174 */ void fukiPosCalc(u8);
|
||||
/* 8024074C */ void setBtk0Animation(J2DAnmTextureSRTKey*);
|
||||
/* 802407E8 */ void setBpk0Animation(J2DAnmColor*);
|
||||
/* 80240844 */ void setBpk1Animation(J2DAnmColor*);
|
||||
/* 802408A4 */ void isOugiID();
|
||||
|
||||
u8 field_0xc4[0x1a0 - 0xc4];
|
||||
};
|
||||
|
||||
#endif /* MSG_SCRN_D_MSG_SCRN_ITEM_H */
|
||||
|
||||
@@ -2,5 +2,29 @@
|
||||
#define MSG_SCRN_D_MSG_SCRN_TALK_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "d/msg/d_msg_scrn_base.h"
|
||||
|
||||
struct dMsgScrnTalk_c : public dMsgScrnBase_c {
|
||||
/* 80246FF0 */ dMsgScrnTalk_c(u8, u8, JKRExpHeap*);
|
||||
/* 80247A90 */ ~dMsgScrnTalk_c();
|
||||
/* 80247D34 */ void exec();
|
||||
/* 80247E4C */ void drawSelf();
|
||||
/* 802480F0 */ void arwAnimeInit();
|
||||
/* 80248114 */ void arwAnimeMove();
|
||||
/* 80248138 */ void dotAnimeInit();
|
||||
/* 8024815C */ void dotAnimeMove();
|
||||
/* 80248180 */ void setSelectString(char*, char*, char*);
|
||||
/* 802481AC */ void setSelectRubyString(char*, char*, char*);
|
||||
/* 802481D8 */ bool isSelect();
|
||||
/* 8024820C */ void selectAnimeInit(u8, u8, f32, u8);
|
||||
/* 80248244 */ bool selectAnimeMove(u8, u8, bool);
|
||||
/* 80248278 */ bool selectAnimeEnd();
|
||||
/* 802482AC */ void fukiScale(f32);
|
||||
/* 802482B0 */ void fukiTrans(f32, f32);
|
||||
/* 802482B4 */ void fukiAlpha(f32);
|
||||
/* 8024835C */ void fukiPosCalc(u8);
|
||||
|
||||
u8 field_0xc4[0x48c - 0xc4];
|
||||
};
|
||||
|
||||
#endif /* MSG_SCRN_D_MSG_SCRN_TALK_H */
|
||||
|
||||
Reference in New Issue
Block a user