(svn r4075) - Feature: Undraw the mouse when it leaves the window and Draw it again when it enters. Added both for WIN32 and SDL. Since Win95 has troubles with TrackMouseEvent(), this function was just simply rewritten which was the easiest. Based on a patch by DmitryKo.

This commit is contained in:
Darkvater
2006-03-24 00:42:35 +00:00
parent 10936e7034
commit ea1adebe31
5 changed files with 76 additions and 9 deletions

View File

@@ -450,6 +450,7 @@ int ttd_main(int argc, char* argv[])
// initialize the ingame console
IConsoleInit();
_cursor.in_window = true;
InitializeGUI();
IConsoleCmdExec("exec scripts/autoexec.scr 0");