6609 Commits

Author SHA1 Message Date
UnknownShadow200
b5f0076d46 Fix 'some resources need to be downloaded' menu mistakenly always appearing (Thanks TomCube2) 2023-07-11 11:37:30 +10:00
UnknownShadow200
4b8599b235
Merge pull request #1039 from UnknownShadow200/ResourcesFixup
Resources and texture pack fixup
2023-07-10 20:57:17 +10:00
UnknownShadow200
70230bc7d4 Fix touch.png not being created in default.zip 2023-07-10 20:07:37 +10:00
UnknownShadow200
9b7dd188c5 HttpClient: WIP on basic connection cache 2023-07-09 14:13:47 +10:00
UnknownShadow200
0f5b32c0b9
Merge pull request #1038 from ymndoseijin/master
Add Wii controls
2023-07-07 08:33:52 +10:00
Kauê 地球の土星人
acaee522a2 add delta to scroll wheel emulation 2023-07-06 14:28:14 -03:00
Kauê 地球の土星人
3048385129 add parens 2023-07-06 14:10:22 -03:00
Kauê 地球の土星人
cef1bf82e6 fix spacing 2023-07-06 14:10:22 -03:00
Kauê 地球の土星人
15896f7b38 fix angle delta 2023-07-06 14:10:22 -03:00
Kauê 地球の土星人
5a9d220823 remove debug stuff 2023-07-06 14:10:22 -03:00
Kauê 地球の土星人
3c7ef24b86 added various controls and fix physical wii
added support for nunchuck, camera dragging with the wiimote,
third person view and flying controls.

it can also be actually run on real hardware now!
2023-07-06 14:10:14 -03:00
UnknownShadow200
333e7dcc05 Bump android build gradle versions, also provide delta to Window_ProcessEvents for windowing backends that require knowing how much time has elapsed 2023-07-06 22:57:09 +10:00
UnknownShadow200
182d3d0644 Support fallback default texture packs 2023-07-05 19:35:46 +10:00
UnknownShadow200
77f254faa4 Wii/Gamecube: Fix some chunks in world rendering due to transposed matrices messed up frustum culling, fix always going into singleplayer on hardware due to wrongly treating filename argument as username, fix not being able to compile using makefile due to not autogenerating the build/src folder 2023-07-04 17:33:59 +10:00
UnknownShadow200
f99789094e Wii/Gamecube: Optimise rendering slightly to get a few more FPS
When running in the test case of Dolphin in VM without hardware acceleration, FPS improves slightly from average of 31-33 FPS to 35-36 FPS
2023-07-03 21:14:01 +10:00
UnknownShadow200
d7e401e44c Fix OpenGL 1.1 dedicated graphics backend not having rendered sprite blocks in the world for the past two years (Thanks joshyfishy22)
Was introduced in c2fc17f0deb87d39c55c2e8c2bc3a27615231647
2023-07-02 12:14:21 +10:00
UnknownShadow200
bfc5fd4be8 Wii/Gamecube: Support being able to go in-game from the launcher
Also fix being unable to start singleplayer/multiplayer. Also work more on BeOS support
2023-07-01 22:14:27 +10:00
UnknownShadow200
2caa47452e Wii/Gamecube: Add rudimentary controls, add makefiles, fix launcher rendering being completely wrong colours 2023-07-01 13:31:11 +10:00
UnknownShadow200
b6985480e1 Fix eb164f588ac7060008307a133594939a2754bef2 completely breaking inventory rendering with OpenGL, which usually then caused either massive graphical artifacts or crash shortly after 2023-07-01 08:30:36 +10:00
UnknownShadow200
8807e2d4b8 Allow rebinding 1 - 9 hotbar keys 2023-06-30 22:58:53 +10:00
UnknownShadow200
bb55a87bdb PSP: Switching from launcher to game now kinda works 2023-06-30 21:34:28 +10:00
UnknownShadow200
eb164f588a Launcher: Allow using escape to go back in menus
Also move inventory screen to new rendering method
2023-06-30 20:33:33 +10:00
UnknownShadow200
9b41a3312c Make the launcher more controllable via keyboard buttons
Selected button via tab now actually displays in active state, can use up/down to cycle through selected widget now too
2023-06-30 11:58:35 +10:00
UnknownShadow200
5c973cda53 PSP: Implement rudimentary controls 2023-06-29 23:22:45 +10:00
UnknownShadow200
1855213e6d Better BeOS compatibility 2023-06-29 19:46:24 +10:00
UnknownShadow200
bd56c36067 Fix SChannel SSL backend not being able to connect to websites only supporting TLS 1.2 such as dropbox 2023-06-25 22:36:47 +10:00
UnknownShadow200
85c8d22568 Windows: Return a different error code when DNS lookup cannot resolve the provided hostname to an IP address
Also slightly reorganise http client code, and support root relative URLs for redirection now
2023-06-24 21:06:15 +10:00
UnknownShadow200
e9e77ad03b Use better method for supporting platforms that run launcher/game as a single process, rather than hardcoding for mobile 2023-06-24 18:14:13 +10:00
UnknownShadow200
c4858bb8d0 Windows: Fix crash handling stackwalking code rarely crashing
Based on the CPU registers provided in the crash log, the crash was happening near the end of copying from 'ctx' to 'copy' local variable

Given that the user was running on Windows 95/98, it's quite possible that the 'ctx' CONTEXT was smaller in older operating systems - and so trying to copy a full sized CONTEXT into 'copy' would mean that memory past the smaller sized CONTEXT was wrongly read, which could thus rarely cause an access violation

I can't confirm whether this is actually the case or not though, since I couldn't easily find SDK headers for Windows 95/98.

But since we don't care about StackWalk modifying the CONTEXT provided as an argument anyways (given that the process will be terminated right after this), the simplest solution is to just pass the original 'ctx' to StackWalk instead of passing a copy of the CONTEXT
2023-06-23 20:42:12 +10:00
UnknownShadow200
9809e34e78 3DS: Implement rudimentary controls and support for clicking Singleplayer/Multiplayer from main menu 2023-06-22 20:40:33 +10:00
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
265280f8ed 0.0.23 and earlier now use a slightly different default texture pack, which patches the gold texture to be the older gold texture 2023-06-17 16:12:17 +10:00
UnknownShadow200
2c56162e36 Move default.zip to new method too 2023-06-17 13:26:32 +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
1a5c62e155 WIP on moving classicube textures to new asset system, and make them always required now 2023-06-14 22:45:43 +10:00
UnknownShadow200
946fb1f773 WIP on redesigning how asset checking/downloading works in the launcher 2023-06-14 21:49:41 +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