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

Function zUI_Reset

src/SB/Game/zUI.cpp:444–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444void zUI_Reset(_zUI* ent)
445{
446 zEntReset(ent);
447 refresh_model(*ent);
448
449 ent->pflags = 0;
450 ent->penby |= XENT_COLLTYPE_PLYR; // interesting...
451 ent->chkby = XENT_COLLTYPE_NONE;
452 ent->uiFlags = ent->sasset->uiFlags;
453
454 sSortedCount = 0;
455
456 // non-matching: epilogue
457}
458
459void zUI_PreUpdate(_zUI* ent, xScene*, F32)
460{

Callers 2

zUIFont_ResetFunction · 0.85
zUIEventCBFunction · 0.85

Calls 2

refresh_modelFunction · 0.85
zEntResetFunction · 0.70

Tested by

no test coverage detected