Reads a ROT file
| 29 | |
| 30 | //! Reads a ROT file |
| 31 | ILboolean ilLoadRot(ILconst_string FileName) |
| 32 | { |
| 33 | ILHANDLE RotFile; |
| 34 | ILboolean bRot = IL_FALSE; |
| 35 | |
| 36 | RotFile = iopenr(FileName); |
| 37 | if (RotFile == NULL) { |
| 38 | ilSetError(IL_COULD_NOT_OPEN_FILE); |
| 39 | return bRot; |
| 40 | } |
| 41 | |
| 42 | bRot = ilLoadRotF(RotFile); |
| 43 | icloser(RotFile); |
| 44 | |
| 45 | return bRot; |
| 46 | } |
| 47 | |
| 48 | |
| 49 | //! Reads an already-opened ROT file |
no test coverage detected