- Made the plugin handling internally way simpler (no tons of duplicated code anymore) - Added empty MediaSystem to have a default for now (Windows.OpenAL) - Added a PercentageCompleteAttribute which will be used to mark the current state of a class (0-100%)
27 lines
554 B
C#
27 lines
554 B
C#
using System;
|
|
using ANX.Framework.NonXNA;
|
|
|
|
namespace WindowsGame1
|
|
{
|
|
#if WINDOWS || XBOX
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
static void Main(string[] args)
|
|
{
|
|
AddInSystemFactory.Instance.SetPreferredSystem(
|
|
AddInType.RenderSystem, "OpenGL3");
|
|
//AddInType.RenderSystem, "DirectX11");
|
|
|
|
using (Game1 game = new Game1())
|
|
{
|
|
game.Run();
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|