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

Function zMainLoadFontHIP

src/SB/Game/zMain.cpp:792–817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

790}
791
792void zMainLoadFontHIP()
793{
794 iTime time;
795
796 xMemPushBase();
797 time = iTimeGet();
798 xUtil_idtag2string('FONT', 0);
799 iTimeDiffSec(time);
800 xSTPreLoadScene('FONT', NULL, 1);
801 time = iTimeGet();
802 xUtil_idtag2string('FONT', 0);
803 iTimeDiffSec(time);
804 xSTQueueSceneAssets('FONT', 1);
805 time = iTimeGet();
806 xUtil_idtag2string('FONT', 0);
807 iTimeDiffSec(time);
808
809 do
810 {
811 } while (xSTLoadStep('FONT') < 1.0f);
812
813 xSTDisconnect('FONT', 1);
814 time = iTimeGet();
815 xUtil_idtag2string('FONT', 0);
816 iTimeDiffSec(time);
817}
818
819void iEnvStartup()
820{

Callers 1

mainFunction · 0.70

Calls 8

xMemPushBaseFunction · 0.85
iTimeDiffSecFunction · 0.85
iTimeGetFunction · 0.50
xUtil_idtag2stringFunction · 0.50
xSTPreLoadSceneFunction · 0.50
xSTQueueSceneAssetsFunction · 0.50
xSTLoadStepFunction · 0.50
xSTDisconnectFunction · 0.50

Tested by

no test coverage detected