6381 Commits

Author SHA1 Message Date
UnknownShadow200
e344c2b744 Launcher: Use more uniform way of specifying input hint text 2022-04-05 11:58:25 +10:00
UnknownShadow200
62d8649900 Launcher: Simplify input widget, more splitting up into Backend 2022-04-05 09:04:12 +10:00
UnknownShadow200
3e9bce269e Launcher: More WIP on splitting up backend 2022-04-04 20:07:03 +10:00
UnknownShadow200
88b1bfb54f Launcher: Fix checkbox not appearing correctly on big endian systems 2022-04-03 21:00:36 +10:00
UnknownShadow200
76dcdf6e5a Launcher: Fix checkboxes in settings menu not being aligned when not using Arial font (Thanks 123DMWM) 2022-04-03 12:26:21 +10:00
UnknownShadow200
aa90b53168 Launcher: Split up more stuff between backend 2022-04-03 09:26:48 +10:00
UnknownShadow200
a8d8fb9411 Launcher: Tidy up widget/backend code a little bit 2022-04-02 21:37:02 +11:00
UnknownShadow200
e02760dfb1 Support Internet Explorer 3.0 for windows 95 2022-03-25 08:14:25 +11:00
UnknownShadow200
bee7582003 Make it run on .NT 3.51 with default imagehlp.dll by loading EnumerateLoadedModules dynamically 2022-03-22 08:34:15 +11:00
UnknownShadow200
e467ae89da Windows: Make it easier to run on NT 3.51 2022-03-20 22:59:03 +11:00
UnknownShadow200
305649bda6 Fix last commit 2022-03-20 21:53:20 +11:00
UnknownShadow200
59608c4348 Simplify dynamic symbol loading 2022-03-20 21:46:42 +11:00
UnknownShadow200
f631a58d97 People prefer games that work apparently 2022-03-19 11:13:51 +11:00
UnknownShadow200
626a46d592 Improve crash dialogs when can't start game due to system being unable to support the current graphics backend 2022-03-19 11:07:05 +11:00
UnknownShadow200
3cb69128b1 Direct3D11: Fix 'max texture size' being too low on higher end GPUs 2022-03-18 22:52:34 +11:00
UnknownShadow200
1f451989e0 Add Windows 95 compatibility (IE5 required to be actually useful though) 2022-03-13 16:39:53 +11:00
UnknownShadow200
b7b972ad44 Freetype: Remove CID-keyed Type1 font support
This was mainly useful for east asian language fonts which aren't even really supported by classicube anyways
2022-03-13 09:38:03 +11:00
UnknownShadow200
3ed7d1ce2d Change classicgen to use still lava/water instead of active lava/water, to match original classic 2022-03-12 23:34:32 +11:00
UnknownShadow200
cd5f316383 Launcher: Fix clicking on checkboxes over and over not properly resetting previously drawn text, which resulted in some ugly artifacts 2022-03-12 20:50:38 +11:00
UnknownShadow200
b54222a2c1 And move other launcher screens to new method too 2022-03-12 20:11:34 +11:00
UnknownShadow200
a810683c9f Launcher: Rewrite widgets to use static array (part 1) 2022-03-12 15:27:32 +11:00
UnknownShadow200
b5a19a7307 Fix game crashing when physics queue is cleared due to there being over 536 million physics entries (Thanks hypnotoad) 2022-03-10 07:59:13 +11:00
UnknownShadow200
b155fb740a Fix not compiling when EXTENDED_BLOCKS isn't defined, and minorly tidy up launcher input widget code 2022-03-06 14:48:46 +11:00
UnknownShadow200
ed47d1adda mc:// urls can be pasted into direct connect screen input fields now
The username/address/mppass input fields will all be automatically set to the corresponding extracted values from the mc:// url
2022-03-05 10:54:24 +11:00
UnknownShadow200
c8cdd41a1b Fix 'save level' being disabled instead of 'load level' in classic mode in multiplayer 2022-02-27 20:44:31 +11:00
UnknownShadow200
463d7cae5d Direct3D9: Try to avoid crashing if unable to allocate vram or memory for managed texture 2022-02-26 23:29:22 +11:00
UnknownShadow200
4377c46826 Direct3D11: Support running out of memory when creating textures (partially)
Failures in mipmap creation, shader resource view creation etc will still cause program exit
2022-02-26 21:38:36 +11:00
UnknownShadow200
4f79864d5e
Merge pull request #934 from UnknownShadow200/GameArgsFix
Support spaces in command line arguments when starting game from launcher
2022-02-26 11:15:30 +11:00
UnknownShadow200
9d4e8d1e2c Also support space in game process command line arguments on unix/android/iOS platform backends 2022-02-26 09:58:37 +11:00
UnknownShadow200
3f7742cc5c Drop Direct3D9Ex support (Direct3D11 backend will eventually provide a superior alternative to Direct3D9 backend) 2022-02-25 20:45:56 +11:00
UnknownShadow200
60a017b951 WIP on supporting spaces for game process command line arguments
Only Windows done so far
2022-02-24 19:23:48 +11:00
UnknownShadow200
8e61dbc18a Android: Try to fix 'unexpected status line' errors with texture packs from dropbox, addresses #933 2022-02-23 23:24:47 +11:00
UnknownShadow200
c4fe212b8b Fix 'Download size' with dropbox texture packs always showing 'Determining..' forever
Fixed on native client to show actual length again by querying X-Dropbox-Content-Length header instead, no such luck for webclient though unfortunately
2022-02-19 23:54:48 +11:00
UnknownShadow200
2a14d1389e Fix disconnectscreen grabbing cursor for a frame when shown (Thanks Igor1_)
e.g fixes if you connecting to server timed out, the cursor was always re-centred
2022-02-18 23:22:35 +11:00
UnknownShadow200
4f80b48fcc Prefer BLOCK_MAX_X over BLOCK_X_COUNT 2022-02-14 23:37:56 +11:00
UnknownShadow200
074eb418e9 macOS: Fix cursor being unmovable if dialog is shown while raw mouse mode is enabled 2022-02-13 20:29:00 +11:00
UnknownShadow200
76c334f3ad SDL: Fix window not being resizable 2022-02-13 12:22:39 +11:00
UnknownShadow200
fc10386ff9 Call Window_DisableRawMouse on all platforms when game is closed, not just webclient (Thanks Igor1_)
Fixes on Windows where if cursor grabbing was enabled and the game window was closed via taskbar preview, the cursor would still be trapped/confined in the region the game window was in before the game was closed
2022-02-12 23:44:16 +11:00
UnknownShadow200
a966f4b11b Windows: Add option for confining cursor to window (Thanks Igor1) 2022-02-11 09:02:53 +11:00
UnknownShadow200
c29130c792 Disconnect immediately after send fails instead of always waiting 30 seconds
Should mostly fix situation where after server is closed, game will should still take up to 30 seconds to actually disconnect, especially for LAN/localhost servers

