Files
doom-dm/DoomDeathmatch/Program.cs
2024-12-04 22:35:04 +03:00

20 lines
488 B
C#

using System.Diagnostics;
using System.Drawing;
using System.Runtime.InteropServices;
namespace DoomDeathmatch;
internal abstract class Program
{
[DllImport("kernel32.dll")]
static extern IntPtr GetConsoleWindow();
[DllImport("User32.dll", SetLastError = true)]
public static extern IntPtr GetDC(IntPtr hwnd);
public static void Main(string[] args)
{
var engine = new Engine.Engine(1280, 720, false, "Doom Deathmatch");
engine.Run();
}
}