bool adt_MCNK::prepareLoadedData() { if (fcc != MCNKMagic.fcc) return false; // Check height map if (offsMCVT && !getMCVT()->prepareLoadedData()) return false; // Check liquid data if (offsMCLQ && !getMCLQ()->prepareLoadedData()) return false; return true; }
bool adt_MCNK::prepareLoadedData() { if (fcc != 'MCNK') { return false; } // Check height map if (offsMCVT && !getMCVT()->prepareLoadedData()) { return false; } // Check liquid data if (offsMCLQ && !getMCLQ()->prepareLoadedData()) { return false; } return true; }
bool adt_MCNK::prepareLoadedData() { if (fcc != 'MCNK') return false; // Check height map if (offsMCVT && !getMCVT()->prepareLoadedData()) return false; // Check liquid data if (offsMCLQ && !getMCLQ()->prepareLoadedData()) return false; (void)this->size; return true; }
bool adt_MCNK::prepareLoadedData() { if( ( fcc_txt[ 3 ] != 'M' ) || ( fcc_txt[ 2 ] != 'C' ) || ( fcc_txt[ 1 ] != 'N' ) || ( fcc_txt[ 0 ] != 'K' ) ) return false; // Check height map if (offsMCVT && !getMCVT()->prepareLoadedData()) return false; // Check liquid data if (offsMCLQ && !getMCLQ()->prepareLoadedData()) return false; return true; }