5444 Commits

Author SHA1 Message Date
UnknownShadow200
8981b3cbbd Don't load system fonts list until actually needed 2020-11-07 19:53:34 +11:00
UnknownShadow200
549f0a5cfe Don't init FreeType library until actually required 2020-11-07 16:23:51 +11:00
UnknownShadow200
c57631e80d Fix downloaded skin data not being freed and so leaking memory 2020-11-07 15:30:38 +11:00
UnknownShadow200
7150af4ab5 Android: Fullscreen should be sticky immersive (Thanks fizzwhiz)
This means that if you tap at top or bottom of screen to get navigation/status bars to reappear, they should reappear only for a few seconds and as a translucent overlay instead. Also avoid using HttpRequest_Free in favour of Mem_Free
2020-11-07 15:05:30 +11:00
UnknownShadow200
f344c9b096 Android: Fix when you quit multiplayer and start singleplayer, last ping value still shows in top left (Thanks fizzwhiz) 2020-11-07 13:56:01 +11:00
UnknownShadow200
2e31f4046f Fix pressing enter in soft input keyboard not closing when signing in (Thanks fizzwhiz) 2020-11-07 13:46:38 +11:00
Cheesse
7798881442 Modify perspective matrix when calculating instead
Also simplify calculation of perspective matrix and remove pointless operations.
2020-11-06 21:09:28 -05:00
UnknownShadow200
40688812c6 Webclient: Don't intercept touchend events while soft input keyboard is open
This means you can now tap on letters to move the caret position in the input textbox (Thanks cjnator38)
2020-11-07 00:53:11 +11:00
UnknownShadow200
a6fa01eb7a Webclient: For safari ios, position chat/send buttons at bottom of game instead
With safari on ios, opening chat will also push the entire game canvas up, meaning you can't see the chat/send buttons anymore. Android does not do this however, so leave the buttons at the top. (Thanks cjnator38)
2020-11-06 23:28:26 +11:00
UnknownShadow200
9f0f58efab When skin isn't actually a .png, also log first few bytes of downloaded data to allow identifying what was actually downloaded (Thanks stein38302) 2020-11-06 21:14:51 +11:00
UnknownShadow200
5c74425d79 Try to fix weird scaling resolutions on android devices
Also rename Display.DpiX/Y to ScaleX/Y to reflect what it actually is
2020-11-06 09:31:11 +11:00
UnknownShadow200
b23027cf64 Make names of logger functions more consistent, and improve Logger_SimpleWarn 2020-11-06 09:16:45 +11:00
Cheesse
8e9c084dd2 Use reversed z depth for D3D backend
Removes depth artifacts at high view distances for 24 bit depth buffers. Allows the decrease of the near Z plane in those circumstances.
2020-11-05 15:42:27 -05:00
UnknownShadow200
2ea627dcf0 Android: Fix non ASCII characters being stuffed up when typed in/pasted (Thanks GuzzDoritos) 2020-11-05 19:46:55 +11:00
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