| 1464 | } |
| 1465 | |
| 1466 | void show_hud() |
| 1467 | { |
| 1468 | // scheduling and register usage off |
| 1469 | hud.gizmos_used = 1; |
| 1470 | basic_rect<F32> reticle_bound; |
| 1471 | reticle_bound.set_size(current_tweak->hud.reticle.size); |
| 1472 | // reticle_bound gets loaded again as r3 here which shouldn't be |
| 1473 | // might be a non functional match for edge cases |
| 1474 | reticle_bound.center(0.5f, 0.5f); |
| 1475 | show_gizmo(hud.gizmo[0], reticle_bound, hud.model.reticle); |
| 1476 | |
| 1477 | hud.model.wind->Alpha = 0.0f; |
| 1478 | // scheduling off for this float |
| 1479 | hud.alpha = 0.0f; |
| 1480 | hud.alpha_vel = 1.0f / current_tweak->hud.time_fade; |
| 1481 | |
| 1482 | flash_hud(); |
| 1483 | } |
| 1484 | |
| 1485 | void hide_hud() |
| 1486 | { |
no test coverage detected