Tells DevIL that we're writing to a file, not a lump
| 330 | |
| 331 | // Tells DevIL that we're writing to a file, not a lump |
| 332 | void iSetOutputFile(ILHANDLE File) |
| 333 | { |
| 334 | // Helps with ilGetLumpPos(). |
| 335 | WriteLump = NULL; |
| 336 | WriteLumpPos = 0; |
| 337 | WriteLumpSize = 0; |
| 338 | |
| 339 | iputc = iPutcFile; |
| 340 | iseekw = iSeekWFile; |
| 341 | itellw = iTellWFile; |
| 342 | iwrite = iWriteFile; |
| 343 | FileWrite = File; |
| 344 | } |
| 345 | |
| 346 | |
| 347 | // This is only called by ilDetermineSize. Associates iputc, etc. with |
no outgoing calls
no test coverage detected