private void _setupResources()
{
string resourceConfigPath = Path.GetFullPath( CONFIG_FILE );
if ( File.Exists( resourceConfigPath ) )
{
EngineConfig 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( Path.GetFullPath( row.src ), row.type, row.group );
}
}
}