Reads an IFF file
| 62 | |
| 63 | //! Reads an IFF file |
| 64 | ILboolean ilLoadIff(const ILstring FileName) |
| 65 | { |
| 66 | ILHANDLE iffFile; |
| 67 | ILboolean ret = IL_FALSE; |
| 68 | |
| 69 | iffFile = iopenr(FileName); |
| 70 | if (iffFile == NULL) { |
| 71 | ilSetError(IL_COULD_NOT_OPEN_FILE); |
| 72 | return ret; |
| 73 | } |
| 74 | ret = ilLoadIffF(iffFile); |
| 75 | icloser(iffFile); |
| 76 | return ret; |
| 77 | } |
| 78 | |
| 79 | |
| 80 | //! Reads an already-opened IFF file |
no test coverage detected