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

Method show

src/SB/Game/zHud.cpp:284–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282 }
283
284 void zhud::show()
285 {
286 U32 i = 0;
287 while (&widgets[i] < &widgets[6])
288 {
289 if (widgets[i] != NULL)
290 {
291 xhud::widget* widget = widgets[i];
292 widget->clear_motives(xhud::delay_motive_update, (void*)zhud::hide_widget);
293 if (!(widget->showing() & 0xFF))
294 {
295 widget->show();
296 }
297 }
298
299 i++;
300 }
301
302 for (i = 0; i < 5; i++)
303 {
304 hiding[i] = FALSE;
305 }
306 }
307
308 void zhud::hide()
309 {

Callers 2

zCombo_UpdateFunction · 0.45
ping_widgetFunction · 0.45

Calls 2

clear_motivesMethod · 0.80
showingMethod · 0.80

Tested by

no test coverage detected