Internal function used to check if the HEADER is a valid Lif header.
| 107 | |
| 108 | // Internal function used to check if the HEADER is a valid Lif header. |
| 109 | ILboolean iCheckLif(LIF_HEAD *Header) |
| 110 | { |
| 111 | if (Header->Version != 260 || Header->Flags != 50) |
| 112 | return IL_FALSE; |
| 113 | if (stricmp(Header->Id, "Willy 7")) |
| 114 | return IL_FALSE; |
| 115 | return IL_TRUE; |
| 116 | } |
| 117 | |
| 118 | |
| 119 | //! Reads a .Lif file |
no test coverage detected