MCPcopy Create free account
hub / github.com/DentonW/DevIL / ilIsValidBlpF

Function ilIsValidBlpF

DevIL/src-IL/src/il_blp.cpp:97–108  ·  view source on GitHub ↗

Checks if the ILHANDLE contains a valid BLP file at the current position.

Source from the content-addressed store, hash-verified

95
96//! Checks if the ILHANDLE contains a valid BLP file at the current position.
97ILboolean ilIsValidBlpF(ILHANDLE File)
98{
99 ILuint FirstPos;
100 ILboolean bRet;
101
102 iSetInputFile(File);
103 FirstPos = itell();
104 bRet = iIsValidBlp2();
105 iseek(FirstPos, IL_SEEK_SET);
106
107 return bRet;
108}
109
110
111//! Checks if Lump is a valid BLP lump.

Callers 1

ilIsValidBlpFunction · 0.85

Calls 2

iSetInputFileFunction · 0.85
iIsValidBlp2Function · 0.85

Tested by

no test coverage detected