summaryrefslogtreecommitdiff
path: root/include/m
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-05-22 10:20:49 +0200
committerrobojumper <robojumper@gmail.com>2025-05-22 10:20:49 +0200
commit180eab5360cc7fb7564d90ea4c41cb4e80b67293 (patch)
tree6fceb2d38566744319e16bde8c9f1cff9549d2eb /include/m
parentbed178f1e6fbba9ebb9eb23f182d920c3afbdaae (diff)
Some matches
Diffstat (limited to 'include/m')
-rw-r--r--include/m/m3d/m_anmchr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/m/m3d/m_anmchr.h b/include/m/m3d/m_anmchr.h
index 2b564451..2ff01dd7 100644
--- a/include/m/m3d/m_anmchr.h
+++ b/include/m/m3d/m_anmchr.h
@@ -17,6 +17,11 @@ public:
bool create(nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmChr anm, mAllocator_c *alloc) {
return create(mdl, anm, alloc, nullptr);
}
+ // Not sure about this overload but it fixes stack alloc in some cases and other files
+ // definitely have similar overloads with seemingly identical argument types
+ bool create2(nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmChr anm, mAllocator_c *alloc) {
+ return create(mdl, anm, alloc);
+ }
bool create(nw4r::g3d::ResMdl, nw4r::g3d::ResAnmChr, mAllocator_c *, u32 *);
void setAnm(bmdl_c &, nw4r::g3d::ResAnmChr, playMode_e);
void setAnmAfter(bmdl_c &, nw4r::g3d::ResAnmChr, playMode_e);