MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / DECODE_COPY

Function DECODE_COPY

src/Engine/Flc.cpp:372–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370
371
372void DECODE_COPY()
373{ Uint8 *pSrc, *pDst;
374 int Lines = flc.screen_h;
375 pSrc=flc.pChunk+6;
376 pDst=(Uint8*)flc.mainscreen->pixels + flc.offset;
377 while(Lines-- > 0) {
378 memcpy(pDst, pSrc, flc.screen_w);
379 pSrc+=flc.screen_w;
380 pDst+=flc.mainscreen->pitch;
381 }
382} /* DECODE_COPY */
383
384void BLACK()
385{ Uint8 *pDst;

Callers 1

FlcDoOneFrameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected