summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcompugab <compugab@hotmail.com>2026-06-01 20:37:33 -0400
committercompugab <compugab@hotmail.com>2026-06-01 20:37:33 -0400
commit56d4b05e1ea85058b9717cdfb6e5616eee6ec1a5 (patch)
tree4e03e7ca9dc0aa6f92b85de667925425aaa7e285 /src
parente38638e761ef55db07ad6e92387e663ce5b1a75b (diff)
match d_lyt_map_capture
Diffstat (limited to 'src')
-rw-r--r--src/d/lyt/d_lyt_map_capture.cpp16
1 files changed, 4 insertions, 12 deletions
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);