removed unused imports and applied minor changes from RA.
This commit is contained in:
parent
104a759e9f
commit
d02230c593
@ -1,11 +1,5 @@
|
||||
using Microsoft.Xna.Framework.Media;
|
||||
using NAudio.Dsp;
|
||||
using NAudio.Wave;
|
||||
using NAudio.Wave;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RecrownedAthenaeum.Audio
|
||||
{
|
||||
|
@ -1,12 +1,8 @@
|
||||
using Microsoft.Xna.Framework.Media;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RecrownedAthenaeum.Audio
|
||||
{
|
||||
|
@ -1,10 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RecrownedAthenaeum.Audio
|
||||
namespace RecrownedAthenaeum.Audio
|
||||
{
|
||||
public enum SupportedFormats
|
||||
{
|
||||
|
@ -2,10 +2,6 @@
|
||||
using NAudio.Dsp;
|
||||
using NAudio.Wave;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RecrownedAthenaeum.Audio
|
||||
{
|
||||
|
@ -4,10 +4,6 @@ using RecrownedAthenaeum.Camera;
|
||||
using RecrownedAthenaeum.Render;
|
||||
using RecrownedAthenaeum.UI.Modular;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RecrownedAthenaeum.Audio.Visualizer
|
||||
{
|
||||
|
@ -1,9 +1,4 @@
|
||||
using RecrownedAthenaeum.ContentSystem;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RecrownedAthenaeum.ContentResolvers
|
||||
{
|
||||
|
@ -1,11 +1,5 @@
|
||||
using RecrownedAthenaeum.Preferences;
|
||||
using RecrownedAthenaeum.ContentSystem;
|
||||
using RecrownedAthenaeum.ContentSystem;
|
||||
using RecrownedAthenaeum.DataTypes;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RecrownedAthenaeum.ContentResolvers
|
||||
{
|
||||
|
@ -1,5 +1,4 @@
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
using RecrownedAthenaeum.Persistence;
|
||||
|
||||
namespace RecrownedAthenaeum.Preferences
|
||||
{
|
||||
|
@ -1,7 +1,5 @@
|
||||
using System;
|
||||
using System.Xml.Serialization;
|
||||
using RecrownedAthenaeum.DataTypes;
|
||||
using RecrownedAthenaeum.Persistence;
|
||||
|
||||
namespace RecrownedAthenaeum.Preferences
|
||||
{
|
||||
|
@ -1,5 +1,4 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
|
@ -1,5 +1,4 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using RecrownedAthenaeum.UI.Book;
|
||||
using RecrownedAthenaeum.ContentSystem;
|
||||
using RecrownedAthenaeum.UI.Modular.Modules;
|
||||
|
@ -1,14 +1,10 @@
|
||||
|
||||
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
using RecrownedAthenaeum.Screens.Transitions;
|
||||
using RecrownedAthenaeum.UI.Book;
|
||||
using RecrownedAthenaeum.Camera;
|
||||
using RecrownedAthenaeum.ContentSystem;
|
||||
using RecrownedAthenaeum.ScreenSystem;
|
||||
using System;
|
||||
|
||||
namespace RecrownedAthenaeum.Screens.MainMenu
|
||||
{
|
||||
@ -30,10 +26,10 @@ namespace RecrownedAthenaeum.Screens.MainMenu
|
||||
book.AddPages(mainPage);
|
||||
}
|
||||
|
||||
public override void Initiate(GraphicsDevice graphicsDevice, Rectangle screenSize, Camera2D camera)
|
||||
public override void Initiate(Rectangle screenSize, Camera2D camera)
|
||||
{
|
||||
book.Initiate(camera, screenSize);
|
||||
base.Initiate(graphicsDevice, screenSize, camera);
|
||||
base.Initiate(screenSize, camera);
|
||||
}
|
||||
|
||||
public override void Show()
|
||||
|
@ -1,13 +1,7 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using RecrownedAthenaeum.UI;
|
||||
using RecrownedAthenaeum.ScreenSystem;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RecrownedAthenaeum.Screens.Transitions
|
||||
{
|
||||
@ -74,12 +68,12 @@ namespace RecrownedAthenaeum.Screens.Transitions
|
||||
curtain.Dispose();
|
||||
}
|
||||
|
||||
public bool EnteringTransition(double delta, bool assetsLoaded)
|
||||
public bool UpdateEnteringTransition(double delta, bool assetsLoaded)
|
||||
{
|
||||
return Fade((float)delta);
|
||||
}
|
||||
|
||||
public bool ExitingTransition(double delta, bool assetsLoaded)
|
||||
public bool UpdateExitingTransition(double delta, bool assetsLoaded)
|
||||
{
|
||||
return Fade((float)delta);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user