66 Commits

Author SHA1 Message Date
UnknownShadow200
3e34665941 Web mobile: Make text input dark instead of light, and don't render chat input behind it at all 2022-09-10 14:19:24 +10:00
UnknownShadow200
882b437912 Web mobile: Fix test getting pasted twice (Thanks Action_play) 2022-07-27 18:49:45 +10:00
UnknownShadow200
23cf906203 Change InputEvents.Press to use a unicode character 2022-07-14 19:16:39 +10:00
UnknownShadow200
76c334f3ad SDL: Fix window not being resizable 2022-02-13 12:22:39 +11:00
UnknownShadow200
fc10386ff9 Call Window_DisableRawMouse on all platforms when game is closed, not just webclient (Thanks Igor1_)
Fixes on Windows where if cursor grabbing was enabled and the game window was closed via taskbar preview, the cursor would still be trapped/confined in the region the game window was in before the game was closed
2022-02-12 23:44:16 +11:00
UnknownShadow200
41226b6d67 Improve filter on Windows and webclient 2022-01-19 12:04:53 +11:00
UnknownShadow200
f7561ebb2a Initial 'Load file' map support for Windows
'Load file' opens a file dialog allowing you to load maps from anywhere on disc
2022-01-19 07:48:25 +11:00
UnknownShadow200
fdd6e58063 Fix last commit missing one changed file, also fixup line endings 2022-01-05 15:16:10 +11:00
UnknownShadow200
7b8469573f WIP on switching to very low performance mode when tab is hidden instead of completely suspending the game 2022-01-01 16:58:30 +11:00
UnknownShadow200
db9ee23a86 OpenGL: Go into reduced performance mode when window is obscured 2021-11-28 21:58:48 +11:00
UnknownShadow200
455221207c Windows 98: Fix fullscreen not working too 2021-11-28 17:29:58 +11:00
UnknownShadow200
6222d7bb4c Web: For mobile, stop event propgation for touch/mouse down/move events on html text input overlay, because we don't want the game to even know about these events 2021-10-08 12:04:40 +11:00
UnknownShadow200
1c786570e4 Web: Fix canvas not auto clearing when client is exited with an error (e.g. invalid port) 2021-10-07 20:32:26 +11:00
UnknownShadow200
d3a9477470 Web: Move emscripten_set_main_loop from Game.c to Window_Web.c 2021-10-07 17:40:21 +11:00
UnknownShadow200
50ee66a6f8 Split Window_Create into Window_Create2D/3D 2021-09-14 07:01:31 +10:00
UnknownShadow200
df6cc32cdf Split up Window.c into separate backends, except for mac 2021-07-16 07:57:17 +10:00