5356 Commits

Author SHA1 Message Date
UnknownShadow200
63ca5c844b Fix buffer overflow with extremely large skin sizes 2020-12-02 20:06:03 +11:00
UnknownShadow200
7d58c5c241 Webclient: Download is no longer a WIP
The temp map file is now properly written to the in-memory filesystem instead of default filesystem, meaning an error is no longer printed to console about a missing file.
2020-11-29 14:36:25 +11:00
UnknownShadow200
bfd9c01e89 Webclient: Read default texture pack in less hacky way 2020-11-29 14:23:32 +11:00
UnknownShadow200
dbbf0cbc66 Webclient: Fix downloading map still leaving behind file in IndexedDB
Prints an error message to console now. Not ideal but better than before.
2020-11-29 13:31:35 +11:00
UnknownShadow200
12b6752f62 Fix characters in special input widget not having enough padding
Temp fix for now, need to do proper fix later
1.2.1
2020-11-29 10:11:52 +11:00
UnknownShadow200
80dd93f522 Release 1.2.1 2020-11-29 09:24:36 +11:00
UnknownShadow200
21939b12ba Try not intercepting any touch events when keyboard is open 2020-11-28 21:46:35 +11:00
UnknownShadow200
9de0b309fd Mobile webclient: Attempt to fix not being able to tap to move text input caret
Not sure why it works on my local testing version but who really knows
2020-11-28 21:27:56 +11:00
UnknownShadow200
fde9fe58bf Combine title and page number for load level/change texture/font list menus 2020-11-28 16:55:19 +11:00
UnknownShadow200
8e56cb92fd Mobile: Add third person on screen control 2020-11-28 16:37:51 +11:00
UnknownShadow200
c6ac0c14b0 Mobile: Add second page into onscreen controls
Actually implementing more onscreens buttons will come next
2020-11-28 16:13:31 +11:00
UnknownShadow200
43b2242e85 Webclient: If webpage is served over https, automatically change all download urls to always use https://
Otherwise trying to download from a url with http:// just fails
2020-11-27 19:30:46 +11:00
UnknownShadow200
8d91679177 Mobile: Attempt to fix space scrolling page instead of jumping on external keyboard with ipad safari (Thanks Isabella) 2020-11-26 23:24:34 +11:00
UnknownShadow200
2153219e49 Webclient: Disable system font buttons (they don't work anyways) 2020-11-25 12:10:49 +11:00
UnknownShadow200
46ca462974 Webclient: Don't forget to change touch events to use targetX/Y instead of canvasX/Y 2020-11-24 10:06:32 +11:00
UnknownShadow200
64d9a03aff Split up Input_SetPressed into Input_Set/Input_SetPressed/Input_SetReleased 2020-11-23 22:40:30 +11:00
UnknownShadow200
9578de501a Try to cleanup Input_SetPressed usage a bit 2020-11-23 21:01:37 +11:00
UnknownShadow200
9be6079ffc And fix those button labels being slightly offcentre 2020-11-23 00:56:38 +11:00
UnknownShadow200
66452996a7 Mobile: Simplify more/jump button to .../^, move more to top of screen too 2020-11-22 23:27:58 +11:00
UnknownShadow200
a5b57241b1 Mobile: Make it so tablist doesn't instantly disappear after 1 frame 2020-11-22 17:16:41 +11:00
UnknownShadow200
39604da185 Change ev->canvasX/Y to ev->targetX/Y
For the latest instalment of Breaking Changes
2020-11-22 14:28:02 +11:00
UnknownShadow200
9f88700074 Android version should always be fullscreen
Also improve documentation for String_Format (Thanks Tree)
2020-11-21 14:06:14 +11:00
UnknownShadow200
0dcef09251 Mobile: Make it so clicking on links in chat always asks to open them (even when chat input isn't open) 2020-11-20 23:16:00 +11:00
UnknownShadow200
8f1199dcf4 Don't try to render shadows beneath entities can't see
This is particularly important due to how inefficiently entity shadows are drawn. Also saves 1/2 kb depending on 32/64 bit.
2020-11-19 21:04:40 +11:00
UnknownShadow200
15a2c8517f Webclient: Change appname from 'ClassiCube web client' to just 'ClassiCube web', and also use appname of 'ClassiCube web mobile' when user is using mobile/tablet 2020-11-19 20:50:49 +11:00
UnknownShadow200
ed9f30493e combine Http_DescribeError and Platform_DescribeError code for windows 2020-11-19 01:13:22 +11:00
UnknownShadow200
05bc88da4b Entity names shouldn't be DPI scaled (Thanks jviteo2005) 2020-11-18 19:06:39 +11:00
UnknownShadow200
44ddfb2801 Clickable chat should be disabled on mobile by default
Also try to use less '#ifdef CC_BUILD_TOUCH'
2020-11-18 18:44:47 +11:00
UnknownShadow200
f161d74b2a Mobile: Allow moving camera still while holding down finger for deleting blocks (thanks cjnator38) 2020-11-18 18:06:11 +11:00
UnknownShadow200
892ce79bdb Add Drawer2D_MakeBitmappedFont function 2020-11-18 12:57:53 +11:00
UnknownShadow200
a267adfbce Mobile: Fix if you hold down finger to delete block, then move it slightly, it reverts to moving camera instead (Thanks fizzwhiz) 2020-11-17 23:32:55 +11:00
UnknownShadow200
0643c90f3a Mobile: Make menu input overlay clearer and make it actually stay onscreen on an ipad (Thanks Isabella) 2020-11-17 21:12:37 +11:00
UnknownShadow200
c8e6fb0b56 Fix some screens appearing messed up initially when graphics context is recreated
Note that this would automatically correct itself anyways when mouse was moved/clicked
2020-11-17 00:51:56 +11:00
UnknownShadow200
a95c17ab4e Android: Fix typing in servers search filter not actually filtering, fix if you press 'enter' in on-screen keyboard in servers menu, the on-screen keyboard stayed open even after going in-game 2020-11-16 12:01:15 +11:00
UnknownShadow200
a55580b107 Mobile: Fix if you're holding jump then open menu with a different finger, then release both in that menu, jump sometimes gets stuck down 2020-11-15 23:57:00 +11:00
UnknownShadow200
91bcfd2d37 Speed in top left status should say 'speed: 15x' instead of just 'speed: ON' 2020-11-15 18:13:38 +11:00
UnknownShadow200
85dfa73921 Android: Fix after you return to the game after having switched to something else, it had lost fullscreen (Thanks fizzwhiz) 2020-11-15 13:32:02 +11:00
UnknownShadow200
d053191cef Android: Move fullscreen variable out of Window.c and into java side activity 2020-11-15 13:12:17 +11:00
UnknownShadow200
3384dc86f2 Add basic X11 input method support, fixes not being able to type accented characters such as é on keyboard layouts such as Portuguese Brazilian (Thanks GuzzDoritos) 2020-11-15 10:37:38 +11:00
UnknownShadow200
aef4eb2f02 Mobile: Fix speed/half-speed on-screen controls getting stuck down 2020-11-14 00:26:29 +11:00
UnknownShadow200
b536b314a3
Merge pull request #755 from UnknownShadow200/NMControls
Newish mobile controls
2020-11-14 00:12:12 +11:00
UnknownShadow200
2eb533e5df Mobile: In on-screen controls, on-screen buttons that are active are drawn normally, but ones that are not active are drawn grey tinted 2020-11-14 00:07:29 +11:00
UnknownShadow200
d789184e9a Fix speed/half-speed on-screen controls getting stuck down 2020-11-13 23:11:58 +11:00
UnknownShadow200
03b8a949d0 Try to open chat/set fly/noclip etc directly rather than toggling keybinds 2020-11-13 22:44:29 +11:00
UnknownShadow200
20e16e0dc9 On-screen hacks buttons are disabled if orresponding hack is disabled
E.g -fly or -hax disables on-screen fly button
2020-11-13 22:12:04 +11:00
UnknownShadow200
eb9b0aad28 Onscreen buttons work now.. technically 2020-11-13 21:52:33 +11:00
UnknownShadow200
531a4ad34d Code cleanup 2020-11-13 01:19:49 +11:00
UnknownShadow200
37673e35e7 Initial WIP for on-screen controls menu 2020-11-12 23:45:42 +11:00
UnknownShadow200
f6920e7ac8 Webclient: Fix showing 'no error information' in chat for error codes such as INF_ERR_BLOCKTYPE 2020-11-12 23:05:05 +11:00
UnknownShadow200
54b34e909a Actually get Sensitivity option in touch controls menu working 2020-11-12 00:37:04 +11:00