Checks if the ILHANDLE contains a valid VTF file at the current position.
| 49 | |
| 50 | //! Checks if the ILHANDLE contains a valid VTF file at the current position. |
| 51 | ILboolean ilIsValidVtfF(ILHANDLE File) |
| 52 | { |
| 53 | ILuint FirstPos; |
| 54 | ILboolean bRet; |
| 55 | |
| 56 | iSetInputFile(File); |
| 57 | FirstPos = itell(); |
| 58 | bRet = iIsValidVtf(); |
| 59 | iseek(FirstPos, IL_SEEK_SET); |
| 60 | |
| 61 | return bRet; |
| 62 | } |
| 63 | |
| 64 | |
| 65 | //! Checks if Lump is a valid VTF lump. |
no test coverage detected