private void _setupResources()
{
string resourceConfigPath = Path.GetFullPath( CONFIG_FILE );
if ( File.Exists( resourceConfigPath ) )
{
config = new EngineConfig();
// load the config file
// relative from the location of debug and releases executables
config.ReadXml( CONFIG_FILE );
// interrogate the available resource paths
foreach ( EngineConfig.FilePathRow row in config.FilePath )
{
ResourceGroupManager.Instance.AddResourceLocation( row.src, row.type, row.group, false, true );
}
}
}