removed some debug spam, fixed namespaces.
This commit is contained in:
parent
1ae37bb219
commit
dbafc989a5
@ -99,10 +99,6 @@ namespace RhythmBullet.Audio
|
|||||||
{
|
{
|
||||||
musicFiles.Add(files[fileID]);
|
musicFiles.Add(files[fileID]);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.WriteLine("Unsupported file format: " + Path.GetFileName(files[fileID]), GetType().Name);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return musicFiles;
|
return musicFiles;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
namespace RecrownedAthenaeum.ContentSystem.ContentResolvers
|
using RecrownedAthenaeum.ContentSystem;
|
||||||
|
|
||||||
|
namespace RhythmBullet.ContentResolvers
|
||||||
{
|
{
|
||||||
internal class FontContentResolver : IContentPathResolver
|
internal class FontContentResolver : IContentPathResolver
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
using RecrownedAthenaeum.SpecialTypes;
|
using RecrownedAthenaeum.ContentSystem;
|
||||||
|
using RecrownedAthenaeum.SpecialTypes;
|
||||||
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace RecrownedAthenaeum.ContentSystem.ContentResolvers
|
namespace RhythmBullet.ContentResolvers
|
||||||
{
|
{
|
||||||
internal class ResolutionContentResolver : IContentPathResolver
|
internal class ResolutionContentResolver : IContentPathResolver
|
||||||
{
|
{
|
||||||
@ -95,6 +97,7 @@ namespace RecrownedAthenaeum.ContentSystem.ContentResolvers
|
|||||||
if (updated)
|
if (updated)
|
||||||
{
|
{
|
||||||
bestResolution = ChooseRounded();
|
bestResolution = ChooseRounded();
|
||||||
|
Debug.WriteLine("Selected best resolution set: " + bestResolution);
|
||||||
}
|
}
|
||||||
return bestResolution + "/" + path;
|
return bestResolution + "/" + path;
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@ using Microsoft.Xna.Framework.Graphics;
|
|||||||
using Microsoft.Xna.Framework.Input;
|
using Microsoft.Xna.Framework.Input;
|
||||||
using RecrownedAthenaeum.Camera;
|
using RecrownedAthenaeum.Camera;
|
||||||
using RecrownedAthenaeum.ContentSystem;
|
using RecrownedAthenaeum.ContentSystem;
|
||||||
using RecrownedAthenaeum.ContentSystem.ContentResolvers;
|
|
||||||
using RecrownedAthenaeum.Data;
|
using RecrownedAthenaeum.Data;
|
||||||
using RecrownedAthenaeum.Input;
|
using RecrownedAthenaeum.Input;
|
||||||
using RecrownedAthenaeum.Persistence;
|
using RecrownedAthenaeum.Persistence;
|
||||||
@ -12,6 +11,7 @@ using RecrownedAthenaeum.SpecialTypes;
|
|||||||
using RecrownedAthenaeum.UI.Skin;
|
using RecrownedAthenaeum.UI.Skin;
|
||||||
using RecrownedAthenaeum.UI.Skin.Definitions;
|
using RecrownedAthenaeum.UI.Skin.Definitions;
|
||||||
using RhythmBullet.Audio;
|
using RhythmBullet.Audio;
|
||||||
|
using RhythmBullet.ContentResolvers;
|
||||||
using RhythmBullet.Preferences;
|
using RhythmBullet.Preferences;
|
||||||
using RhythmBullet.Screens.MainMenu;
|
using RhythmBullet.Screens.MainMenu;
|
||||||
using System;
|
using System;
|
||||||
@ -32,6 +32,7 @@ namespace RhythmBullet
|
|||||||
GraphicsDeviceManager graphics;
|
GraphicsDeviceManager graphics;
|
||||||
SpriteBatch spriteBatch;
|
SpriteBatch spriteBatch;
|
||||||
public readonly ContentManagerController assets;
|
public readonly ContentManagerController assets;
|
||||||
|
|
||||||
readonly ResolutionContentResolver resolutionContentResolver;
|
readonly ResolutionContentResolver resolutionContentResolver;
|
||||||
public PreferencesManager preferencesManager;
|
public PreferencesManager preferencesManager;
|
||||||
private ScreenManager screenManager;
|
private ScreenManager screenManager;
|
||||||
|
Loading…
Reference in New Issue
Block a user