| 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 | { |
no outgoing calls
no test coverage detected