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

Function xSTQueueSceneAssets

src/SB/Core/x/xstransvc.cpp:135–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135S32 xSTQueueSceneAssets(U32 sid, S32 flg_hiphop)
136{
137 S32 result = 1;
138 st_STRAN_SCENE* sdata = XST_find_bySID(sid, (flg_hiphop & 3) == 2 ? 1 : 0);
139 if (sdata == NULL)
140 {
141 result = 0;
142 }
143 else
144 {
145 if (sdata->spkg != NULL)
146 {
147 g_pkrf->LoadLayer(sdata->spkg, PKR_LTYPE_ALL);
148 }
149 }
150 return result;
151}
152
153void xSTUnLoadScene(U32 sid, S32 flg_hiphop)
154{

Callers 4

player_sound_hop_loadFunction · 0.50
zMainLoopFunction · 0.50
zMainLoadFontHIPFunction · 0.50
zSceneInitFunction · 0.50

Calls 1

XST_find_bySIDFunction · 0.70

Tested by

no test coverage detected