MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / UIOnFrame

Method UIOnFrame

ogsr_engine/xrGame/UI.cpp:56–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54//--------------------------------------------------------------------
55
56void CUI::UIOnFrame()
57{
58 CEntity* m_Actor = smart_cast<CEntity*>(Level().CurrentEntity());
59 if (m_Actor)
60 {
61 // update windows
62 if (GameIndicatorsShown() && psHUD_Flags.is(HUD_DRAW | HUD_DRAW_RT))
63 {
64 UIMainIngameWnd->Update();
65 }
66 }
67
68 // out GAME-style depend information
69 if (GameIndicatorsShown())
70 {
71 if (pUIGame)
72 pUIGame->OnFrame();
73 }
74 m_pMessagesWnd->Update();
75}
76//--------------------------------------------------------------------
77#include "inventory.h"
78#include "huditem.h"

Callers 1

OnFrameMethod · 0.80

Calls 3

isMethod · 0.80
UpdateMethod · 0.45
OnFrameMethod · 0.45

Tested by

no test coverage detected