I tested unplugging ethernet and disconnecting from wifi, then reconnecting a couple of seconds later, and in both cases the game was able to survive connection dropout without being disconnected from the server.
So hopefully this doesn't cause any issues
2022-02-07 23:52:42 +11:00
UnknownShadow200
e63f89ee1b Direct3D11: Improve /client gpuinfo and fix resource leakage 2022-02-05 20:48:13 +11:00
UnknownShadow200
f218c49970 Carbon: Simplify GLContext related code a bit 2022-02-02 21:27:27 +11:00
UnknownShadow200
c3d98109a9 Cocoa: Fix can't exit legacy fullscreen mode 2022-02-01 22:51:44 +11:00
UnknownShadow200
f55cd88cf3 Fix on windows 98 can't connect to any server (Thanks p1glynlol)
This was because 'nameLen' was always set as sizeof(SOCKADDR_STORAGE) instead of sizeof(SOCKADDR) for ipv4 and sizeof(SOCKADDR_STORAGE) for ipv6

While that worked fine on later Windows operating system versions, it did not work on windows 98
2022-02-01 08:54:30 +11:00
UnknownShadow200
8db890639f Cocoa: Try to fix fullscreen not working below macOS 10.7 (Thanks SkatingDoggo) 2022-01-31 12:01:36 +11:00
UnknownShadow200
04637af331 Redesign default block properties to use a table instead (backport from 0.0.23a branch) 2022-01-30 16:29:44 +11:00
UnknownShadow200
607e14a087 Launcher: Assume port 25565 in Direct Connect when no port is given, instead of erroring 2022-01-30 09:53:56 +11:00
UnknownShadow200
cacb52b595 Direct3D11: Fix not running on < windows 7, fix not compiling with mingw
The Direct3D11 backend still won't work pre-windows 7, but at least now the launcher part of ClassiCube will still run (instead of .exe not running at all due to requiring d3d11.dll) so the user can update to Direct3D9/OpenGL build instead
2022-01-29 18:43:54 +11:00
UnknownShadow200
387958dbfe
Merge pull request #929 from UnknownShadow200/IDBRewrite3
Use copied minimal IDBFS implementation and recover from dropped IDBConnection
2022-01-29 11:55:48 +11:00
UnknownShadow200
5f0ed11442 Launcher: Can hide empty servers from list
Checkbox in Options
2022-01-28 09:01:15 +11:00