Resolve all gameInfo fakematches (#2995)

* Clean up various inlines/fakematches/comments

* Copy OptRuby inline name from TWW debug

* Resolve all dEvt_control_c related fakematches, return pointer instead of reference

* Fix some more missing inline usages
This commit is contained in:
LagoLunatic
2025-12-24 19:57:36 -05:00
committed by GitHub
parent cefe919b8d
commit 229527daf7
194 changed files with 767 additions and 1029 deletions
+3 -3
View File
@@ -795,7 +795,7 @@ void daNpc_Toby_c::action() {
}
}
if (dComIfGp_event_runCheck() == FALSE && field_0x1001) {
if (!dComIfGp_event_runCheck() && field_0x1001) {
fopAcM_delete(this);
}
}
@@ -1688,7 +1688,7 @@ int daNpc_Toby_c::cutConversationAboutSCannon(int arg0) {
actor_p = mActorMngr[2].getActorP();
if (actor_p != NULL) {
mJntAnm.lookPos(&actor_p->current.pos, 0);
dComIfGp_getEvent().setPt2(actor_p);
dComIfGp_getEvent()->setPt2(actor_p);
} else {
mJntAnm.lookNone(0);
}
@@ -1726,7 +1726,7 @@ int daNpc_Toby_c::cutConversationAboutSCannon(int arg0) {
field_0xd6c = actor_p->current.pos;
field_0xd6c.y += 600.0f;
mJntAnm.lookPos(&field_0xd6c, 0);
dComIfGp_getEvent().setPt2(actor_p);
dComIfGp_getEvent()->setPt2(actor_p);
} else {
mJntAnm.lookNone(0);
}