diff --git a/PongFE/PongFEGame.cs b/PongFE/PongFEGame.cs index eb7012f..ded3262 100644 --- a/PongFE/PongFEGame.cs +++ b/PongFE/PongFEGame.cs @@ -1,6 +1,6 @@ using System.IO; using Encompass; -using IndependentResolutionRendering; +using MoonTools; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using PongFE.Components; @@ -44,7 +44,7 @@ namespace PongFE protected override void LoadContent() { - Resolution.Init( + ResolutionScaler.Init( GraphicsDevice.PresentationParameters.BackBufferWidth, GraphicsDevice.PresentationParameters.BackBufferHeight, PLAY_AREA_WIDTH, @@ -187,7 +187,7 @@ namespace PongFE null, null, null, - Resolution.TransformMatrix + ResolutionScaler.TransformMatrix ); SpriteBatch.Draw( diff --git a/PongFE/Utility/Resolution.cs b/PongFE/Utility/ResolutionScaler.cs similarity index 94% rename from PongFE/Utility/Resolution.cs rename to PongFE/Utility/ResolutionScaler.cs index 514b105..bf0ac24 100644 --- a/PongFE/Utility/Resolution.cs +++ b/PongFE/Utility/ResolutionScaler.cs @@ -1,9 +1,8 @@ using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -namespace IndependentResolutionRendering +namespace MoonTools { - static class Resolution + static class ResolutionScaler { static private int s_virtual_width; static private int s_virtual_height;