Commit graph

6656 commits

Author SHA1 Message Date
UnknownShadow200
1cc9746511 Dreamcast: Fix can't go in-game anymore 2023-10-21 14:07:41 +11:00
UnknownShadow200
dd45c90b4c Fix custom blocks with no fog in .cw files mistakenly still being loaded with fog density
The easiest way to reproduce this was to use noclip to move inside a solid custom block, and then notice the horizon has become black fog

To solve this problem for both current and past client versions:
- when the read FogDensity value is 0, the in-memory fog density value is set to 0
- when writing FogDensity values to disc, 0xFF instead of 0 is written to indicate 'no fog' (since older client versions convert FogDensity values of 0xFF to 0 in-memory)
2023-10-21 11:42:42 +11:00
UnknownShadow200
b168adc7fe iOS: Update the XCode project so it compiles again 2023-10-20 19:10:37 +11:00
UnknownShadow200
816c1dac8e macOS: Try to fix camera majorly warping the first time after returning to the game from an in-game menu
Note that this was only fixed in the cocoa backend. It still happens in the carbon backend
2023-10-19 22:37:42 +11:00
UnknownShadow200
d443d3d35c Windows: Also dump stack contents near stack register on crashes 2023-10-19 20:05:15 +11:00
UnknownShadow200
532b9924d4 Finish launcher screen rewrite 2023-10-18 20:02:24 +11:00
UnknownShadow200
d60550683c Allow loading HD terrain.png as long as a single tile fits within the GPU's texture limits, instead of the entire terrain.png
For example, this means a GPU with max texture size of 1024 x 1024 can now use a 4096 x 4096 terrain.png

