6425 Commits

Author SHA1 Message Date
UnknownShadow200
28aba23a1a Rename KEY enum to IPT enum
Given that KEY enum was being misused for e.g. KEY_LMOUSE
2023-06-22 18:22:58 +10:00
UnknownShadow200
3ad0966590 macOS: Add option for not showing dialogs, and revert the try/catch for showing dialog 2023-06-21 23:22:47 +10:00
UnknownShadow200
f34c725d8c Fix not compiling on haiku OS 2023-06-19 21:28:02 +10:00
UnknownShadow200
678da53658 Direct3D9: Add a workaround for translucent blocks not rendering properly when Direct3D9 device doesn't support D3DRS_COLORWRITEENABLE
Since I was concerned that automatically detecting and enabling fallback mode might get falsely activated on some GPU drivers that actually support D3DRS_COLORWRITEENABLE, you have to manually add 'fallback-rendering=true' to options.txt
2023-06-17 20:05:33 +10:00
UnknownShadow200
e9ddb97f56 Redesign map importing to not be so hardcoded 2023-06-17 18:32:09 +10:00
UnknownShadow200
7204116ad1 Add indev .mclevel map importer support 2023-06-17 17:31:44 +10:00
UnknownShadow200
4a3bae7dce Add more CPU architectures for register dumping on haiku OS, avoid copying mcontext_t on most operating systems 2023-06-15 22:56:15 +10:00
UnknownShadow200
a6e226ce94 Add CC_BACKTRACE_BUILTIN for a stacktrace backend that works without needing an external library. Probably only works on x86/x86_64 and probably unreliable 2023-06-15 20:48:23 +10:00
UnknownShadow200
9f951893a1 macOS: Try to prevent errors when showing a dialog from crashing the game
Also try to use descriptive error names in crash message box on Windows
2023-06-13 23:41:34 +10:00
UnknownShadow200
1a7ed4e60f
Merge pull request #1027 from UnknownShadow200/GfxCreateIB2
WIP on better index buffer creation function
2023-06-13 19:02:05 +10:00
UnknownShadow200
ea2e57907f Fix buffer overflow when creating default indices on 3DS/PSP/Wii/GC 2023-06-13 18:30:56 +10:00
UnknownShadow200
b379cdfee4 Fix if running with non-classic functionality turned off and a protocol version before 0.30, but still running in Enhanced mode, that the inventory would unexpectedly show invalid all grass blocks (thanks 5parkSprained89) 2023-06-13 11:52:05 +10:00
UnknownShadow200
3a3986ad65 WIP on new Gfx_CreateIB2 which takes a callback function to initialise the index buffer, instead of requiring all the data to be allocated by the caller (on the stack with current InitDefaultResources implementation)
This was problematic for the Wii/Gamecube, as while the default index buffer is 192 kb in size, libogc only initialises the stack to be ~128 kb in size
2023-06-13 00:17:31 +10:00
UnknownShadow200
0498a2a748 macOS: Add logging for unhandled NSExceptions 2023-06-12 21:44:04 +10:00
UnknownShadow200
cca8ff64a3 Fix isometric rendered blocks being slightly misaligned on OpenGL/Direct3D 11 (Thanks 123DMWM), fix sometimes not compiling on recent macOS due to CGDisplayBitsPerPixel no longer being defined 2023-06-12 18:59:22 +10:00
UnknownShadow200
d453eb3d97 Add /client blockedit command that allows changing some properties of blocks 2023-06-11 23:22:40 +10:00
UnknownShadow200
33217d464d Render sprites as flat in inventory and hotbar 2023-06-11 20:48:52 +10:00
UnknownShadow200
5f7526e732 Switch to ldexp in Vorbis float32_unpack 2023-06-10 17:37:22 +10:00
UnknownShadow200
896b6bf8f0 Wii/Gamecube: Fix UI not rendering properly sometimes, fix clouds not moving 2023-06-10 15:17:15 +10:00
UnknownShadow200
e87b3fe1dc Gamecube/Wii: Fix textures not being animated (sorta), fix see-through blocks being drawn opaquely, fix backfaces of blocks (e.g. leaves) not being culled, fix sockets not connecting 2023-06-10 12:23:09 +10:00
UnknownShadow200
fd6301a840 Update buildbot.sh with more recent changes, and minorly tidy up readme 2023-06-09 23:25:21 +10:00
UnknownShadow200
20277e4dec Fix clicking links not working on Windows 95/98, improve readme a bit to be clearer about OpenGL 1.1 support and link to WIP compiling with overriden defaults 2023-06-08 22:15:37 +10:00
UnknownShadow200
56e140428f Reduce size of DeflateState struct, fixes #1022 2023-06-06 20:59:47 +10:00
UnknownShadow200
e2798dcebe Refactor isometric block drawing to only update the vertex buffer once 2023-06-06 17:19:22 +10:00
UnknownShadow200
654ce2079b Fix getting build time in Updates menu not working on Windows 95/98 2023-06-04 21:50:05 +10:00
UnknownShadow200
ed92eab3e5 Gamecube/Wii can kinda connect to servers 2023-06-03 18:02:38 +10:00
UnknownShadow200
230611f736 Running on gamecube kinda works now 2023-06-03 16:55:46 +10:00
UnknownShadow200
54e1e47ada 3DS: Add untested SSL support and log what's in argv
Also for LOWMEM platforms (3DS/PSP etc), reduce size of initial singleplayer world to 64x64x64
2023-06-03 11:06:21 +10:00
UnknownShadow200
2851e02dcf Fix SSL failing with SEC_E_SECPKG_NOT_FOUND on Win 9x 2023-06-02 22:27:46 +10:00
UnknownShadow200
4323e6d0f5 Fix SSL connection sometimes failing, and show some appropriate error messages for SSL certificate validation failure
Windows XP before:
- by default: error 12157 (An error occurred in the secure channel support)
- after enabling TLS 1.0 in IE options: error 10245
- and after disabling https-verify: works

