public LoadingScreenController(LoadingScreen view, Content.Content content, ICache cache) { Loader = new ContentPreloader(); /** Init cache **/ Loader.Add(new CacheInit((FileSystemCache)cache)); /** UI Textures **/ Loader.Add(content.UIGraphics.List()); /** Sim stuff **/ Loader.Add(content.AvatarOutfits.List()); Loader.Add(content.AvatarAppearances.List()); Loader.Add(content.AvatarPurchasables.List()); Loader.Add(content.AvatarThumbnails.List()); }
public LoadingScreenController(LoadingScreen view, Content.Content content, ICache cache) { Loader = new ContentPreloader(); Loader.MainContentAction = (Action donePart) => { VMContext.InitVMConfig(false); FSO.Content.Content.Init(GlobalSettings.Default.StartupPath, GameFacade.GraphicsDevice); }; /** Init cache **/ Loader.Add(new CacheInit((FileSystemCache)cache)); /* * // UI Textures * Loader.Add(content.UIGraphics.List()); * //Sim stuff * Loader.Add(content.AvatarOutfits.List()); * Loader.Add(content.AvatarAppearances.List()); * Loader.Add(content.AvatarPurchasables.List()); * Loader.Add(content.AvatarThumbnails.List()); */ }