I don't know how well it will perform, but it probably won't be great
2023-10-17 21:40:14 +11:00
UnknownShadow200
9bbee1cb8f Show better error messages for some reasons plugins fail to load, fixes #1076 2023-10-17 08:12:38 +11:00
UnknownShadow200
09bfca5217 Launcher: Simplify button initialisation code 2023-10-14 12:49:06 +11:00
UnknownShadow200
656497b0ea Start moving entity shadow rendering to dedicated file 2023-10-12 20:11:23 +11:00
UnknownShadow200
6aedeffa30 Console: Don't show Register button in Launcher and disable support for opening links from chat, fixes #1081 2023-10-11 20:46:07 +11:00
UnknownShadow200
4042e3e742 Launcher: Simplify creating screens with non-fixed number of widgets 2023-10-11 19:49:06 +11:00
UnknownShadow200
2d8067ea2d Consoles: Always use Goodly's font for classicube texture pack as the system font 2023-10-09 20:26:11 +11:00
UnknownShadow200
b827246fcc Try to fix Xbox and Dreamcast builds again 2023-10-08 18:26:16 +11:00
UnknownShadow200
5a094d1a70 Get it to compile with tcc again 2023-10-07 23:40:57 +11:00
UnknownShadow200
76c175e61d Make it compile in MSVC again 2023-10-07 22:20:30 +11:00
UnknownShadow200
32d29727b4
Merge pull request #1073 from calebabutler/math
Remove external math lib dependency
2023-10-07 21:48:32 +11:00
UnknownShadow200
67c7a486cd PS3: Fix rendering and add actions workflow 2023-10-07 08:57:25 +11:00
UnknownShadow200
4c60ceda46 PS3: Rendering mostly works now 2023-10-06 22:07:20 +11:00
UnknownShadow200
57c05867d6 PS3: Rendering sort of works now 2023-10-06 20:45:44 +11:00
UnknownShadow200
4f6d3850f0 PS3: Make texture animations work 2023-10-06 20:00:48 +11:00
UnknownShadow200
9ee529c8c3
Merge pull request #1078 from Spongecade/patch-1
Update Minecraft wiki links to new domain
2023-10-06 08:09:38 +11:00
Spongecade
6e232e6178
Update Minecraft wiki links to new domain 2023-10-05 16:02:36 -05:00
Caleb Butler
c13d4f4429 Rename PI and DIV_2_PI to avoid conflict
On Windows, PI and DIV_2_PI are already defined, so we cannot use those
names for constants. I renamed them to DOUBLE_PI and DOUBLE_DIV_2_PI
respectively.
2023-10-05 09:48:16 -04:00
Caleb Butler
4741c548d6 Fix compiling on VS2019
In VS2019, although the math functions are intrinsic, they need to be
declared by the math.h header. So the header must be included in the
ifndef block.
2023-10-05 09:40:52 -04:00
Caleb Butler
0d97d58edc Fix arguments of Atan2 to match ExtMath.h 2023-10-05 09:08:48 -04:00
UnknownShadow200
d932c8cbb5 PS3: Texturing at least works now 2023-10-04 23:40:49 +11:00
Caleb Butler
cc933ced82 Remove -O2 from readme 2023-10-02 12:41:09 -04:00
Caleb Butler
13f73de403 Remove external math lib dependency
Replace external math lib functions with our own custom versions.
2023-10-01 22:13:28 -04:00
UnknownShadow200
031da68c8e Dreamcast: Fix build not working, also add classicube textures for default textures since Dreamcast build currently can't write any files 2023-09-30 15:22:23 +10:00
UnknownShadow200
2b34308d8d Dreamcast: Hopefully get github actions build to work 2023-09-30 13:44:27 +10:00
UnknownShadow200
08e2238a49 Dreamcast: Simplify gldc code a bit, to hopefully alleviate the minor performance reduction from disabling LTO 2023-09-30 12:36:41 +10:00
UnknownShadow200
b07f6575ba WIP on very basic platform independent system font backend 2023-09-30 09:11:21 +10:00
UnknownShadow200
0c2b52efe7
Merge pull request #1072 from UnknownShadow200/MainClosingRewrite
Allow closing back to launcher on consoles
2023-09-29 16:07:59 +10:00
UnknownShadow200
81e544c425 Fix PSP and Vita too sort of work too 2023-09-29 15:48:27 +10:00
UnknownShadow200
9b1d9ced16 WIP for 3DS, Wii/GameCube, Dreamcast 2023-09-29 13:51:03 +10:00
UnknownShadow200
100eae256f Consoles: WIP on supporting back to quitting back to launcher 2023-09-29 10:31:25 +10:00
UnknownShadow200
000a74932b Windows: Try to fix backtraces in crash handling always only showing one entry on Windows 9x 2023-09-28 22:15:08 +10:00
UnknownShadow200
899b66ae13 BearSSL backend: Fix socket read/write errors not being initialised to 0 2023-09-27 20:49:16 +10:00
UnknownShadow200
388b9daac4 Configure BearSSL to always rely on ClassiCube's platform function to retrieve the current time 2023-09-26 22:08:05 +10:00
UnknownShadow200
9a1072d45a Tidy up readme 2023-09-26 21:13:23 +10:00
UnknownShadow200
e01ab2878d 3DS: Try to fix encrypted options not being remembered
Also expand dreamcast instructions to include generating IP.BIN
Also minorly optimise entity rendering by avoiding unnecessary matrix multiplications
Change block model rendering to avoid using Gfx_SetDynamicVbData
2023-09-26 20:03:23 +10:00
UnknownShadow200
fd612bd95a Add gamepad controller bindings for left stick and right stick press to Web, Android and Xbox builds 2023-09-25 18:18:18 +10:00
UnknownShadow200
dd6fe33121 Try to return actual error code when socket I/O error occurs with a BearSSL read or write 2023-09-24 21:57:09 +10:00
UnknownShadow200
2c2f5d14fb WIP dreamcast build using github actions 2023-09-23 19:19:57 +10:00
UnknownShadow200
52f3acc285 More documentation updates 2023-09-21 20:48:44 +10:00
UnknownShadow200
4e9c0cd4d4 Some documentation additions 2023-09-20 21:44:02 +10:00
UnknownShadow200
5f09f90a57 Vita: Spam a bit less 2023-09-18 21:47:40 +10:00
UnknownShadow200
163c6d6493 Vita: Add missing files 2023-09-18 21:16:34 +10:00
UnknownShadow200
33e2a270e3 iOS: Mostly annotate minimum required iOS version for various APIs 2023-09-18 19:25:44 +10:00