MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / StatRawMsgSent

Method StatRawMsgSent

engine/Poseidon/Network/NetworkMisc.cpp:2657–2672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2655 MipInfo mip = GEngine->TextBank()->UseMipmap(nullptr, 0, 0);
2656 GEngine->Draw2D(mip, bgColor, Rect2DPixel(cxb, cyb, cxe - cxb, cye - cyb));
2657
2658 // lines
2659 float bottom = yb;
2660 float cbottom = CY(bottom);
2661 GEngine->DrawLine(Line2DPixel(cxb, cbottom, cxe, cbottom), color, color);
2662 for (int i = 0; i < nRows + 1; i++)
2663 {
2664 bottom += rowHeight;
2665 cbottom = CY(bottom);
2666 GEngine->DrawLine(Line2DPixel(cxb, cbottom, cxe, cbottom), color, color);
2667 }
2668 float left = xb;
2669 float cleft = cxb;
2670 GEngine->DrawLine(Line2DPixel(cleft, cyb, cleft, cbottom), color, color);
2671 for (int i = 0; i < columns; i++)
2672 {
2673 left += colWidths[i];
2674 cleft = CX(left);
2675 GEngine->DrawLine(Line2DPixel(cleft, cyb, cleft, cbottom), color, color);

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected