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]);
}
else
{
Debug.WriteLine("Unsupported file format: " + Path.GetFileName(files[fileID]), GetType().Name);
}
}
return musicFiles;
}

View File

@ -1,4 +1,6 @@
namespace RecrownedAthenaeum.ContentSystem.ContentResolvers
using RecrownedAthenaeum.ContentSystem;
namespace RhythmBullet.ContentResolvers
{
internal class FontContentResolver : IContentPathResolver
{
@ -14,4 +16,4 @@
return rcr.Modify("fonts/" + assetName);
}
}
}
}

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
{
@ -95,6 +97,7 @@ namespace RecrownedAthenaeum.ContentSystem.ContentResolvers
if (updated)
{
bestResolution = ChooseRounded();
Debug.WriteLine("Selected best resolution set: " + bestResolution);
}
return bestResolution + "/" + path;
}

View File

@ -3,7 +3,6 @@ using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using RecrownedAthenaeum.Camera;
using RecrownedAthenaeum.ContentSystem;
using RecrownedAthenaeum.ContentSystem.ContentResolvers;
using RecrownedAthenaeum.Data;
using RecrownedAthenaeum.Input;
using RecrownedAthenaeum.Persistence;
@ -12,6 +11,7 @@ using RecrownedAthenaeum.SpecialTypes;
using RecrownedAthenaeum.UI.Skin;
using RecrownedAthenaeum.UI.Skin.Definitions;
using RhythmBullet.Audio;
using RhythmBullet.ContentResolvers;
using RhythmBullet.Preferences;
using RhythmBullet.Screens.MainMenu;
using System;
@ -32,6 +32,7 @@ namespace RhythmBullet
GraphicsDeviceManager graphics;
SpriteBatch spriteBatch;
public readonly ContentManagerController assets;
readonly ResolutionContentResolver resolutionContentResolver;
public PreferencesManager preferencesManager;
private ScreenManager screenManager;