Advance decompilation of ActorUnkRMSD.cpp (#85)

* decomp: advanced on ActorUnkRMSD.cpp

* review + fix jp symbols

---------

Co-authored-by: Yanis002 <35189056+Yanis002@users.noreply.github.com>
This commit is contained in:
Tom BUTIN
2026-06-18 03:05:42 +02:00
committed by GitHub
parent 5e50a81e5e
commit b88aed88eb
10 changed files with 80 additions and 21 deletions
+4
View File
@@ -3,6 +3,7 @@
#include "Actor/ActorId.hpp"
#include "Physics/Cylinder.hpp"
#include "System/SysNew.hpp"
#include "Unknown/Common.hpp"
#include "profile.hpp"
#include "types.h"
@@ -47,6 +48,9 @@ public:
class ActorProfile_Derived1 : public ActorProfile {
public:
/* 00 (base) */
/* 3C */ UnkActorFileSystem2 mUnk_3C;
/* D4 */ unk32 mUnk_D4;
/* D8 */
ActorProfile_Derived1(ActorId actorId);
ActorProfile_Derived1(ActorId actorId1, ActorId actorId2);
+9 -3
View File
@@ -4,6 +4,9 @@
#include "Actor/Actor.hpp"
#include "Actor/ActorProfile.hpp"
#include "MainGame/AdventureMode.hpp"
#include "Render/ModelRender.hpp"
#include "Unknown/Common.hpp"
#include "global.h"
#include "types.h"
@@ -20,7 +23,9 @@ public:
class ActorUnkRMSD : public Actor {
public:
/* 00 (base) */
/* 94 */
/* 94 */ unk8 mUnk_94;
/* 95 */ STRUCT_PAD(0x95, 0x158);
/* 158 */ Actor mUnk_158;
ActorUnkRMSD();
@@ -29,13 +34,14 @@ public:
void func_ov063_0215c408(void);
void func_ov063_0215c45c(void);
void func_ov063_0215c474(void);
void func_ov063_0215c488(void);
void func_ov063_0215c4c8(void);
void *func_ov063_0215c488(void); //! TODO: G3d_Model?
void *func_ov063_0215c4c8(void); //! TODO: G3d_Model?
};
class ActorProfileUnkRMSD : public ActorProfile_Derived1 {
public:
/* 00 (base) */
/* D8 */
ActorProfileUnkRMSD();
~ActorProfileUnkRMSD();
+13
View File
@@ -1230,6 +1230,19 @@ public:
/* 08 */
};
class UnkActorFileSystem2 : public MapObjectProfile_Derived2_20_Base {
public:
/* 00 (base) */
/* 94 */ unk16 mUnk_94;
/* 96 */ unk16 mUnk_96;
/* 98 */
UnkActorFileSystem2(u32 actorId2); // func_ov000_02097af8
// data_ov000_020b3084
/* 00 */ virtual ~UnkActorFileSystem2() override;
};
//! TODO: move to a better place
enum TrainPresetType_ {
TrainPresetType_Default = 0, // normal overworld settings