Writes a .pcx to an already-opened file
| 509 | |
| 510 | //! Writes a .pcx to an already-opened file |
| 511 | ILuint ilSavePcxF(ILHANDLE File) |
| 512 | { |
| 513 | ILuint Pos; |
| 514 | iSetOutputFile(File); |
| 515 | Pos = itellw(); |
| 516 | if (iSavePcxInternal() == IL_FALSE) |
| 517 | return 0; // Error occurred |
| 518 | return itellw() - Pos; // Return the number of bytes written. |
| 519 | } |
| 520 | |
| 521 | |
| 522 | //! Writes a .pcx to a memory "lump" |
no test coverage detected