20 lines
488 B
C#
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();
|
|
}
|
|
} |