summaryrefslogtreecommitdiff
path: root/include/toBeSorted
diff options
context:
space:
mode:
authorlepelog <25211966+lepelog@users.noreply.github.com>2026-05-01 10:56:52 +0200
committerlepelog <25211966+lepelog@users.noreply.github.com>2026-06-28 13:10:36 +0200
commit040df8c5c0df189d113cdc1dab2ffa24921028e8 (patch)
tree43f512e909fe27f49fa3efcaece80ce2705f7701 /include/toBeSorted
parente6c69576b45e355c3218cd8c183bf14392c7b591 (diff)
wip
Diffstat (limited to 'include/toBeSorted')
-rw-r--r--include/toBeSorted/d_unk_mdl_stuff_2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/toBeSorted/d_unk_mdl_stuff_2.h b/include/toBeSorted/d_unk_mdl_stuff_2.h
index c46ab28e..0820b17e 100644
--- a/include/toBeSorted/d_unk_mdl_stuff_2.h
+++ b/include/toBeSorted/d_unk_mdl_stuff_2.h
@@ -6,7 +6,9 @@
#include "m/m_allocator.h"
#include "m/m_mtx.h"
#include "m/m_vec.h"
+#include "nw4r/g3d/res/g3d_resfile.h"
#include "nw4r/g3d/res/g3d_resmat.h"
+#include "nw4r/g3d/res/g3d_resmdl.h"
#include "nw4r/g3d/res/g3d_resshp.h"
/** a process for drawing shapes directly */
@@ -59,6 +61,9 @@ public:
}
bool create(nw4r::g3d::ResMat mat, nw4r::g3d::ResShp shp, s32 count, mHeapAllocator_c *alloc, bool xlu, u32 *pSize);
+ bool create(s32 count, nw4r::g3d::ResMdl mdl, mHeapAllocator_c *alloc, bool xlu, u32 *pSize) {
+ return create(mdl.GetResMat(0), mdl.GetResShp(0), count, alloc, xlu, pSize);
+ }
void draw();
void setTransform(s32 idx, const mMtx_c &transform) {