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

Method ParabolaHitsConveyors

src/SB/Game/zNPCTypeBossPatrick.cpp:1790–1821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1788}
1789
1790void zNPCBPatrick::ParabolaHitsConveyors(xParabola* path, xCollis* colls)
1791{
1792 /*
1793 signed int i; // r13
1794 signed int j; // r12
1795 class xMat4x3 * mat; // r11
1796 class xVec3 * lower; // r10
1797 class xVec3 * upper; // r9
1798 float a; // r10
1799 float b; // r9
1800 float det; // r4
1801 float t[2]; // r29+0x18
1802 float dispX; // r11
1803 float dispZ; // r8
1804 */
1805
1806 F32 t[2];
1807
1808 for (S32 i = 0; i < 7; i++)
1809 {
1810 // This code is a mess, don't feel like working on this fn right now.
1811 zPlatform* pzVar4 = this->conveyorBelt[i];
1812 xVec3* pxVar3 = &pzVar4->bound.box.center;
1813 F32 dVar7 = f1046 - path->gravity;
1814 F32 dVar8 = path->initVel.y;
1815 test(dVar8);
1816
1817 for (S32 j = 0; j < 2; j++)
1818 {
1819 }
1820 }
1821}
1822
1823// not in PS2 dwarf
1824void zNPCBPatrick::bossPatBoxCheckCollide(bossPatBox* box)

Callers 1

ProcessMethod · 0.80

Calls 1

testFunction · 0.85

Tested by

no test coverage detected