Reads a FTX file
| 18 | |
| 19 | //! Reads a FTX file |
| 20 | ILboolean ilLoadFtx(ILconst_string FileName) |
| 21 | { |
| 22 | ILHANDLE FtxFile; |
| 23 | ILboolean bFtx = IL_FALSE; |
| 24 | |
| 25 | FtxFile = iopenr(FileName); |
| 26 | if (FtxFile == NULL) { |
| 27 | ilSetError(IL_COULD_NOT_OPEN_FILE); |
| 28 | return bFtx; |
| 29 | } |
| 30 | |
| 31 | bFtx = ilLoadFtxF(FtxFile); |
| 32 | icloser(FtxFile); |
| 33 | |
| 34 | return bFtx; |
| 35 | } |
| 36 | |
| 37 | |
| 38 | //! Reads an already-opened FTX file |
no test coverage detected