5135 Commits

Author SHA1 Message Date
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
UnknownShadow200
4d116a1f41 Fix some skin URLS with a / in them causing a 404 (Thanks SpiralP) 2020-09-01 09:29:23 +10:00
UnknownShadow200
d1542c4db8 Show the time APK was last updated for build time in updates menu for android version 2020-08-30 12:39:24 +10:00
UnknownShadow200
1da8872217 Fix clicking Controls in classic mode options crashing (Thanks TheAwesome98) 2020-08-29 21:35:32 +10:00
UnknownShadow200
ba956c8a1c fix android build crashing when you try to actually go in-game 2020-08-29 16:29:35 +10:00
UnknownShadow200
2a439f09a3 Add appropriate error message for when trying to load texture pack zip with too many entries (Thanks Mr.Knowledge) 2020-08-28 12:42:37 +10:00
UnknownShadow200
077829cf44 and fix 'connected players' to offset properly with DPI scale too 2020-08-27 00:47:38 +10:00
UnknownShadow200
bef57bf773 Get tab list to mostly DPI scale 2020-08-27 00:23:13 +10:00
UnknownShadow200
0a29905f99 Fix 'server sent invalid packet' wrongly showing current instead of previous opcode for 'prev' (Thanks Venk) 2020-08-26 17:42:48 +10:00
UnknownShadow200
22a3c0d0b4 fix style of field names in vorbis.c 2020-08-26 17:33:19 +10:00
UnknownShadow200
2d116128b2 Screenshots taken with webclient should be saved with filename of current date, instead of just 'ClassiCube-screenshot' 2020-08-25 23:52:53 +10:00
UnknownShadow200
639a214d7d
Merge pull request #698 from UnknownShadow200/RenderRewrite42
Optimise loading screen rendering, properly separate out tab list
2020-08-25 22:57:00 +10:00
UnknownShadow200
face3d87b1 Move base screen code into gui.c 2020-08-25 22:03:17 +10:00
UnknownShadow200
4e58d992b1 tidy up tab list screen comparison code 2020-08-23 18:19:17 +10:00
UnknownShadow200
429278a753 Move tab list into separate screen (phase 1) 2020-08-23 18:10:45 +10:00
UnknownShadow200
12c0810c21 Fix generating screen needlessly constantly redrawing the current state text 2020-08-23 13:03:12 +10:00
UnknownShadow200
2c985dac7d Port LoadingScreen to new render method 2020-08-23 12:28:46 +10:00
UnknownShadow200
399bd8812c Fix tex ids overlay title with high DPI, update hosting-flask.md 2020-08-22 23:44:03 +10:00
UnknownShadow200
2de35be8d9 Fix hosting-webclient.md not working with very recent emscripten
Emscripten doesn't special case '#canvas' to Module['canvas'] anymore, instead it does document.querySelector('#canvas'). So give the canvas element the id of 'canvas' instead of 'GameCanvas' to make it work.

Also change the 'exception thrown' message to include the actual javascript error message.
2020-08-22 16:18:39 +10:00
UnknownShadow200
0daddd3801 Scale and position the bars in edit hotkey screen with DPI 2020-08-22 12:41:44 +10:00
UnknownShadow200
2939f46df1 Fix progress bar in loading screen not being scaled by DPI and overlapping the motd with high DPI 2020-08-22 00:46:41 +10:00
UnknownShadow200
df9c74cf89
Merge pull request #696 from UnknownShadow200/GuiLayout4
Redesign GUI code to split off layout code
2020-08-22 00:16:03 +10:00
UnknownShadow200
e3bc9d1f58 Fix title appearing at wrong position in tex ids overlay 2020-08-21 23:15:31 +10:00
UnknownShadow200
a03dbe2429 Fix some texture pack urls with non-ascii characters not downloading on windows (Thanks cybertoon) 2020-08-21 13:53:48 +10:00
UnknownShadow200
8a64e278e8 According to our top researchers, it is a proven fact that it is better to show an error in chat instead of outright crashing the game
Don't crash the game if a .cw map has a bogus uuid length
2020-08-21 12:07:07 +10:00
UnknownShadow200
a174821b28 less use of cc_uintptr 2020-08-20 22:11:21 +10:00
UnknownShadow200
47e85fcc73
fix link in hosting-webclient.md (good old case sensitivity) 2020-08-20 18:56:05 +10:00