| 239 | void CHUDManager::Render_SMAP(u32 context_id) { Render_Actor_Shadow(context_id); } |
| 240 | |
| 241 | void CHUDManager::Render_MAIN(u32 context_id) |
| 242 | { |
| 243 | if (nullptr == pUI) |
| 244 | return; |
| 245 | |
| 246 | if (!need_render_hud()) |
| 247 | return; |
| 248 | |
| 249 | ZoneScoped; |
| 250 | |
| 251 | std::scoped_lock slock(render_lock); |
| 252 | |
| 253 | // hud itself |
| 254 | { |
| 255 | CObject* O = g_pGameLevel->CurrentViewEntity(); |
| 256 | const auto root = O->H_Root(); |
| 257 | root->renderable_HUD(true); |
| 258 | O->OnHUDDraw(this, context_id, root); |
| 259 | root->renderable_HUD(false); |
| 260 | } |
| 261 | |
| 262 | // Render_Actor_FirstPersonBody(context_id); |
| 263 | } |
| 264 | |
| 265 | void CHUDManager::Render_Actor_Shadow(u32 context_id) // added by KD |
| 266 | { |
no test coverage detected