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

Function FlcInitFirstFrame

src/Engine/Flc.cpp:472–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470} /* SDLWaitFrame */
471
472void FlcInitFirstFrame()
473{ flc.FrameSize=16;
474 flc.FrameCount=0;
475 if(fseek(flc.file, 128, SEEK_SET)) {
476 //printf("Fseek read failed\n");
477 throw Exception("Fseek read failed for flx file");
478 };
479 FlcReadFile(flc.FrameSize);
480} /* FlcInitFirstFrame */
481
482int FlcInit(const char *filename)
483{ flc.pMembuf=NULL;

Callers 1

FlcMainFunction · 0.85

Calls 2

ExceptionClass · 0.85
FlcReadFileFunction · 0.85

Tested by

no test coverage detected