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

Function DrawSpellCel

Source/control.cpp:195–198  ·  view source on GitHub ↗

* Draw spell cell onto the back buffer. * @param xp Back buffer coordinate * @param yp Back buffer coordinate * @param Trans Pointer to the cel buffer. * @param nCel Index of the cel frame to draw. 0 based. * @param w Width of the frame. */

Source from the content-addressed store, hash-verified

193 * @param w Width of the frame.
194 */
195void DrawSpellCel(int xp, int yp, BYTE *Trans, int nCel, int w)
196{
197 CelDrawLight(xp, yp, Trans, nCel, w, SplTransTbl);
198}
199
200void SetSpellTrans(char t)
201{

Callers 3

DrawSpellFunction · 0.85
DrawSpellListFunction · 0.85
DrawSpellBookFunction · 0.85

Calls 1

CelDrawLightFunction · 0.85

Tested by

no test coverage detected