summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-05-17 13:19:40 +0200
committerrobojumper <robojumper@gmail.com>2025-05-19 21:52:55 +0200
commit790fc7fda31e9daf8cb4299544c78a1ff2b07d36 (patch)
treeab54549cab2859ced185b87f82d2d9d62eef6862 /src
parentc6ea169814e0317f522a9f46565044183ac7ad38 (diff)
small mdl stuff
Diffstat (limited to 'src')
-rw-r--r--src/d/d_player_mdl.cpp44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/d/d_player_mdl.cpp b/src/d/d_player_mdl.cpp
index eac936bd..a69d3fec 100644
--- a/src/d/d_player_mdl.cpp
+++ b/src/d/d_player_mdl.cpp
@@ -1,4 +1,48 @@
#include "d/a/d_a_player.h"
+#include "m/m_vec.h"
+
+// TODO: This file contains the vtable and a bunch of weak functions
+// for daPlayerModelBase_c. How do we generate the vtable here though?
+// All virtual methods of daPlayerModelBase_c seem to be inline, so
+// there's not much opportunity to get the vtable to be emitted here
+// except for dtor hacks...
+
+void daPlBaseCalcWorldCallback_c::ExecCallbackC(
+ nw4r::math::MTX34 *pMtxArray, nw4r::g3d::ResMdl mdl,
+ nw4r::g3d::FuncObjCalcWorld *pFuncObj
+ ) {
+
+ }
+
+void daPlayerModelBase_c::fn_8005EAC0() {
+ // Just getting weak functions to appear here
+ someDivingHrabbingStuff();
+ vt_0x308();
+}
+
+void daPlayerModelBase_c::fn_8005ED60() {
+ // Just getting weak functions to appear here
+ vt_0x2E0();
+ vt_0x308();
+ mVec3_c v;
+ vt_0x30C(v);
+ isMPPose();
+ isOnTightRope();
+ isOnVines();
+}
+
+void daPlayerModelBase_c::fn_8005F890() {
+ // Just getting weak functions to appear here
+ vt_0x2E8();
+ vt_0x304();
+ mAng a1, a2;
+ isOnClawTargetMaybe(0, a1, a2);
+}
+
+void daPlayerModelBase_c::fn_80061410() {
+ // Just getting weak functions to appear here
+ alwaysRet0();
+}
void dummy_triggerDtor(daPlayerModelBase_c *pl) {
delete pl;