mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
osu!-side changes in-line with framework BDL cache changes
This commit is contained in:
@ -93,7 +93,7 @@ namespace osu.Game
|
||||
|
||||
dependencies.Cache(new LargeTextureStore(new RawTextureLoaderStore(new NamespacedResourceStore<byte[]>(Resources, @"Textures"))));
|
||||
|
||||
dependencies.Cache(this);
|
||||
dependencies.CacheAs<OsuGameBase>(this);
|
||||
dependencies.Cache(LocalConfig);
|
||||
|
||||
runMigrations();
|
||||
@ -112,7 +112,7 @@ namespace osu.Game
|
||||
dependencies.Cache(new OsuColour());
|
||||
|
||||
//this completely overrides the framework default. will need to change once we make a proper FontStore.
|
||||
dependencies.Cache(Fonts = new FontStore { ScaleAdjust = 100 }, true);
|
||||
dependencies.Cache(Fonts = new FontStore { ScaleAdjust = 100 });
|
||||
|
||||
Fonts.AddStore(new GlyphStore(Resources, @"Fonts/FontAwesome"));
|
||||
Fonts.AddStore(new GlyphStore(Resources, @"Fonts/osuFont"));
|
||||
|
Reference in New Issue
Block a user