23 #if SILICONSTUDIO_PLATFORM_WINDOWS_DESKTOP
26 using System.Reflection;
28 namespace SiliconStudio.
Paradox.Games
30 internal class GamePlatformDesktop : GamePlatform
32 public GamePlatformDesktop(GameBase game) : base(game)
37 public override string DefaultAppDirectory
41 var assemblyUri =
new Uri(Assembly.GetEntryAssembly().CodeBase);
42 return Path.GetDirectoryName(assemblyUri.LocalPath);
46 internal override GameWindow[] GetSupportedGameWindows()
48 return new GameWindow[]
50 #if SILICONSTUDIO_PARADOX_GRAPHICS_API_DIRECT3D
51 new GameWindowDesktop(),
52 #elif SILICONSTUDIO_PARADOX_GRAPHICS_API_OPENGL
53 new GameWindowOpenTK(),