CClient::Notify(const char *pTitle, const char *pMessage)
in my custom ddnet client but have my own configuration if notfications are shown.m_pGraphics->WindowActive()
is only reachable from within CClient one has to call the CClient::Notify() method and can not implement a custom one without editing client.cpp which means the https://github.com/ddnet/ddnet/blob/e5e2e46da295cec9587c28a0b8a57a9494ff68fb/src/engine/client/client.cpp#L4104 cl_shownotifications check is forced. So if i want to see custom notifications i have to see ALL ddnetif(Type == NOTIFY_DDNET) return;
m_pGraphics->WindowActive()
would also work but that sounds even more hacky xd#define private public //This is the hack to access priviate variables of any class
#define protected public
((IEngineGraphics *)Kernel()->RequestInterface<IEngineGraphics>())->WindowActive()
IGraphics *m_pGraphics; IEngineGraphics *m_pEngineGraphics = reinterpret_cast<IEngineGraphics *>(m_pGraphics);
m_CurrentServerCurrentPingTime
equals time_getinf3
, I can't even find the constant iext
in your codeSERVERBROWSE_INGAME
if it's there you are fine