| 374 | } |
| 375 | |
| 376 | void FreePlayerGFX(int pnum) |
| 377 | { |
| 378 | if ((DWORD)pnum >= MAX_PLRS) { |
| 379 | app_fatal("FreePlayerGFX: illegal player %d", pnum); |
| 380 | } |
| 381 | |
| 382 | MemFreeDbg(plr[pnum]._pNData); |
| 383 | MemFreeDbg(plr[pnum]._pWData); |
| 384 | MemFreeDbg(plr[pnum]._pAData); |
| 385 | MemFreeDbg(plr[pnum]._pHData); |
| 386 | MemFreeDbg(plr[pnum]._pLData); |
| 387 | MemFreeDbg(plr[pnum]._pFData); |
| 388 | MemFreeDbg(plr[pnum]._pTData); |
| 389 | MemFreeDbg(plr[pnum]._pDData); |
| 390 | MemFreeDbg(plr[pnum]._pBData); |
| 391 | plr[pnum]._pGFXLoad = 0; |
| 392 | } |
| 393 | |
| 394 | void NewPlrAnim(int pnum, BYTE *Peq, int numFrames, int Delay, int width) |
| 395 | { |