Reads an already-opened Doom file
| 52 | |
| 53 | //! Reads an already-opened Doom file |
| 54 | ILboolean ilLoadDoomF(ILHANDLE File) |
| 55 | { |
| 56 | ILuint FirstPos; |
| 57 | ILboolean bRet; |
| 58 | |
| 59 | iSetInputFile(File); |
| 60 | FirstPos = itell(); |
| 61 | bRet = iLoadDoomInternal(); |
| 62 | iseek(FirstPos, IL_SEEK_SET); |
| 63 | |
| 64 | return bRet; |
| 65 | } |
| 66 | |
| 67 | |
| 68 | //! Reads from a memory "lump" that contains a Doom texture |