src/externalized/ModPackContentManager.cc
/* Checks if a game resource exists. */
Checks if a game resource exists.
Checks if a game resource exists .
bool ModPackContentManager::doesGameResExists(char const* fileName) const
{
	for (const auto& folder : m_modResFolders)
	{
		if (FileMan::checkFileExistance(folder.c_str(), fileName))
		{
			return true;
		}
	}
	return DefaultContentManager::doesGameResExists(fileName);
}
bool ModPackContentManager :: doesGameResExists ( char const * fileName ) const { for ( const auto & folder : m_modResFolders ) { if ( FileMan :: checkFileExistance ( folder . c_str ( ) , fileName ) ) { return true ; } } return DefaultContentManager :: doesGameResExists ( fileName ) ; }
Checks if a game resource exists.
Checks if a game resource exists .