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

Function show_gizmo

src/SB/Game/zEntCruiseBubble.cpp:1245–1256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243 }
1244
1245 void show_gizmo(hud_gizmo& gizmo, const basic_rect<F32>& rect, xModelInstance* m)
1246 {
1247 gizmo.flags = 0x1;
1248 gizmo.bound = rect;
1249 gizmo.alpha = 0.0f;
1250 gizmo.alpha_vel = 1.0f / current_tweak->hud.time_fade;
1251 gizmo.glow = 1.0f;
1252 gizmo.glow_vel = -1.0f / current_tweak->hud.time_glow;
1253 gizmo.opacity = 1.0f;
1254 gizmo.target = NULL;
1255 gizmo.model = m;
1256 }
1257
1258 void update_gizmo(cruise_bubble::hud_gizmo& gizmo, F32 dt)
1259 {

Callers 2

show_hudFunction · 0.85
lock_targetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected