mirror of
https://github.com/zeldaret/st
synced 2026-08-22 14:50:02 -04:00
2d4deebb84
* feat: Add .data to RMSX actors * fix: Fix bad regressions * feat: Add struct and improve RMSD matching * feat: Move RMSX base class to the right file * feat: Delink vtable and update symbols * feat: Match .data and improve ActorUnkRMSBase * feat: Update ActorUnkRSMBase ctor and match ActorUnkRMSW * fix: Fix outdated initialization * feat: Match RMSV ctor * feat: Match more vfunc * feat: Match more vfunc and some cleanup * chore: Clean headers * feat: Reorder funcs, add unk structs * feat: Move RMSBase to a separate file and flag as complete * feat: Complete some actors * feat: Add data to RBLS, almost match the actor * feat: Add eur data for CANS * feat: Reorder CANS functions, sync data for jp * feat: Reorder CASE functions * feat: Update global func call to member func call
29 lines
803 B
C++
29 lines
803 B
C++
#include "Actor/ActorUnkRMSS.hpp"
|
|
#include "nns/g3d/g3d.h"
|
|
#include "profile.hpp"
|
|
|
|
extern char data_ov063_021625f8[0x10]; // = "RMSS_wall";
|
|
extern char data_ov063_02162608[0x10]; // = "RMSS";
|
|
|
|
DECL_PROFILE(ActorProfileUnkRMSS);
|
|
|
|
Actor *ActorProfileUnkRMSS::Create() {
|
|
return new(HeapIndex_2) ActorUnkRMSS();
|
|
}
|
|
|
|
ActorProfileUnkRMSS::ActorProfileUnkRMSS() :
|
|
ActorProfile_Derived1(ActorId_RMSS) {}
|
|
|
|
ActorUnkRMSS::ActorUnkRMSS() {}
|
|
|
|
G3d_Model *ActorUnkRMSS::vfunc_54(void) {
|
|
return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSS)->mUnk_3C, data_ov063_02162608);
|
|
}
|
|
|
|
G3d_Model *ActorUnkRMSS::vfunc_58(void) {
|
|
return GetModelFromProfile3(&GET_PROFILE(ActorProfileUnkRMSS)->mUnk_3C, data_ov063_021625f8);
|
|
}
|
|
|
|
ActorUnkRMSS::~ActorUnkRMSS() {}
|
|
ActorProfileUnkRMSS::~ActorProfileUnkRMSS() {}
|