MCPcopy Create free account
hub / github.com/diasurgical/devilution / DrawULine

Function DrawULine

Source/items.cpp:2950–2962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2948}
2949
2950void DrawULine(int y)
2951{
2952 /// ASSERT: assert(gpBuffer);
2953
2954 int i;
2955 BYTE *src, *dst;
2956
2957 src = &gpBuffer[SCREENXY(26 + RIGHT_PANEL - SPANEL_WIDTH, 25)];
2958 dst = &gpBuffer[BUFFER_WIDTH * (y * 12 + 198) + 26 + RIGHT_PANEL_X - SPANEL_WIDTH];
2959
2960 for (i = 0; i < 3; i++, src += BUFFER_WIDTH, dst += BUFFER_WIDTH)
2961 memcpy(dst, src, 266);
2962}
2963
2964void DrawUniqueInfo()
2965{

Callers 1

DrawUniqueInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected