Commit graph

5973 commits

Author SHA1 Message Date
UnknownShadow200
4cb1548350 More combining of InventoryScreen/TableWidget 2022-01-22 12:36:57 +11:00
UnknownShadow200
0e1fd93884 Fix compile errors 2022-01-22 11:13:56 +11:00
UnknownShadow200
4032a89563 WIP on merging TableWidget and InventoryScreen 2022-01-22 11:00:28 +11:00
UnknownShadow200
2b55c6fdb8 Make chat input always cover entire width of the game window (like Minecraft) 2022-01-21 08:52:44 +11:00
UnknownShadow200
03e4c19853 Make back buttons always 400 pixels wide like classic 2022-01-21 08:34:36 +11:00
UnknownShadow200
41c13a2a47 Fix crash if the first list menu you open is a menu without a 'load file' button 2022-01-20 23:00:57 +11:00
UnknownShadow200
b60d30a933
Merge pull request #927 from UnknownShadow200/LoadFile-Maps
Add support for loading maps through native open file dialog
2022-01-20 21:09:15 +11:00
UnknownShadow200
fc0397a7ed Move 'Load file' onto its own line 2022-01-20 18:23:21 +11:00
UnknownShadow200
8b88d3e575 Use Zenity to add Linux support 2022-01-19 20:52:36 +11:00
UnknownShadow200
a2e6cedf42 add support to cocoa backend (64bit macOS) 2022-01-19 19:21:37 +11:00
UnknownShadow200
41226b6d67 Improve filter on Windows and webclient 2022-01-19 12:04:53 +11:00
UnknownShadow200
f7561ebb2a Initial 'Load file' map support for Windows
'Load file' opens a file dialog allowing you to load maps from anywhere on disc
2022-01-19 07:48:25 +11:00
UnknownShadow200
f1b2de34d4 Launcher: Add dedicated DrawBackground method to Screens for drawing background launcher of screen/menu
This means that e.g. time isn't wasted with drawing default background, then completely drawing over the top of it with checkresourcescreen's custom background
2022-01-18 11:42:26 +11:00
UnknownShadow200
c83f53ae93 X11: Fix 30 bit depth showing corrupted launcher colors (Thanks colbydray), fixes #642 2022-01-15 12:54:26 +11:00
UnknownShadow200
7ec5c09696 fix linux build not compiling with missing line 2022-01-15 10:10:47 +11:00
UnknownShadow200
308d2ec21d X11: Optimise launcher redrawing for non 24/32 bit depths 2022-01-15 10:04:34 +11:00
UnknownShadow200
3ef9938aa9 X11: Fix launcher appearing completely corrupted when visual depth is not 24/32 bit depth 2022-01-15 00:41:14 +11:00
UnknownShadow200
2502f3fe41 un-un-re-enable ModernGL build 2022-01-14 08:29:57 +11:00
UnknownShadow200
3576fdf149 Release 1.3.1 2022-01-11 11:53:48 +11:00
UnknownShadow200
b0387b8e46 Un-re-enable ModernGL build 2022-01-11 11:40:33 +11:00
UnknownShadow200
9b4150135c Fix if you open inventory while holding a block hidden from inventory, the description of the hidden block no longer appears (Thanks Goodly) 2022-01-10 17:33:36 +11:00
UnknownShadow200
837d7bfff8 Disable high DPI support 2022-01-09 21:20:56 +11:00
UnknownShadow200
38bda8e1cd Simpify button/text widget texture creation 2022-01-08 23:17:48 +11:00
UnknownShadow200
add56ce622 Quick fix for UI elements being scaled too large on desktop with high DPI (thanks FizzWhiz) 2022-01-07 23:14:22 +11:00
UnknownShadow200
1728314b59 Re-enable ModernGL build 2022-01-05 15:28:41 +11:00
UnknownShadow200
fdd6e58063 Fix last commit missing one changed file, also fixup line endings 2022-01-05 15:16:10 +11:00
UnknownShadow200
9fda93eaac Webclient: Fix trying to click invalid urls in chat causing game crash message to appear
Although the game itself would keep working in this case
2022-01-05 13:06:37 +11:00
UnknownShadow200
64ad1a5f0d Release 1.3.0 2022-01-04 12:04:06 +11:00
UnknownShadow200
7f21511aaa
Merge pull request #924 from UnknownShadow200/WebInactive
Change webclient to run in very low performance mode when tab is moved to background
2022-01-04 11:48:46 +11:00
UnknownShadow200
bf8d280d96 Remove Modern OpenGL build for now 2022-01-03 22:06:58 +11:00
UnknownShadow200
86f7d7c3fa Windows: Fix crashing when running in OpenGL 1.1 fallback mode and you enable mipmaps (Thanks popgoesme700) 2022-01-02 17:26:17 +11:00
UnknownShadow200
fd4921ea32 Initial position should be previous position not next position whoops 2022-01-02 16:52:03 +11:00
UnknownShadow200
afa916caa9 Webclient: Fix can't be pushed when not active tab 2022-01-02 15:52:52 +11:00
UnknownShadow200
cfb6f11dfe Webclient: Make system fonts render closer to how they are rendered on desktop/mobile 2022-01-01 22:50:20 +11:00
UnknownShadow200
cafd511d75 Fix not working in webclient 2022-01-01 17:27:02 +11:00
UnknownShadow200
7b8469573f WIP on switching to very low performance mode when tab is hidden instead of completely suspending the game 2022-01-01 16:58:30 +11:00
UnknownShadow200
465771e2ec Fix rare crash when generating mipmaps, fixes #923
When generating mipmaps from a 1 wide pixel bitmap (e.g. 1x256 --> 1x128), the bilinear filtering code would accidentally read 1 pixel past the end of the source bitmap when generating the last row.
On most devices this happened to just always work by accident, but on one user's device this would sometimes result in a SEGFAULT
2021-12-31 15:24:49 +11:00
UnknownShadow200
ade58b702e Make ModernGL build compile for Windows 2021-12-30 22:37:34 +11:00
UnknownShadow200
f2afaf36d7 Fix DPI scaling of buttons mostly 2021-12-27 21:07:15 +11:00
UnknownShadow200
7b3feb90df Mobile: Adjust onscreen buttons to move into multiple columns instead of overflowing into jump/fly buttons and beyond 2021-12-27 20:23:56 +11:00
UnknownShadow200
dee7cdb16e Make menus closer to classic
Pause screen: Add 'game menu' title and reposition back button
Gen screen: Add 'Generate new level' title and reposition cancel button
2021-12-26 21:51:10 +11:00
UnknownShadow200
08bbf6a165 Fix LimitXYZ mode still undershooting by a couple FPS when moving around
This was because the frame time calculation code was not accounting for how long Window_ProcessEvents took
2021-12-25 17:16:00 +11:00
UnknownShadow200
eabe0adc57 Fix LimitXYZ modes majorly undershooting frame targets on some machines
Before -> After
Limit30: 21 -> 29
Limit60: 32 -> 59
Limit120: 64 -> 119
Limit114: 64 -> 142
2021-12-25 14:54:43 +11:00
UnknownShadow200
7b44e2d48d Minor GUI tweaks to be more classic like
Display original names for keys (e.g. RBRACKET instead of BracketRight)
Always show 'Select block' title in inventory, even when no block is selected
Load level menu has 'Load level' title instead of 'Select a level'
2021-12-21 09:27:22 +11:00
UnknownShadow200
158a462d18 Fix last commit 2021-12-20 09:37:05 +11:00
UnknownShadow200
41c9e47d27 Move auto close option to launcher
Doesn't really make sense to set this option from in-game
2021-12-20 09:26:40 +11:00
UnknownShadow200
5854e76ef5 Fix OpenGL 1.1 build not compiling 2021-12-20 09:01:10 +11:00
UnknownShadow200
67507c4ab5
Merge pull request #922 from UnknownShadow200/WebSystemFonts
WIP on web system fonts
2021-12-19 08:58:44 +11:00
UnknownShadow200
af235dc5ba Windows: Add high DPI support (partially) 2021-12-18 12:49:43 +11:00
UnknownShadow200
23db8cc3a5 Windows: Fix not working in 16 colors mode and fix only having 2 colors (red and black) in 256 colors (Thanks popgoesme700) 2021-12-13 13:42:29 +11:00