fixed font names.
This commit is contained in:
parent
e2ff87f9b6
commit
a06c5ec4ff
@ -11,7 +11,7 @@ with.
|
|||||||
<!--
|
<!--
|
||||||
Modify this string to change the font that will be imported.
|
Modify this string to change the font that will be imported.
|
||||||
-->
|
-->
|
||||||
<FontName>Darktech LDR</FontName>
|
<FontName>Darktech_ldr</FontName>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Size is a float value, measured in points. Modify this value to change
|
Size is a float value, measured in points. Modify this value to change
|
||||||
|
@ -11,7 +11,7 @@ with.
|
|||||||
<!--
|
<!--
|
||||||
Modify this string to change the font that will be imported.
|
Modify this string to change the font that will be imported.
|
||||||
-->
|
-->
|
||||||
<FontName>Gasalt</FontName>
|
<FontName>gasalt_regular</FontName>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Size is a float value, measured in points. Modify this value to change
|
Size is a float value, measured in points. Modify this value to change
|
||||||
|
@ -11,7 +11,7 @@ with.
|
|||||||
<!--
|
<!--
|
||||||
Modify this string to change the font that will be imported.
|
Modify this string to change the font that will be imported.
|
||||||
-->
|
-->
|
||||||
<FontName>Iron Maiden</FontName>
|
<FontName>iron_maiden</FontName>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Size is a float value, measured in points. Modify this value to change
|
Size is a float value, measured in points. Modify this value to change
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
using RecrownedAthenaeum.SpecialTypes;
|
using RecrownedAthenaeum.SpecialTypes;
|
||||||
|
using Microsoft.Xna.Framework.Graphics;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace RhythmBullet.Preferences
|
namespace RhythmBullet.Preferences
|
||||||
{
|
{
|
||||||
public class General
|
public class General
|
||||||
{
|
{
|
||||||
public Resolution Resolution = new Resolution(1920, 1080);
|
public Resolution Resolution = new Resolution(
|
||||||
|
GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width,
|
||||||
|
GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height);
|
||||||
public bool Fullscreen = false;
|
public bool Fullscreen = false;
|
||||||
public float MusicVolume = 1f;
|
public float MusicVolume = 1f;
|
||||||
public float FXVolume = 1f;
|
public float FXVolume = 1f;
|
||||||
|
@ -55,6 +55,7 @@ namespace RhythmBullet
|
|||||||
Resolution resolution = preferencesManager.GetPreferences<General>().Resolution;
|
Resolution resolution = preferencesManager.GetPreferences<General>().Resolution;
|
||||||
graphics.PreferredBackBufferWidth = resolution.Width;
|
graphics.PreferredBackBufferWidth = resolution.Width;
|
||||||
graphics.PreferredBackBufferHeight = resolution.Height;
|
graphics.PreferredBackBufferHeight = resolution.Height;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -188,7 +189,6 @@ namespace RhythmBullet
|
|||||||
assets.Queue<Texture2D>("cursor", false);
|
assets.Queue<Texture2D>("cursor", false);
|
||||||
assets.Queue<Texture2D>("title");
|
assets.Queue<Texture2D>("title");
|
||||||
assets.Queue<Texture2D>("default_cover", false);
|
assets.Queue<Texture2D>("default_cover", false);
|
||||||
assets.Queue<Texture2D>("backgrounds/mainBG");
|
|
||||||
assets.Queue<TextureAtlas>("UI");
|
assets.Queue<TextureAtlas>("UI");
|
||||||
assets.Queue<SpriteFont>("gasalt_regular");
|
assets.Queue<SpriteFont>("gasalt_regular");
|
||||||
assets.Queue<SpriteFont>("darktech_ldr");
|
assets.Queue<SpriteFont>("darktech_ldr");
|
||||||
|
@ -22,7 +22,6 @@ namespace RhythmBullet.Screens.MainMenu
|
|||||||
public MainScreen(ContentManagerController assets, ISkin skin, Camera2D camera) : base(true)
|
public MainScreen(ContentManagerController assets, ISkin skin, Camera2D camera) : base(true)
|
||||||
{
|
{
|
||||||
this.assets = assets;
|
this.assets = assets;
|
||||||
background = assets.Get<Texture2D>("backgrounds/mainBG");
|
|
||||||
fat = new FadeAwayTransition(1.5f);
|
fat = new FadeAwayTransition(1.5f);
|
||||||
book = new Book(assets, skin, camera);
|
book = new Book(assets, skin, camera);
|
||||||
mainPage = new MainPage();
|
mainPage = new MainPage();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user