Merge pull request #118 from robojumper/d_a_obj_dungeon_ship

An attempt at d_a_obj_dungeon_ship
This commit is contained in:
robojumper
2025-03-02 18:10:50 +01:00
committed by GitHub
10 changed files with 836 additions and 67 deletions
+5
View File
@@ -4,6 +4,7 @@
#include "m/m3d/m_bmdl.h"
#include "m/m3d/m_fanm.h"
#include "nw4r/g3d/g3d_anmclr.h"
#include "nw4r/g3d/g3d_scnobj.h"
namespace m3d {
@@ -48,6 +49,10 @@ public:
void setFrameStart(f32, s32);
f32 getFrameStart(s32) const;
nw4r::g3d::AnmObjMatClrRes *getChild(s32 idx) {
return nw4r::g3d::ScnObj::DynamicCast<nw4r::g3d::AnmObjMatClrRes>(mpChildren[idx].getAnimObj());
}
private:
child_c *mpChildren;
};