Commit graph

4423 commits

Author SHA1 Message Date
UnknownShadow200
f0fc77351b Cleanup portability.md to only include cross-platform backends, add CC_BUILD_NOAUDIO instead of hardcoding no audio only to web client 2019-11-05 10:59:57 +11:00
UnknownShadow200
9b49b67aa6 cleanup and add comments for Widget 2019-11-05 07:43:24 +11:00
UnknownShadow200
0140608104 cleanup and add comments for Screen 2019-11-03 16:06:11 +11:00
UnknownShadow200
b36e7ccd50 Bump to 1.0.9 2019-11-03 09:13:18 +11:00
UnknownShadow200
c7e861e42c try 2 2019-11-03 08:33:17 +11:00
UnknownShadow200
9b3d01d9e8 Fix webclient not compiling
Imaging test if compiling works before pushing to master
2019-11-03 08:29:39 +11:00
UnknownShadow200
da3d7c7bdb Use new skin server 2019-11-03 08:23:57 +11:00
UnknownShadow200
5d11ebb5ad Don't intercept key presses when on-screen keyboard is showing in web client.
This fixes after having entered some numbers, attempting to backspace everything leaves behinds several characters
2019-10-31 09:00:06 +11:00
UnknownShadow200
adf557bde4 Set cache-control max-age: 0 for when downloading skins in the web client.
This way we'll still get 304 responses for 99% of skin fetches. Still not as ideal as the old method where they would be retrieved from the browser cache instead, but this way means skins changes show up instantly instead of after 1-3 hours. (this has been grumbled about quite a bit)
2019-10-30 17:19:05 +11:00
UnknownShadow200
cef3db9fe7 Add an icon for linux and use it 2019-10-29 20:26:38 +11:00
UnknownShadow200
d11038d6e9 Synchronise html input with initial text of text input widgets
This way backspacing in gen level/env settings etc works properly
2019-10-28 15:52:55 +11:00
UnknownShadow200
b9dd22b41c DPI scale system fonts so it doesn't look so atrocious on mobile 2019-10-28 11:22:47 +11:00
UnknownShadow200
84d5d090b9 Add 'menu' and 'fog' buttons to 'more touch' menu 2019-10-28 00:00:35 +11:00
UnknownShadow200
80a6a62e2b To be more consistent, backspace always just backspaces one character instead of colour code too.
e.g. before %cd got backspaced to nothing, now it's just %c. FF%e got backspaced to FF, now it's just FF%
2019-10-27 23:07:01 +11:00
UnknownShadow200
fc27a37a77 Redesign the touch controls a bit. Now there's just 4 directions and 3 buttons - jump (obvious), mode (toggles between place/delete), more (opens another menu that lets you touch for chat/inventory/fullscreen/speed/noclip/fly
Still a WIP though
2019-10-27 22:10:11 +11:00
UnknownShadow200
1be1f69217 Fix first character not getting added and fix backspace not working with web client on-screen keyboard input.
Well at least in the android emulator
2019-10-26 09:18:49 +11:00
UnknownShadow200
52240b0115 disable autocomplete and autocorrect for text input overlay
Now typing in characters works.. mostly. First one still doesn't get added nor does backspace work.
2019-10-24 09:26:52 +11:00
UnknownShadow200
a610e42f43 Attempt to intercept textinput events and replicate characters entered into in-game chat 2019-10-23 23:25:09 +11:00
UnknownShadow200
b11f5a7e61 Fix pressing set spawn outside map always causing you to get moved 1/8th of a block up and fix setting spawn not behaving properly when a large model, inside a block, and standing on one of the borders of the map. (Thanks tornato) 2019-10-22 22:00:27 +11:00
UnknownShadow200
40bdedd2d9 Fix if rain/snow is on, you're standing outside the map in the border bit between bedrock and water, and you look inside the map to under water blocks, rain/snow appears to be missing above the water.
You could still see the rain particles on top of the water though.
2019-10-22 21:50:12 +11:00
UnknownShadow200
d7040b5327 add original icon png 2019-10-21 06:56:32 +11:00
UnknownShadow200
94bf399ddf If we weren't able to open an X11 display, fallback to printing to stdout instead of just unhelpfully dying from a segfault. 2019-10-20 23:41:34 +11:00
UnknownShadow200
88af4d7c83 fix web client and windows builds not compiling 2019-10-20 20:34:22 +11:00
UnknownShadow200
58b9ef7df9
Merge pull request #609 from dakriy/add_path_argument
Add path argument
2019-10-20 20:31:09 +11:00
dakriy
f05ccf0128 Only make the major modifications to the platform files 2019-10-20 02:11:01 -07:00
dakriy
50b09d11d2 Revert "Add POSIX only changes in the platform and program"
This reverts commit dd4319088d.

