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

Function PrintGameStr

Source/control.cpp:1276–1289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1274}
1275
1276void PrintGameStr(int x, int y, const char *str, int color)
1277{
1278 BYTE c;
1279 int sx, sy;
1280 sx = x + SCREEN_X;
1281 sy = y + SCREEN_Y;
1282 while (*str) {
1283 c = gbFontTransTbl[(BYTE)*str++];
1284 c = fontframe[c];
1285 if (c)
1286 PrintChar(sx, sy, c, color);
1287 sx += fontkern[c] + 1;
1288 }
1289}
1290
1291void DrawChr()
1292{

Callers 4

DrawCircleMenuHintFunction · 0.85
DrawAutomapTextFunction · 0.85
DrawGoldSplitFunction · 0.85
DrawFPSFunction · 0.85

Calls 1

PrintCharFunction · 0.85

Tested by

no test coverage detected