MCPcopy Create free account
hub / github.com/doldecomp/mkdd / initEquip

Method initEquip

src/Sato/ItemKinoko.cpp:69–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void ItemKinoko::initEquip()
70{
71 mEquipFlags = 0;
72 mVel.zero();
73 mPos.zero();
74
75 mMulti->ParamInit(sBuildRotAngle);
76 _2b0 = F_PI * (2.0f * ItemObj::getItemRnd()->get_ufloat_1() - 1.0f);
77
78 QuaternionReset(&_34);
79}
80
81void ItemKinoko::doEquip() { executeEquipHandFunc(); }
82

Callers

nothing calls this directly

Calls 3

QuaternionResetFunction · 0.85
get_ufloat_1Method · 0.80
zeroMethod · 0.45

Tested by

no test coverage detected