Commit graph

6313 commits

Author SHA1 Message Date
UnknownShadow200
57a96e71bc un-un-un-un-un-un-un-un-un-un-un-re-enable ModernGL build 2023-01-06 12:05:16 +11:00
UnknownShadow200
3f1969ed24 Change direct skin URL to new cdn
People should normally use https://www.classicube.net/skins/[name].png though, that way don't have to care about the actual backing CDN
2023-01-04 09:06:59 +11:00
UnknownShadow200
02dda83fde Make protocol version a bit less secret 2023-01-01 15:37:32 +11:00
UnknownShadow200
d6d5ebe01d
Merge pull request #989 from UnknownShadow200/SocketsRewrite
Rewrite sockets API to be a bit simpler
2023-01-01 14:31:11 +11:00
UnknownShadow200
0dc30ca77f Fix not compiling anymore 2023-01-01 14:08:19 +11:00
UnknownShadow200
99895e990a
Merge branch 'master' into SocketsRewrite 2022-12-31 23:56:22 +11:00
UnknownShadow200
f4fa88beaf Fix protcol version 5 or less mode getting stuck at connecting with some server software 2022-12-31 23:43:22 +11:00
UnknownShadow200
35583b4187 Redesign socket reading to not depend on checking for data available (ioctl(FIONREAD)) or select/poll readability anymore
This commit should not make the client socket any more quick to disconnect than it did before - I tested unplugging and reconnecting an ethernet cable, and the game survived the brief dropout and remained connected to the server
2022-12-31 23:26:55 +11:00
UnknownShadow200
46621a2438 Rename 'use CPE' nostalgia option to 'non-classic features', and also make turning it off completely remove CPEblocks instead of just hiding them from inventory 2022-12-31 13:17:31 +11:00
UnknownShadow200
ccf201b691 Split up nostalgia options into appearance and functionality 2022-12-31 12:56:46 +11:00
UnknownShadow200
b02bce3357 Add multiline argument to OpenKeyboardArgs struct 2022-12-24 20:55:15 +11:00
UnknownShadow200
30406de3eb Simplify socket API a bit 2022-12-22 17:21:29 +11:00
UnknownShadow200
85bb75e1a6 Try to workaround issue where some android devices cleared the android managed cache directory whenever you switched away from the ClassiCube app, which was annoying for those users since the game would constantly redownload textures into texturecache folder.. which would promptly get deleted
Also fix 'failed to connect' error message showing off server port when connecting to IPv6 server address
2022-12-10 23:25:04 +11:00
UnknownShadow200
837b9e427a Add unfinished PSP backend that is now being abandoned 2022-12-10 21:18:35 +11:00
UnknownShadow200
2b93ccb12b Make glyph creation a tiny bit faster 2022-12-08 22:38:40 +11:00
UnknownShadow200
383c3a6cb7 Fix window titlebar showing path instead of username when autoloading maps in singleplayer 2022-12-05 22:13:18 +11:00
UnknownShadow200
e52b670b6e Move UTF8 encoding out of Platform and into String module 2022-12-04 16:27:46 +11:00
UnknownShadow200
59d7d8f5a7 GUI: Add classic inventory option in Nostalgia Options 2022-12-03 22:38:00 +11:00
UnknownShadow200
474c9232fa Direct3D11: use DXGI_FORMAT_B8G8R8A8_UNORM instead for backbuffer format so that screenshots have correct colour channels (i.e. red and blue aren't swapped)
Tested on nvidia GPU, intel GPU, intel laptop GPU, AMD laptop GPU, and no difference in performance was observed on any of them
2022-12-03 16:46:41 +11:00
UnknownShadow200
8deb8044e9 Fix when starting the game via dropping a map file onto it, your in-game player used file path for name/skin instead of default username (Thanks Neonium) 2022-12-02 20:50:00 +11:00
UnknownShadow200
6755047052 Show error details when using libcurl as http backend 2022-12-02 07:53:03 +11:00
UnknownShadow200
af18fae4f7 Use HttpRequest_Free instead of directly freeing data of http request 2022-12-01 22:30:33 +11:00
UnknownShadow200
93e1491564 Fix last commit not compiling with some compilers 2022-12-01 20:37:45 +11:00
UnknownShadow200
2d8fe376f2 Simplify http error handling in the launcher 2022-12-01 20:23:27 +11:00
UnknownShadow200
6761389db3 Make inventory menu in classic mode closer to original classic 2022-12-01 19:10:20 +11:00
UnknownShadow200
651812639f Webclient: Be more consistent about error number usage 2022-11-28 21:25:07 +11:00
UnknownShadow200
04e5993bad
Merge pull request #986 from UnknownShadow200/AndroidContentProvider2
Add proper android content:// provider
2022-11-20 15:27:26 +11:00
UnknownShadow200
57713d5c5d Still use file:// urls for devices earlier than android 6.0 2022-11-20 14:53:13 +11:00
UnknownShadow200
2582f0a182 WIP on adding proper android content:// provider 2022-11-20 12:27:37 +11:00
UnknownShadow200
ef40f872e0 Webclient: Support downloading to .mine/.schematic maps by attempting to show a 'save as' dialog in supported browsers
Currently this means chromium based browsers, and the page is https (as per the spec, it intentionally does not work for http pages)
2022-11-19 20:03:07 +11:00
UnknownShadow200
2e04505df0 Save file dialog on Windows and Linux now also defaults to showing text entered in input save menu input field, also fallback to reading from /etc/machine-id for getting machine ID on Linux for e.g. Flatpaks 2022-11-15 22:30:49 +11:00
UnknownShadow200
9bbea3a4b7 Rename /rendertype normalfast to just fast, and include better help text
normalfast continues to work for backwards compatibility though
2022-11-14 18:52:14 +11:00
UnknownShadow200
5d397f611c
Merge pull request #983 from cflip/serenity
More support for SerenityOS
2022-11-14 17:57:17 +11:00
cflip
ca41fe5a82 Add resource and library paths for SerenityOS 2022-11-13 18:13:13 -07:00
cflip
e1ee492cc8 Implement missing PrintRegisters function for SerenityOS 2022-11-13 14:42:59 -07:00
UnknownShadow200
54ca9d47c3
Merge pull request #981 from UnknownShadow200/SaveDialogStuff
Implement save file dialog for maps
2022-11-13 12:45:35 +11:00
UnknownShadow200
04ce3daeac mine exporter: Don't forget to convert CPE blocks to their fallbacks 2022-11-13 12:01:23 +11:00
UnknownShadow200
680d739e6b Add default file extension for zenity file dialog result if none is provided, also reduce width of save map input field so that it fits better on vertical phone orientation 2022-11-13 10:23:42 +11:00
UnknownShadow200
69090c8bae Android: WIP on save file dialog support
Also fix .mine importer to convert blocks > stone brick to Stone
2022-11-12 23:17:01 +11:00
UnknownShadow200
75f00743ff iOS: Implement saving map to external provider (e.g. iCloud) 2022-11-12 18:13:47 +11:00
UnknownShadow200
0e916bfeed Now write a spawn position to .mine files, also redesign webclient map downloading to be more consistent with other platforms and not rely on special CC_BUILD_WEB only code 2022-11-12 12:17:46 +11:00
UnknownShadow200
813fb533f9 Use more verbose error messages for 404/403/401 texture pack download errors 2022-11-11 22:51:01 +11:00
UnknownShadow200
8bc07b308a Rewrite packet sending functions to avoid depending on global temp array
Also change X11 backend to log visual ID of created window
2022-11-11 21:40:58 +11:00
UnknownShadow200
6aec5e83f2 Also allow saving maps as .mine that can be imported by minecraft classic, still a WIP though 2022-11-10 23:08:12 +11:00
UnknownShadow200
70258163f1 Add haiku, Linux, macOS cocoa save file dialog support
Also fix haiku OS makefile
2022-11-10 21:14:40 +11:00
UnknownShadow200
1a2f6f838d Align 'save file' to bottom instead, fix webclient compiling 2022-11-10 07:53:06 +11:00
UnknownShadow200
2bd5ed28d6 WIP on save file dialog support, that allows saving a map to anywhere on disc as either a .cw or a .schematic 2022-11-09 23:05:23 +11:00
UnknownShadow200
273d2901a5 BSD: Add register defines for ARM/PPC/MIPS in Logger.c, completely untested though
Also add register defines for SPARC for Solaris
2022-11-07 20:28:28 +11:00
UnknownShadow200
6743b3574f Simplify compiling with icon for macOS and Linux
Technically would also benefit BSD too
2022-11-06 13:51:51 +11:00
UnknownShadow200
c1219ffef4 Move inventory menu description text widget 2 pixels down
Also move description text logic out of TableWidget
2022-11-02 20:04:32 +11:00