| 107 | | InFile.read((char*)&BP->SizeX, sizeof(BP->SizeX)); |
| 108 | | InFile.read((char*)&BP->SizeY, sizeof(BP->SizeY)); |
| 109 | | |
| 110 | | InFile.read((char*)&BP->SubdivsHorz, sizeof(BP->SubdivsHorz)); |
| 111 | | InFile.read((char*)&BP->SubdivsVert, sizeof(BP->SubdivsVert)); |
| 112 | | // InFile.read((char*)&BP->MaxError, sizeof(BP->MaxError )); |
| | 107 | BP->SizeX=aux::ReadUInt32(InFile); |
| | 108 | BP->SizeY=aux::ReadUInt32(InFile); |
| | 109 | |
| | 110 | BP->SubdivsHorz=aux::ReadInt32(InFile); |
| | 111 | BP->SubdivsVert=aux::ReadInt32(InFile); |
| | 112 | // BP->MaxError =aux::ReadFloat(InFile); |
| 194 | | OutFile.write((char*)&SizeX, sizeof(SizeX)); |
| 195 | | OutFile.write((char*)&SizeY, sizeof(SizeY)); |
| 196 | | |
| 197 | | OutFile.write((char*)&SubdivsHorz, sizeof(SubdivsHorz)); |
| 198 | | OutFile.write((char*)&SubdivsVert, sizeof(SubdivsVert)); |
| 199 | | // OutFile.write((char*)&MaxError, sizeof(MaxError )); |
| | 194 | aux::Write(OutFile, aux::cnc32(SizeX)); |
| | 195 | aux::Write(OutFile, aux::cnc32(SizeY)); |
| | 196 | |
| | 197 | aux::Write(OutFile, SubdivsHorz); |
| | 198 | aux::Write(OutFile, SubdivsVert); |
| | 199 | // aux::Write(OutFile, MaxError); |