Revert this commit as Unk wants to do things differently.
2019-10-20 01:42:41 -07:00
dakriy
7b0924d9c7 Revert "Add new parameter to take a directory on POSIX systems."
This reverts commit 1466893981.

Revert this commit becuase Unk wants things done a different way.
2019-10-20 01:41:35 -07:00
dakriy
1466893981 Add new parameter to take a directory on POSIX systems. 2019-10-20 00:51:06 -07:00
dakriy
dd4319088d Add POSIX only changes in the platform and program 2019-10-19 23:47:33 -07:00
UnknownShadow200
a4ca0a0393 Fix not compiling 2019-10-20 08:23:52 +11:00
UnknownShadow200
bf85dda072 Rename HUDscreen to ChatScreen and StatusScreen to HUDScreen
This will make sense eventually
2019-10-20 08:16:25 +11:00
UnknownShadow200
7844c8159f Don't split buttons down middle when width >= 400 instead of just == 400. Fixes buttons screwing up when on massive DPI screens. (Thanks 123DMWM) 2019-10-19 17:03:50 +11:00
UnknownShadow200
f533ee3769 Scale raw canvas XY by CSS size in webclient for mouse/touch events
This fixes mouses coordinates being wildly wrong when you open devtools or rotate the screen
2019-10-19 16:56:07 +11:00
UnknownShadow200
7ba4ef8033 Fix per-axis model scales still getting restricted for other entities.
Only your own entity is supposed to get restricted
2019-10-19 12:47:06 +11:00
UnknownShadow200
e61d784b64 Fix webclient not compiling 2019-10-19 09:05:03 +11:00
UnknownShadow200
2c8520e3a1 If a touch finger moves more than 5 pixels from where it started the touch, treat the input as locked to camera. This means it won't trigger block delete/plave anymore. 2019-10-19 08:21:26 +11:00
UnknownShadow200
08e29d9ac3 Actually fix menus not working in webclient on desktop 2019-10-17 10:46:41 +11:00
UnknownShadow200
040bd10bf4 And get block deleting to partially work on mobile again 2019-10-17 10:30:34 +11:00
UnknownShadow200
92de07776f Attempt to make it so clicking on GUI means that touch pointer no longer moves camera until it is released 2019-10-17 09:16:34 +11:00
UnknownShadow200
ce6c1094a3 Fix input getting intercepted by the transparent overlay 2019-10-17 08:17:35 +11:00
UnknownShadow200
b392be3fea show the textinput for mobile as transparent overlay over top of game 2019-10-17 08:09:04 +11:00
UnknownShadow200
b486f04f3e Show an error in chat instead of crashing when can't go fullscreen on 32-bit mac build. 2019-10-16 22:06:38 +11:00
UnknownShadow200
8326051b08 Remove updater functions from plugin API 2019-10-16 21:21:49 +11:00
UnknownShadow200
d61b33665a Use LSOpenCFURLRef directly to open url in browser, instead of jumping through /usr/bin/open 2019-10-16 20:17:16 +11:00
UnknownShadow200
564db66126 Make the download button front and centre in save menu in web client
No need for the text about MCEdit or the grey line anymore
2019-10-15 23:38:19 +11:00
UnknownShadow200
6feee064a2 Include DPI scale in /client res, also fix /client res getting DPI scaled twice when game is next started 2019-10-15 19:29:52 +11:00
UnknownShadow200
51f2ffcbe4 Fix clipboard not working with recent emcc/clang due to Window_GotClipboardText not getting exported (Thanks Fam0r) 2019-10-15 06:58:58 +11:00
UnknownShadow200
32e4d07a49 don't need to check Builder_Counts for sprites 2019-10-14 09:51:33 +11:00
UnknownShadow200
c1d61af91f cache World.Blocks/World.Blocks2 in ReadChunkData
Otherwise it gets reloaded from memory every single time, i.e. at least width*height*length times
2019-10-14 09:06:43 +11:00
UnknownShadow200
cee0fd38c2 DPI scale widgets and stuff in web client too 2019-10-13 18:45:25 +11:00