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

Function PrintQTextChr

Source/minitext.cpp:81–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void PrintQTextChr(int sx, int sy, BYTE *pCelBuff, int nCel)
82{
83 BYTE *pStart, *pEnd;
84
85 /// ASSERT: assert(gpBuffer);
86 pStart = gpBufStart;
87 gpBufStart = &gpBuffer[BUFFER_WIDTH * (49 + SCREEN_Y)];
88 pEnd = gpBufEnd;
89 gpBufEnd = &gpBuffer[BUFFER_WIDTH * (309 + SCREEN_Y)];
90 CelDraw(sx, sy, pCelBuff, nCel, 22);
91
92 gpBufStart = pStart;
93 gpBufEnd = pEnd;
94}
95
96void DrawQText()
97{

Callers 1

DrawQTextFunction · 0.85

Calls 1

CelDrawFunction · 0.85

Tested by

no test coverage detected