removed some debug spam, fixed namespaces.

This commit is contained in:
Harrison Deng 2019-01-27 02:01:13 -06:00
parent 1ae37bb219
commit dbafc989a5
4 changed files with 11 additions and 9 deletions

View File

@ -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;
} }

View File

@ -1,4 +1,6 @@
namespace RecrownedAthenaeum.ContentSystem.ContentResolvers using RecrownedAthenaeum.ContentSystem;
namespace RhythmBullet.ContentResolvers
{ {
internal class FontContentResolver : IContentPathResolver internal class FontContentResolver : IContentPathResolver
{ {

View File

@ -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;
} }

View File

@ -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;