From 56d4b05e1ea85058b9717cdfb6e5616eee6ec1a5 Mon Sep 17 00:00:00 2001 From: compugab Date: Mon, 1 Jun 2026 20:37:33 -0400 Subject: match d_lyt_map_capture --- src/d/lyt/d_lyt_map_capture.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/d/lyt/d_lyt_map_capture.cpp b/src/d/lyt/d_lyt_map_capture.cpp index 9f1c0053..785c5774 100644 --- a/src/d/lyt/d_lyt_map_capture.cpp +++ b/src/d/lyt/d_lyt_map_capture.cpp @@ -40,26 +40,18 @@ void dLytMapCapture_c::execute() { mStateMgr.executeState(); } -void fn_8012D6D0(mVec3_c *ignored, mVec3_c *out) { +void dLytMapCapture_c::fn_8012D6D0(mVec3_c *out) { *out = dStage_c::GetInstance()->getMapRelated()->field_0x0FC; } -void fn_8012D610(mVec3_c *ignored, mVec3_c *out){ +void dLytMapCapture_c::fn_8012D610(mVec3_c *out){ dStage_c::GetInstance()->getMapRelated()->fn_801B50C0(0); - const mVec3_c &v = dStage_c::GetInstance()->getMapRelated()->fn_801B4CB0(); - - float z = v.z; - float y = v.y; - float x = v.x; - out->y = y; - out->x = x; - out->z = z; + *out = dStage_c::GetInstance()->getMapRelated()->fn_801B4CB0(); } -extern int fn_801B5970(MapRelated*, const GXTexObj*); void dLytMapCapture_c::fn_8012D800(nw4r::lyt::Pane *param_2, const GXTexObj *param_3) { - if (param_3 != nullptr && dStage_c::GetInstance() != nullptr && fn_801B5970(dStage_c::GetInstance()->getMapRelated(), param_3)) { + if (param_3 != nullptr && dStage_c::GetInstance() != nullptr && dStage_c::GetInstance()->getMapRelated()->fn_801B5970(param_3)) { field_0x070.width = GXGetTexObjWidth(param_3); field_0x070.height = GXGetTexObjHeight(param_3); param_2->SetSize(field_0x070); -- cgit v1.2.3