Unciv/desktop
Timo T ceeb547fb8
Create turn notifier for when the game is running for Windows (#6682)
* Create turn notifier for when the game is running for Windows

If playing on Desktop, you often put the game into background, but still want to know if it's your turn. A standard Windows function for that is `FlashWindow` from winuser.h, which is implemented here

* Fix: Use the window from the listener instead of the static one from libGDL

* Only notify if it's the turn of the player that is playing

* Always notify spectators of the next players' turn

* Refactor: Move notifier into GeneralPlatformSpecificHelpers

* Only load Windows DLL when we're actually on Windows
2022-05-06 08:42:30 +03:00
..
discord_rpc
linuxFilesForJar Fixes warnings in desktop-file-validate (#5822) 2021-12-18 20:06:27 +02:00
src/com/unciv/app/desktop Create turn notifier for when the game is running for Windows (#6682) 2022-05-06 08:42:30 +03:00
build.gradle.kts Disable -XstartOnFirstThread when not on Mac. (#5782) 2021-12-22 19:17:50 +02:00
packrConfig.json