5730 Commits

Author SHA1 Message Date
UnknownShadow200
34e4bf3605 Android: Fix trying to backspace or insert numbers in numerical fields crashing the game on old android versions (Thanks 123DMWM) 2020-11-05 17:46:43 +11:00
UnknownShadow200
63f248f793 Fix while chatlines defaults to 12 when loading from options.txt, it was 10 in chat options menu - now it's consistently 10 in classic mode and 12 in normal (Thanks fizzwhiz) 2020-11-05 01:00:54 +11:00
UnknownShadow200
de88d5c0b4 Fix bottom right CPE messages being positioned way too high up on high DPI screens (Thanks 123DMWM) 2020-11-04 18:48:42 +11:00
UnknownShadow200
65d3f399d4 Android: Fix if you quit multiplayer and start singleplayer, any CPE messages that were previously showing still show in singleplayer (Thanks 123DMWM) 2020-11-04 18:25:27 +11:00
UnknownShadow200
81f5e829e6 Add documentation in hosting-webclient.md for how to properly design webpage hosting the webclient for mobile devices 2020-11-03 22:43:36 +11:00
UnknownShadow200
d597f23a0d Webclient: When you close the game, exit fullscreen first.
Fixes being stuck in fullscreen with image of last rendered frame when you click 'quit game'
2020-11-03 12:16:22 +11:00
UnknownShadow200
20cfaba0ac temp debug messages 2020-11-03 11:42:49 +11:00
UnknownShadow200
a3f32279f6 Android: Fix singleplayer reusing texture pack from last server (thanks fizzwhiz) 2020-11-03 10:01:18 +11:00
UnknownShadow200
f54360d169 Fix 1014aeadc04d486a925f8dc402eefdd4a128b567 breaking reconnecting 2020-11-03 09:52:38 +11:00
UnknownShadow200
c9d0e7f699 World_TextureUrl -> TexturePack_Url 2020-11-03 09:23:05 +11:00
UnknownShadow200
d4214022b5 Android: Core part of the game should start in fullscreen by default (Thanks fizzwhiz) 2020-11-03 00:40:02 +11:00
UnknownShadow200
0d656869a4 Android: Disable the fullscreen editing view for soft input keyboard in landscape that showed up on some devices (Thanks fizzwhiz) 2020-11-02 19:27:17 +11:00
UnknownShadow200
1014aeadc0 Android: Fix when you quit multiplayer, then try to start singleplayer, you end up joining multiplayer again (Thanks fizzwhiz) 2020-11-02 19:16:13 +11:00
UnknownShadow200
201ba9ce47 Fix when you open chat on mobile webclient in horizontal orientation on some devices, chat stays scaled too small after the soft input keyboard is closed 2020-11-02 00:51:10 +11:00
UnknownShadow200
4cefb4781a Web client: When you do /client gpuinfo, also try to log GPU name and info 2020-11-01 14:26:12 +11:00
UnknownShadow200
37dd0c0524 Change /client gpu to put information into one cc_string separated by \n instead of using an array of cc_strings 2020-11-01 13:10:24 +11:00
UnknownShadow200
ef6ed0f764 Android: Mute music volume when window is lost (Thanks 123DMWM)
This is far from ideal since music should be paused not muted, but it's a starting point
2020-11-01 10:19:04 +11:00
UnknownShadow200
302415fcb0 Android: Fix backspaces to work in password input too, fixes #745 (Thanks Fam0r and AndrewPH) 2020-11-01 09:47:03 +11:00
UnknownShadow200
4a92a6d271 Android: Get numbers to work properly in emulator at least. Pending testing on actual devices 2020-11-01 09:32:36 +11:00
UnknownShadow200
c2f746adfc Android: Fix once you go to a server, then quit, then go back to server list, flags appear corrupted (Thanks megaboi) 2020-11-01 01:21:38 +11:00
UnknownShadow200
2b10ae408c Fix rare game freeze when trying to stop playing music, only been triggered on android so far that I know of 2020-10-31 23:25:40 +11:00
UnknownShadow200
0fe269dff5
Merge pull request #743 from UnknownShadow200/AndroidFS
Better web client fullscreen for android
2020-10-31 21:32:56 +11:00
UnknownShadow200
5aeca085dc Use a less awful approach to fullscreening webclient that works in IE11 and lets me sleep at night 2020-10-31 20:57:24 +11:00
UnknownShadow200
a4e08431b2 Ignore system fonts that don't have valid mappings for a/z/A/Z (Thanks 123DMWM)
On android, cuts down number of font pages from 35 to 5
2020-10-31 17:53:21 +11:00
UnknownShadow200
53e34eec26 Android: Don't prevent physical volume buttons from working (Thanks 123DMWM) 2020-10-31 17:02:42 +11:00
UnknownShadow200
89214706fb
Merge pull request #738 from UnknownShadow200/NGAudio
Next generation audio rewrite
2020-10-31 16:25:28 +11:00
UnknownShadow200
015b56f71d Fix OpenAL audio backend not compiling 2020-10-31 15:40:40 +11:00
UnknownShadow200
cae2f15873 remove debug stuff 2020-10-31 13:08:04 +11:00
UnknownShadow200
0f811c3ec3 Always use non-blocking sockets, fixes rare case where game will wait forever on a blocking send (Thanks ScrantonWorkBus) 2020-10-31 11:41:22 +11:00
UnknownShadow200
1b8b8947b3 Get chat working in fullscreen for webclient on android chrome 2020-10-30 19:00:07 +11:00
UnknownShadow200
b629789b48 Make webclient resize code less awful 2020-10-30 00:48:02 +11:00
UnknownShadow200
a24454fc64 Fix on mobile webclient, when you rotate device in fullscreen, the game doesn't readjust to fit the new screen dimensions 2020-10-30 00:40:44 +11:00
UnknownShadow200
0a7c6fe31d WIP on using own fullscreen handling stuff for web client 2020-10-30 00:15:58 +11:00
UnknownShadow200
e3b9f5b531 Retrieve canvas width/height directly instead of relying on emscripten_get_canvas_element_size 2020-10-29 22:30:30 +11:00
UnknownShadow200
04f4818e53 The 4-arrow movement circle on mobile should always position itself to be slightly above inventory hotbar, instead of at a hardcoded offset from bottom of game 2020-10-28 23:29:43 +11:00
UnknownShadow200
b3e82c214b Improve 'skipping long line message' to also include number of characters in that line (Thanks masoncb) 2020-10-28 08:46:59 +11:00
UnknownShadow200
e10cb1a566 Update sprite bounds after undefining a block, fixes say being in a map which redefined rope then going to a map with normal rope block (Thanks Fam0r, fixes #459) 2020-10-28 00:26:18 +11:00
UnknownShadow200
25e8a4dfcc Attempt to avoid crashing if CreateVb/Tex fails with E_OUTOFMEMORY and if CreateTex fails with D3DERR_OUTOFVIDEOMEMORY (Thanks Henry242) 2020-10-27 23:55:43 +11:00
UnknownShadow200
a99e3d8121 Android: Also download and extract touch.png
Implementation is still a bit hacky and needs to be redone though
2020-10-27 23:20:12 +11:00
UnknownShadow200
5a850f55d0
Merge pull request #739 from UnknownShadow200/MobileTouch
Improve mobile touch controls
2020-10-27 16:12:07 +11:00
UnknownShadow200
9d9003be8e Don't URL encode ? and = when downloading urls on windows, fixes failing to download texture pack from some webservers (Thanks Jacob_) 2020-10-27 12:24:53 +11:00
UnknownShadow200
7f917f59c3 Fix the other two directions 2020-10-26 23:36:31 +11:00
UnknownShadow200
c5eb3593cf Adjust for a much better texture (Thanks Goodly) 2020-10-26 22:45:19 +11:00
UnknownShadow200
6652f9f316 When you go back to main screen in launcher and try to sign in again, attempt to resume current login instead of always doing a fresh login (Unless a different signin username has been typed in) 2020-10-26 09:12:51 +11:00
UnknownShadow200
beba09b2ef If GET /api/login returns a username then keep track of that 2020-10-26 00:33:44 +11:00
UnknownShadow200
e777be1e90 Mobile: When flying/noclip is enabled, change the 'jump' button to two separate 'up' and 'down' buttons 2020-10-25 23:55:46 +11:00
UnknownShadow200
58a9b57e79 Add event for hacks state changing 2020-10-24 23:24:19 +11:00
UnknownShadow200
88c0f476f5 Draw active regions for two of the directions 2020-10-24 19:04:23 +11:00
UnknownShadow200
4b2d596585 Switch to simpler 4 direction version 2020-10-24 19:04:21 +11:00
UnknownShadow200
f24dfe63c4 thumbstick WIP 2020-10-24 19:04:19 +11:00