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

Function zEntPickup_RewardPostSetup

src/SB/Game/zEntPickup.cpp:1617–1637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1615}
1616
1617void zEntPickup_RewardPostSetup()
1618{
1619 for (S32 i = 0; i < REWARD_TYPE_COUNT; i++)
1620 {
1621 for (S32 j = 0; j < REWARD_PICKUP_COUNT; j++)
1622 {
1623 if (rewardPickups[i][j])
1624 {
1625 zLODTable* lod = zLOD_Get(rewardPickups[i][j]);
1626
1627 if (lod)
1628 {
1629 sRewardLOD[i] = *lod;
1630 sRewardLOD[i].noRenderDist = 1.0e10f;
1631
1632 zLOD_UseCustomTable(rewardPickups[i][j], &sRewardLOD[i]);
1633 }
1634 }
1635 }
1636 }
1637}
1638
1639WEAK F32 xVec3DistFast(const xVec3* a, const xVec3* b)
1640{

Callers 1

zSceneSetupFunction · 0.70

Calls 2

zLOD_GetFunction · 0.70
zLOD_UseCustomTableFunction · 0.70

Tested by

no test coverage detected