MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / InitializeGuide

Function InitializeGuide

TombEngine/Objects/TR4/Entity/tr4_guide.cpp:97–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 };
96
97 void InitializeGuide(short itemNumber)
98 {
99 auto* item = &g_Level.Items[itemNumber];
100
101 InitializeCreature(itemNumber);
102 SetAnimation(item, GUIDE_ANIM_IDLE);
103 item->SetMeshSwapFlags(GuideRightHandSwapJoints);
104 }
105
106 void GuideControl(short itemNumber)
107 {

Callers

nothing calls this directly

Calls 3

InitializeCreatureFunction · 0.85
SetAnimationFunction · 0.85
SetMeshSwapFlagsMethod · 0.80

Tested by

no test coverage detected