| 154 | } |
| 155 | |
| 156 | bool PhobosPCXFile::Read(INIClass* pINI, const char* pSection, const char* pKey, const char* pDefault) |
| 157 | { |
| 158 | char buffer[Capacity]; |
| 159 | if (pINI->ReadString(pSection, pKey, pDefault, buffer)) |
| 160 | { |
| 161 | *this = buffer; |
| 162 | |
| 163 | if (this->checked && !this->exists) |
| 164 | { |
| 165 | Debug::INIParseFailed(pSection, pKey, this->filename, "PCX file not found."); |
| 166 | } |
| 167 | } |
| 168 | return buffer[0] != 0; |
| 169 | } |
| 170 | |
| 171 | bool PhobosPCXFile::Load(PhobosStreamReader& Stm, bool RegisterForChange) |
| 172 | { |
nothing calls this directly
no test coverage detected