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

Function ping_widget

src/SB/Game/zHud.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 static void ping_widget(xhud::widget& widget)
63 {
64 widget.show();
65 widget.add_motive(xhud::motive((F32*)&widget.rc.loc.x, 0.02f, 0.0f, 0.5f,
66 xhud::shake_motive_update, NULL));
67 }
68
69 static void delay_hide_widget(xhud::widget& widget)
70 {

Callers 1

updateMethod · 0.85

Calls 3

add_motiveMethod · 0.80
motiveClass · 0.50
showMethod · 0.45

Tested by

no test coverage detected