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

Function zUIFont_Reset

src/SB/Game/zUIFont.cpp:121–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void zUIFont_Reset(zUIFont* ent)
122{
123 zUI_Reset(ent);
124
125 ent->uiFontFlags = ent->fasset->uiFontFlags;
126 ent->uiButton = 0;
127
128 if (ent->flags & 0x40)
129 {
130 ent->flags ^= 0x40;
131 }
132}
133
134void zUIFont_PreUpdate(zUIFont* ent, xScene* sc, F32 dt)
135{

Callers 1

zUIFontEventCBFunction · 0.85

Calls 1

zUI_ResetFunction · 0.85

Tested by

no test coverage detected