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

Function CelDraw

Source/engine.cpp:33–36  ·  view source on GitHub ↗

* @brief Blit CEL sprite to the back buffer at the given coordinates * @param sx Back buffer coordinate * @param sy Back buffer coordinate * @param pCelBuff Cel data * @param nCel CEL frame number * @param nWidth Width of sprite */

Source from the content-addressed store, hash-verified

31 * @param nWidth Width of sprite
32 */
33void CelDraw(int sx, int sy, BYTE *pCelBuff, int nCel, int nWidth)
34{
35 CelBlitFrame(&gpBuffer[sx + BUFFER_WIDTH * sy], pCelBuff, nCel, nWidth);
36}
37
38/**
39 * @brief Blit a given CEL frame to the given buffer

Callers 15

DrawCutsceneFunction · 0.85
gmenu_drawFunction · 0.85
gmenu_draw_menu_itemFunction · 0.85
DrawSTextBackFunction · 0.85
PrintSStringFunction · 0.85
DrawSArrowsFunction · 0.85
PrintQLStringFunction · 0.85
DrawQuestLogFunction · 0.85
doom_drawFunction · 0.85
PrintCharFunction · 0.85
DrawCtrlBtnsFunction · 0.85
DrawChrFunction · 0.85

Calls 1

CelBlitFrameFunction · 0.85

Tested by

no test coverage detected