d_msg - 99% matching (#899)

Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
This commit is contained in:
123456789758
2025-11-14 22:51:12 -05:00
committed by GitHub
parent 909a2a0dd6
commit 9075155201
18 changed files with 3045 additions and 161 deletions
+1 -1
View File
@@ -1580,7 +1580,7 @@ BOOL daNpc_Cb1_c::execTalk(BOOL param_1) {
fopMsgM_messageSet(mMsgNo);
}
}
else if(l_msg->mStatus == fopMsgStts_UNK15_e) {
else if(l_msg->mStatus == fopMsgStts_INPUT_e) {
if(param_1) {
if(dComIfGp_checkMesgCancelButton()) {
l_msg->mStatus = fopMsgStts_MSG_ENDS_e;
+1 -1
View File
@@ -2311,7 +2311,7 @@ BOOL daNpc_Md_c::talk(int r4) {
fopMsgM_messageSet(mMsgNo);
m313A = 0;
}
} else if (msgStatus == fopMsgStts_UNK15_e) {
} else if (msgStatus == fopMsgStts_INPUT_e) {
if (r4 != 0) {
if (dComIfGp_checkMesgCancelButton()) {
l_msg->mStatus = fopMsgStts_MSG_ENDS_e;
+1 -1
View File
@@ -1641,7 +1641,7 @@ BOOL daNpc_Os_c::talk() {
fopMsgM_messageSet(field_0x780);
}
}
else if(l_msg->mStatus != fopMsgStts_UNK15_e && l_msg->mStatus != fopMsgStts_MSG_TYPING_e && l_msg->mStatus == fopMsgStts_BOX_CLOSED_e) {
else if(l_msg->mStatus != fopMsgStts_INPUT_e && l_msg->mStatus != fopMsgStts_MSG_TYPING_e && l_msg->mStatus == fopMsgStts_BOX_CLOSED_e) {
l_msg->mStatus = fopMsgStts_MSG_DESTROYED_e;
return true;
+1 -1
View File
@@ -6289,7 +6289,7 @@ u16 daNpcPeople_c::talk2(int param_1, fopAc_ac_c* param_2) {
}
break;
case fopMsgStts_UNKA_e:
case fopMsgStts_CLOSE_WAIT_e:
if(m7A8 == 0) {
chkMsg();
m7A8 = 1;
+1 -1
View File
@@ -540,7 +540,7 @@ void daObjMknjD::Act_c::privateCut() {
case ACT_LESSON: {
u16 msgStatus = talk(1);
if (msgStatus == fopMsgStts_BOX_CLOSED_e || msgStatus == fopMsgStts_UNK15_e) {
if (msgStatus == fopMsgStts_BOX_CLOSED_e || msgStatus == fopMsgStts_INPUT_e) {
doCutEnd = true;
}
break;
+4 -4
View File
@@ -514,13 +514,13 @@ u16 daTag_Hint_c::talk() {
break;
case 2:
sVar3 = l_msg->mStatus;
if (sVar3 == 0xe) {
if (sVar3 == fopMsgStts_MSG_DISPLAYED_e) {
l_msg->mStatus = next_msgStatus(&m290);
if (l_msg->mStatus == 0xf) {
if (l_msg->mStatus == fopMsgStts_MSG_CONTINUES_e) {
fopMsgM_messageSet(m290);
}
} else if (sVar3 == 0x12) {
l_msg->mStatus = 0x13;
} else if (sVar3 == fopMsgStts_BOX_CLOSED_e) {
l_msg->mStatus = fopMsgStts_MSG_DESTROYED_e;
m294 = -1;
}
break;
+1 -1
View File
@@ -208,7 +208,7 @@ void daTag_Island_c::demoInitTact_Bf() {
/* 00000778-000007C8 .text demoProcTact_Bf__14daTag_Island_cFv */
BOOL daTag_Island_c::demoProcTact_Bf() {
if (talk() == fopMsgStts_UNK15_e)
if (talk() == fopMsgStts_INPUT_e)
dComIfGp_evmng_cutEnd(mStaffId);
return TRUE;
}
+4 -4
View File
@@ -1,7 +1,7 @@
//
// Generated by dtk
// Translation Unit: d_mesg.cpp
//
/**
* d_mesg.cpp
* Textboxes (cutscenes)
*/
#include "d/dolzel.h" // IWYU pragma: keep
#include "d/d_mesg.h"
+8 -8
View File
@@ -339,14 +339,14 @@ dMeter_menuHIO_c::dMeter_menuHIO_c() {
/* 801EF57C-801EF75C .text __ct__16dMeter_msg_HIO_cFv */
dMeter_msg_HIO_c::dMeter_msg_HIO_c() {
field_0x5 = 0x1e;
field_0x6 = 0x1e;
field_0x7 = 0x1e;
field_0x8 = 0xd7;
field_0x9 = 0x1e;
field_0xa = 0x1e;
field_0xb = 0x4b;
field_0xc = 0;
field_0x5.r = 0x1e;
field_0x5.g = 0x1e;
field_0x5.b = 0x1e;
field_0x5.a = 0xd7;
field_0x9.r = 0x1e;
field_0x9.g = 0x1e;
field_0x9.b = 0x4b;
field_0x9.a = 0;
field_0x5a = 0;
field_0x5c = 0;
field_0x5e = 0x1e;
+2 -2
View File
@@ -40,8 +40,8 @@ dMn_HIO_c::dMn_HIO_c() {
void dMetronome_c::screenSet() {
static const u32 cn_t2[] = { 'cn08', 'cn09', 'cn10', 'cn11', 'cn12', 'cn13' };
static const u32 wn_t2[] = { 'wn08', 'wn09', 'wn10', 'wn11', 'wn12', 'wn13' };
static const u32 i11_t2[] = { 'i081', 'i091', 'i101', 'i111', 'i121', 'i131' };
static const u32 i12_t2[] = { 'i082', 'i092', 'i102', 'i112', 'i122', 'i132' };
static const u32 i12_t2[] = { 'i081', 'i091', 'i101', 'i111', 'i121', 'i131' };
static const u32 i11_t2[] = { 'i082', 'i092', 'i102', 'i112', 'i122', 'i132' };
static const u32 bs_t2[] = { 'bs08', 'bs09', 'bs10', 'bs11', 'bs12', 'bs13' };
static const u32 cn_t1[] = { 'cn01', 'cn02', 'cn03', 'cn04', 'cn05', 'cn06', 'cn07' };
+2924 -122
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -813,7 +813,7 @@ bool fopMsgM_getScopeMode() {
/* 8002C624-8002C650 .text fopMsgM_forceSendOn__Fv */
bool fopMsgM_forceSendOn() {
if (dComIfGp_getScopeMesgStatus() == fopMsgStts_UNKA_e) {
if (dComIfGp_getScopeMesgStatus() == fopMsgStts_CLOSE_WAIT_e) {
pushButton = true;
return true;
}