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

Function SetPlayerGPtrs

Source/player.cpp:125–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123BYTE fix[9] = { 0, 0, 3, 3, 3, 6, 6, 6, 8 }; /* PM_ChangeLightOff local type */
124
125void SetPlayerGPtrs(BYTE *pData, BYTE **pAnim)
126{
127 int i;
128
129 for (i = 0; i < 8; i++) {
130 pAnim[i] = CelGetFrameStart(pData, i);
131 }
132}
133
134void LoadPlrGFX(int pnum, player_graphic gfxflag)
135{

Callers 1

LoadPlrGFXFunction · 0.85

Calls 1

CelGetFrameStartFunction · 0.85

Tested by

no test coverage detected