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
+2 -2
View File
@@ -64,7 +64,7 @@ int dCamera_c::EndEventCamera(int param_1) {
clrFlag(0x20000000);
mEventData.field_0x0 = 1;
if (dComIfGp_getEvent().runCheck()) {
if (dComIfGp_getEvent()->runCheck()) {
dComIfGp_getEventManager().setCameraPlay(2);
}
@@ -1845,7 +1845,7 @@ bool dCamera_c::talktoEvCamera() {
bool dCamera_c::maptoolIdEvCamera() {
if (mCurCamStyleTimer == 0) {
int id;
getEvIntData(&id, "ID", g_dComIfG_gameInfo.play.getEvent().getMapToolId());
getEvIntData(&id, "ID", g_dComIfG_gameInfo.play.getEvent()->getMapToolId());
mEventData.field_0x8 = 0;
field_0x160 = 0;