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

Function PrintInfo

Source/control.cpp:1224–1241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222}
1223
1224void PrintInfo()
1225{
1226 int yo, lo, i;
1227
1228 if (!talkflag) {
1229 yo = 0;
1230 lo = 1;
1231 if (infostr[0]) {
1232 CPrintString(0, infostr, TRUE, pnumlines);
1233 yo = 1;
1234 lo = 0;
1235 }
1236
1237 for (i = 0; i < pnumlines; i++) {
1238 CPrintString(i + yo, panelstr[i], pstrjust[i], pnumlines - lo);
1239 }
1240 }
1241}
1242
1243void CPrintString(int y, char *str, BOOL center, int lines)
1244{

Callers 1

DrawInfoBoxFunction · 0.85

Calls 1

CPrintStringFunction · 0.85

Tested by

no test coverage detected