Windows XP after:
- by default: error 80090325 (SEC_E_UNTRUSTED_ROOT)
- and after disabling https-verify: works

older Windows NT before:
- by default: error 12157 (An error occurred in the secure channel support)
- after enabling TLS 1.0 in IE options: 80096004 (TRUST_E_CERT_SIGNATURE)
- and after disabling https-verify: still 80096004 (TRUST_E_CERT_SIGNATURE)

older Windows NT after:
- by default: sometimes error 80096004 (TRUST_E_CERT_SIGNATURE)
- and after disabling https-verify: works

older Windows 9x before:
- by default: error 12157 (An error occurred in the secure channel support)
- after enabling TLS 1.0 in IE options: 80096004 (TRUST_E_CERT_SIGNATURE)
- and after disabling https-verify: still 80096004 (TRUST_E_CERT_SIGNATURE)

older Windows 9x after:
- error 80090305 (SEC_E_SECPKG_NOT_FOUND)
2023-05-31 17:48:16 +10:00
UnknownShadow200
dbf908bc64 WIP on better SSL compatibility with pre Windows 2000 operating systems 2023-05-31 08:47:11 +10:00
UnknownShadow200
deafec54b3 WIP on TLS support for http client on Windows using SChannel 2023-05-30 20:25:47 +10:00
UnknownShadow200
37e22a6ab2 More fixes for 3D rendering 2023-05-28 12:18:52 +10:00
UnknownShadow200
52f11d2679 3D rendering now sort of works 2023-05-27 23:06:54 +10:00
UnknownShadow200
f6f47cc339 GC/Wii: Filesystem I/O with SD card now, download failure no longer crashes 2023-05-27 20:38:46 +10:00
UnknownShadow200
7215a1ca69 Now renders something at least 2023-05-27 17:22:27 +10:00
UnknownShadow200
f8b63093f2 WIP gamecube/wii port 2023-05-27 16:07:07 +10:00
UnknownShadow200
42c3b6acfc Http client: Use better error codes, fix Host headers for webservers not running on port 80, use as the http backend for 3DS/PSP consoles 2023-05-26 18:48:14 +10:00
UnknownShadow200
6cd0dae2a8 Http client: able to login now 2023-05-25 22:43:17 +10:00
UnknownShadow200
be925a7780 Http client: WIP redirects 2023-05-25 08:24:14 +10:00
UnknownShadow200
d53ef33e0e Implement chunked transfer encoding for custom http client, refactor custom http client part 1 2023-05-23 22:30:49 +10:00
UnknownShadow200
0e94decae4 Add WIP raw http backend implementation (http from scratch) 2023-05-20 20:15:24 +10:00
UnknownShadow200
5dd83e7768 Fix a server having \n in its software value not being parsed properly, causing all servers after it in the servers list to not appear 2023-05-20 08:36:53 +10:00
UnknownShadow200
70502a56e5 Windows: Fix load/save file dialogs not working on Windows 9x/NT4 2023-05-15 20:40:06 +10:00
UnknownShadow200
10b9384fb3
Merge pull request #1014 from UnknownShadow200/WinStringCleanup
Windows: Simplify native unicode and ascii string representation handling
2023-05-15 07:41:21 +10:00
UnknownShadow200
68d8b748d2 Allow blocking sockets 2023-05-13 10:49:50 +10:00
UnknownShadow200
7c92e21ce6
Merge pull request #1012 from 360ied/keylook
Keyboard aiming (looking around using keyboard instead of mouse)
2023-05-12 09:02:12 +10:00
UnknownShadow200
09d000fec2
Tidy up and expand readme a bit 2023-05-11 21:59:12 +10:00
360ied
c64f01b244 Don't move camera while in menus 2023-05-10 13:58:41 -04:00
360ied
7c9d57dae2 Format Look keybinds better
- Put all 4 keybinds on one column
- Place LookLeft keybind before LookRight keybind
2023-05-10 12:26:08 -04:00