6261 Commits

Author SHA1 Message Date
UnknownShadow200
4fb020a336 font_style --> font_flags 2020-10-03 14:49:39 +10:00
UnknownShadow200
d125a133f4 call HUDScreen_Update directly instead of in Render method 2020-10-03 14:17:06 +10:00
UnknownShadow200
2d9d5561f3 Move AddVertices out of Builder_Stretch and into respective StretchX/Z methods 2020-10-02 20:21:54 +10:00
UnknownShadow200
01c7f1a08f less warnings compiling with emscripten 2020-10-02 01:04:29 +10:00
UnknownShadow200
73a68dca39 Add some touch padding to the right of the inventory scrollbar
This way if you touch your finger a little bit to the right of the scrollbar, it still activates it instead of closing the inventory. (this was quite easy to do on accident)
2020-10-01 23:07:48 +10:00
UnknownShadow200
cad713e6fe Release 1.2.0 1.2.0 2020-10-01 12:22:05 +10:00
UnknownShadow200
b14fd478d7 don't crash game if server sends invalid block id over 768 2020-09-30 23:54:56 +10:00
UnknownShadow200
2e64e28003
Merge pull request #725 from UnknownShadow200/HttpRewrite2
Improve HTTP api
2020-09-30 00:48:47 +10:00
UnknownShadow200
304a3c3651 Opening tab list shouldn't cause mouse button PlayerClick release packets to be sent (Thanks Goodly) 2020-09-29 22:03:11 +10:00
UnknownShadow200
619d061a70 fix last commit and get border around chat (when drawn) to properly DPI scale 2020-09-28 22:05:04 +10:00
UnknownShadow200
d4702e9693 chat logging is disabled on android by default, don't compile freetype code when compiling with emscripten to shave few seconds off compile time 2020-09-28 21:45:51 +10:00
UnknownShadow200
982d0bb925 Reduce target SDK version from 26 to 23 so I can use file:// uris when sharing screenshots to other applications. >= 24 throws a android.os.FileUriExposedException when I try that.
If this causes problems in the future, I made a properly working ContentProvider implementation for screenshots in AndroidContentProvider branch. I tested and it does seem to work, although it's terribly written code and probably breaks somehow. Definitely not worth the two hours I wasted on that and FileProvider.
2020-09-27 22:56:09 +10:00
UnknownShadow200
a466890ac3 Fix 'check for updates' showing 'failed' and add message in updates menu telling user they need to redownload and reinstall apk, fixes #714 2020-09-27 20:11:09 +10:00
UnknownShadow200
351c8d570c remove unused appcompat/constraintlayout dependencies for android version (debug apk 4.4 --> 2.9 MB, release 3.6 --> 2.3 MB)
Also reduce
minimum android version from 4.0 to 3.2
2020-09-27 18:42:49 +10:00
UnknownShadow200
3d220ab7d8 it's probably bad idea to exclude android version from backups 2020-09-27 18:14:00 +10:00
UnknownShadow200
c4f39e57f9 avoid reading a few optional font tables, 6 less i/o reads at startup 2020-09-27 16:09:45 +10:00
UnknownShadow200
2cdd20b4ae Add broken support for auto sharing screenshots taken on android 2020-09-27 16:03:07 +10:00
UnknownShadow200
fe44fb336d
Merge pull request #724 from UnknownShadow200/MobileInv
Improve inventory (especially for mobile)
2020-09-27 09:30:17 +10:00
UnknownShadow200
98f43a5cfa Change Http_AsyncXYZ to return request ID directly, add Http_TryCancel 2020-09-27 09:04:06 +10:00
UnknownShadow200
a8c1304342 For last slot in hotbar for mobile web client, show '...' to indicate it can be clicked on to open inventory 2020-09-26 00:11:36 +10:00
UnknownShadow200
2960e6e116 obsolete TextWidget_Make, improve HUDScreen_Layout, a few other minor fixes 2020-09-25 22:09:51 +10:00
UnknownShadow200
47fb88b86f Fix position of bottom-right CPE text being wrong after unminimising (Thanks Goodly) 2020-09-23 16:54:31 +10:00
UnknownShadow200
ab28547a69 Remove use of italic font from the launcher 2020-09-22 21:58:51 +10:00
UnknownShadow200
c200ffffe8 and fix padding for top and bottom of inventory table 2020-09-21 00:17:27 +10:00
UnknownShadow200
75d437fdb1 Adjust inventory to reduce rows if it doesn't fit on screen 2020-09-20 23:45:45 +10:00
UnknownShadow200
4875746bf6 Fix not being able to place water/lava/bedrock after loading new map in singleplayer (Thanks Guri) 2020-09-20 15:44:34 +10:00
UnknownShadow200
f1faf3250d Start adjusting inventory for DPI 2020-09-19 21:38:14 +10:00
UnknownShadow200
fa355250c1 For mobile, clicking last slot in inventory hotbar instead opens the inventory. Also replace 'inventory' with 'screenshot' in more menu. 2020-09-19 13:42:48 +10:00
UnknownShadow200
31ea08eead
Merge pull request #721 from UnknownShadow200/MobileFixes
Auto adjust game resolution on mobile device rotation  (web client)
2020-09-19 10:21:57 +10:00
UnknownShadow200
0eb62ffb24 make dynamic gl function imports a bit nicer 2020-09-18 18:31:27 +10:00
UnknownShadow200
4ea082e94a fix on desktop browser, it goes fullscreen but then resizes to lower quality windowed resolution 2020-09-17 19:47:05 +10:00
UnknownShadow200
25aed6b6d3 according to Science, it's hazardous to a program's health to read from bogus memory
Fixes auto resize on device rotation not working on ios
2020-09-16 21:31:49 +10:00
UnknownShadow200
6519e52c04 Attempt to automatically resize game window when device orientation changes for mobile web client 2020-09-16 00:58:16 +10:00
UnknownShadow200
8d2afa5e15 fix if you provide IP with 5 numbers, it wrongly just parses the first 4 numbers instead of reporting an error 2020-09-14 19:41:52 +10:00
UnknownShadow200
1d39ce5f12
Merge pull request #719 from SpiralP/patch-1
convert Flip CustomModelAnimType to use a euclidian modulo function
2020-09-14 15:03:51 +10:00
SpiralP
f60b1246cc
convert Flip CustomModelAnimType to use a euclidian modulo function 2020-09-13 22:02:17 -07:00
UnknownShadow200
5c8c13f80f
Merge pull request #713 from UnknownShadow200/HttpIDRewrite
Http rewrite
2020-09-12 17:01:17 +10:00
UnknownShadow200
416e2d254f fix failed copy paste attempt 2020-09-12 16:56:44 +10:00
UnknownShadow200
291d397a28 fix libcurl backend being broken 2020-09-11 01:08:17 +10:00
UnknownShadow200
521a40f471 Line colour should always be grey in classic mode, fixes #708 (Thanks TheAwesome98) 2020-09-09 21:18:09 +10:00
UnknownShadow200
603c4b1dff Get rid of some global variables for wininet/libcurl backend that were really request instance specific 2020-09-09 19:23:23 +10:00
UnknownShadow200
391c385c2f Also reset all entries when freeing TabList component to 0, hopefully fixes a certain plugin crashing 2020-09-07 14:36:34 +10:00
UnknownShadow200
93c1dc7674 Fix http request worker thread getting stuck forever
Also make buffer capacity per request, not a single global variable
2020-09-06 00:00:19 +10:00
UnknownShadow200
0a253353ff Fix web backend and cleanup http code in general 2020-09-05 18:24:20 +10:00
UnknownShadow200
49f7160974 Http_GetCurrent only returns request ID 2020-09-05 17:18:23 +10:00
UnknownShadow200
ddf7b10d91 Move towards using Http_CheckProgress instead of Http_GetCurrent 2020-09-05 16:04:08 +10:00
UnknownShadow200
99fb94bbed Fix resources and skins too work too. Probably still broke something though 2020-09-05 15:43:24 +10:00
UnknownShadow200
d89c960184 Initial work on reqriting http request to use int instead of string ids 2020-09-05 15:10:47 +10:00
UnknownShadow200
0877f01775
Merge pull request #706 from UnknownShadow200/Guifixes45
DPI scale tab list, cleanup code for tab list
2020-09-05 14:19:36 +10:00
UnknownShadow200
d41f1a9a6e add Screen_LockVb method 2020-09-04 00:39:33 +10:00