UnknownShadow200
a14ff7cda2
Add /client cleardenied to clear list of denied texture pack URLs.
...
Since multiple times run into issues where someone accidentally denied a texture pack, and it's not obvious how to undo that, especially when you're using the web client.
2019-11-30 18:40:16 +11:00
UnknownShadow200
ca72cf66a3
Always reset all keyboard and mouse buttons to released when window focus is lost on all platforms.
...
Previously, this was left up to the platform. On Windows this almost always worked because mouse button state was checked on every mouse move message. On macOS this did nothing, so if you held down left mouse button, went to another application, released left mouse and then came back to the game, it'd still think the left mouse was down, so once you closed the menu, the game started deleting blocks. On linux the window still seemed to get a 'mouse up' even when the window wasn't focused anymore, although I didn't rigorously test this. For the web client, seemed to get 'mouse up' tooin chrome, not sure if other browsers had issues. SDL backend wasn't tested.
2019-11-30 18:24:46 +11:00
UnknownShadow200
b26ab73a5e
Remove some junk from style.md and add general guidelines
2019-11-29 20:35:39 +11:00
UnknownShadow200
b154d94348
Check if cursorVisible equals new visibility when calling Cursor_SetVisible, and if so, don't call the OS's changing cursor visibility function.
2019-11-29 08:17:44 +11:00
UnknownShadow200
54962a0e07
Use undocumented methods to get CGS connection and window id for 32 bit macos
2019-11-28 16:11:35 +11:00
UnknownShadow200
7546347e4c
Cleanup Protocol.c some more
2019-11-28 09:53:12 +11:00
UnknownShadow200
127df95b2c
minor code cleanup
2019-11-27 22:50:27 +11:00
Goodlyay
29b172f2c6
Fix VelocityControl negative values
...
Change standard from 32 being single block height boost to 1 being
single block height boost
2019-11-27 00:15:55 -08:00
Goodlyay
aed28e8267
Add VelocityControl CPE
2019-11-26 23:02:00 -08:00
UnknownShadow200
d3363f192d
HeadX -> Pitch and HeadY -> Yaw
2019-11-26 22:37:19 +11:00
UnknownShadow200
508477b0c6
Use Drawer2D_TextWidth instead of Drawer2D_MeasureText in more places
2019-11-26 20:03:08 +11:00
UnknownShadow200
129999e39f
Fix old announcement showing for one frame when changing texture pack (Thanks goodly)
2019-11-24 07:03:53 +11:00
UnknownShadow200
01d94cd3d8
Get rid of GFX_NULL, just use 0
2019-11-23 18:52:47 +11:00
UnknownShadow200
cb908ad026
Fix last two commits causing 32 bit mac build to draw launcher window blue
2019-11-21 12:30:46 +11:00
UnknownShadow200
55ca8b7a91
Fix last commit breaking saving screenshots on PowerPC
2019-11-21 00:05:50 +11:00
UnknownShadow200
b0f926259c
Don't byteswap bitmap colours for big endian. This fixes launcher being completely blue in linux PowerPC and uses native order for OSX PowerPC, so should be faster.
...
as such use GL_UNSIGNED_INT_8_8_8_8_REV for transfer format instead of GL_UNSIGNED_BYTE for big endian
2019-11-20 23:18:02 +11:00
UnknownShadow200
c25a45a6b5
don't bother logging fp and sp for previous stack frames in windows build crash log, this information has never been useful
2019-11-20 19:29:14 +11:00
UnknownShadow200
f75e4b7f18
Only sync fonts cache with system's font when it's actually necessary (like clicking 'select system font' or current system font selected isn't in cache).
...
This reduces startup time for me (500 system fonts) by 100-130 ms.
2019-11-19 22:45:35 +11:00
Goodlyay
259bc1b3bb
Add SetSpawnpoint CPE
...
This protocol extension allows the server to set the client's spawnpoint
anywhere in the map without respawning the client.
2019-11-19 00:47:42 -08:00
UnknownShadow200
51c9191805
Use MATH_LARGE_NUM instead of MATH_POS_INF for calculating lowest speed modifier in physics. This fixes the game locking up on linux PowerPC, at least in QEMU.
2019-11-18 23:02:05 +11:00
UnknownShadow200
08ee41daea
Move protocol stuff out of server.h and into protocol.h where it belongs
2019-11-18 22:20:57 +11:00
UnknownShadow200
68b7629eae
Fix if you're standing in lava with normalfast render mode, then you do /client render normal, your view distance stays stuck at 1-2 blocks (Thanks fam0r)
2019-11-17 23:25:34 +11:00
UnknownShadow200
25e816b9a2
Set class hints for X11, so it shows up as app name instead of 'Unknown' in unity sidebar or '...' in xfce alt tab top line
2019-11-17 20:22:11 +11:00
UnknownShadow200
cecfe81452
Fix crashing when using wasm backend at -O1
2019-11-16 21:13:09 +11:00
UnknownShadow200
bece154d2b
Properly use full text of HTML input, instead of hackily trying to check length difference to fake presses/backspaces.
...
This should fix text input not really working with firefox for android, and allow using autocomplete in chrome for android
2019-11-16 14:50:14 +11:00
UnknownShadow200
ef5a0f64f3
now with 22.1356% less warnings
2019-11-16 09:08:40 +11:00
UnknownShadow200
e0fb7e571b
don't disable warnings when compiling with makefile.
...
Also add reactos/haikuos to platforms the game has technically compiled and run on. Few less usage of magic numbers.
2019-11-15 23:15:03 +11:00
UnknownShadow200
2e819203b5
Optimise DrawXMin etc calculation in MapRenderer_UpdateSortOrder
2019-11-15 20:02:56 +11:00
UnknownShadow200
5f49e3e429
code cleanup
2019-11-14 22:27:04 +11:00
UnknownShadow200
6dfa6a753f
Remove CC_COMMIT_SHA from makefile produced executables
...
this is useless for debugging because builds produced from the makefile are different from the dev build with the same commit sha on the website
2019-11-13 18:47:45 +11:00
UnknownShadow200
be3c56d91a
Now launcher window shows on haiku os
...
although I cheated and used SDL to do it
2019-11-12 07:51:40 +11:00
UnknownShadow200
52ef223d98
fix makefile and implement getting exe path
2019-11-11 20:19:40 +11:00
UnknownShadow200
0787e82f2b
WIP haiku os support
2019-11-11 18:24:20 +11:00
UnknownShadow200
454bbe624f
Fix clicking More (mobile version) crashing webclient
2019-11-11 14:35:52 +11:00
UnknownShadow200
dd7e764383
fix webclient build
2019-11-11 07:19:28 +11:00
UnknownShadow200
b1ea7243a7
don't typedef key, initial framework for textchanged event
2019-11-10 19:05:16 +11:00
UnknownShadow200
0aaf343ab7
Release 1.1.0
1.1.0
2019-11-09 18:13:23 +11:00
UnknownShadow200
a8361c4600
Fix not connecting to servers on macos (oops)
2019-11-09 18:03:12 +11:00
UnknownShadow200
185b58fe7f
Texture pack/URL overlays should show behind menus and clicking Done in system fonts menu should go back to gui options instead of main menu (Thanks tornato)
2019-11-09 11:00:34 +11:00
UnknownShadow200
b23bd94cf3
consistent whitespace
2019-11-08 23:34:02 +11:00
UnknownShadow200
f906f63ed7
open source missing java bits of android build I guess
2019-11-08 23:24:34 +11:00
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
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