MCPcopy Create free account
hub / github.com/ddnet/ddnet / DebugRender

Method DebugRender

src/game/client/ui.cpp:267–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267void CUi::DebugRender(float X, float Y)
268{
269 MapScreen();
270
271 char aBuf[128];
272 str_format(aBuf, sizeof(aBuf), "hot=%p nexthot=%p active=%p lastactive=%p", HotItem(), NextHotItem(), ActiveItem(), m_pLastActiveItem);
273 TextRender()->Text(X, Y, 10.0f, aBuf);
274}
275
276bool CUi::MouseInside(const CUIRect *pRect) const
277{

Callers 2

OnRenderMethod · 0.80
OnRenderMethod · 0.80

Calls 3

str_formatFunction · 0.85
TextRenderFunction · 0.85
TextMethod · 0.80

Tested by

no test coverage detected