fixes for running on linux

This commit is contained in:
Chris Forbes
2010-02-18 23:46:00 +13:00
parent 0b22797b12
commit 5adefb8fee
8 changed files with 17 additions and 10 deletions

View File

@@ -343,8 +343,8 @@ namespace OpenRa
desktopResolution.Height);
}
[DllImport("user32")]
static extern int ShowCursor([MarshalAs(UnmanagedType.Bool)] bool visible);
// [DllImport("user32")]
// static extern int ShowCursor([MarshalAs(UnmanagedType.Bool)] bool visible);
public static void PreInit(Settings settings)
{
@@ -376,7 +376,7 @@ namespace OpenRa
Game.Initialize(Game.Settings.Map, renderer, new int2(resolution), Game.Settings.Player, controller);
ShowCursor(false);
// ShowCursor(false);
Game.ResetTimer();
}