Checks if the ILHANDLE contains a valid .dds file at the current position.
| 74 | |
| 75 | //! Checks if the ILHANDLE contains a valid .dds file at the current position. |
| 76 | ILboolean ilIsValidDdsF(ILHANDLE File) |
| 77 | { |
| 78 | ILuint FirstPos; |
| 79 | ILboolean bRet; |
| 80 | |
| 81 | iSetInputFile(File); |
| 82 | FirstPos = itell(); |
| 83 | bRet = iIsValidDds(); |
| 84 | iseek(FirstPos, IL_SEEK_SET); |
| 85 | |
| 86 | return bRet; |
| 87 | } |
| 88 | |
| 89 | |
| 90 | //! Checks if Lump is a valid .dds lump. |
no test coverage detected