MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / PlayerSwingUpdate

Function PlayerSwingUpdate

dwarf/SB/Game/zEntPlayer.cpp:5139–5154  ·  view source on GitHub ↗

Compile unit: C:\SB\Game\zEntPlayer.cpp Producer: MW MIPS C Compiler Language: C++ Code range: 0x00143610 -> 0x00143EA0 */ Range: 0x143610 -> 0x143EA0

Source from the content-addressed store, hash-verified

5137*/
5138// Range: 0x143610 -> 0x143EA0
5139static void PlayerSwingUpdate(class xEnt * ent /* r20 */, float mag /* r25 */, float angle /* r23 */, float dt /* r24 */) {
5140 // Blocks
5141 /* anonymous block */ {
5142 // Range: 0x143610 -> 0x143EA0
5143 float hangDist; // r23
5144 class xVec3 unitHang; // r29+0x100
5145 class xVec3 accel; // r29+0xF0
5146 class xVec3 unitDefl; // r29+0xE0
5147 class xVec3 unitVel; // r29+0xD0
5148 signed int i; // r5
5149 class xVec3 unitAccel; // r29+0xC0
5150 float lerpDiff; // r2
5151 float newLerp; // r1
5152 float curFactor; // r29+0x110
5153 }
5154}
5155
5156/*
5157 Compile unit: C:\SB\Game\zEntPlayer.cpp

Callers 1

PlayerAbsControlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected