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

Function showWorld

src/SB/Game/zUI.cpp:1757–1781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1755}
1756
1757static void showWorld(U32 world)
1758{
1759 for (U32 i = 0; i < sWorld[world].numTasks; i++)
1760 {
1761 switch (sWorld[world].task[i].counter->count)
1762 {
1763 case 0:
1764 {
1765 xEntShow(sWorld[world].task[i].uiSpatOutline);
1766 break;
1767 }
1768 case 1:
1769 case 3:
1770 {
1771 xEntShow(sWorld[world].task[i].uiSpatGray);
1772 break;
1773 }
1774 case 2:
1775 {
1776 xEntShow(sWorld[world].task[i].uiSpatGold);
1777 break;
1778 }
1779 }
1780 }
1781}
1782
1783static void disable_ui(_zUI* ui)
1784{

Callers 1

zUI_ScenePortalUpdateFunction · 0.85

Calls 1

xEntShowFunction · 0.85

Tested by

no test coverage detected