Esempio n. 1
0
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;
}
Esempio n. 2
0
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;
}
Esempio n. 3
0
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;
}
Esempio n. 4
0
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;
}