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
UnknownShadow200
6d3d2eecc1
Linux: Don't log 'anon_inode:i915.gem' memory ranges in crash logs (Thanks popgoesme700)
2021-12-12 14:50:33 +11:00
UnknownShadow200
a3a0e30592
Implement system font position, bold, non-ascii characters
2021-12-11 09:22:19 +11:00
UnknownShadow200
c18e8e9649
Text now renders somewhat passibly
2021-12-10 22:01:54 +11:00
UnknownShadow200
ecd733cd31
What's operator precedence anyways?
...
Fixes game crashing due to heap corruption due to reading dst_height from wrong address (which would set dst_height to e.g. 7387141), which would then cause img_height to be set to 150, which would hence write to memory used by other data (as destination bitmap was actually only 64 pixels tall)
2021-12-08 12:22:26 +11:00
UnknownShadow200
6060af889f
Change '-----' to '-' for empty slots in list menus for more classic authenticity
2021-12-04 09:48:50 +11:00
UnknownShadow200
7477751096
Webclient: Add list of common sytem fonts
2021-12-03 22:48:14 +11:00
UnknownShadow200
20ce465eb5
WIP on implementing system fonts in webclient
...
Although either memory or canvas gets corrupted.. still trying to work out what's going on there
2021-12-03 21:44:21 +11:00
UnknownShadow200
0f5022d9bf
WebGL/OpenGL ES: Use dummy 1x1 pure white instead of pure black texture when no custom texture is bound
...
Fixes world appearing black instead of shaded white when e.g. default.zip is missing, also missing skin, specifying a block face texture ID past end of terrain.png, etc
2021-12-02 07:08:30 +11:00
UnknownShadow200
c942d507d1
Also reload map list if file not found error
2021-12-01 21:07:25 +11:00
UnknownShadow200
2e4098c07b
Webclient: Add query parameter based on current time when downloading your own skin
...
This ensures that you'll always get a non-cached skin the first time the skin is downloaded in the session (although subsequent downloads in the same session may be cached). This should mostly address issues about changing your own skin not showing up in webclient - now instead of having to wait a few hours for non-cached skin to eventually get downloaded, just have to quit and open the webclient again
2021-11-29 22:10:49 +11:00
UnknownShadow200
5912f487c2
Http: Change priority bool to flags
2021-11-29 20:46:59 +11:00
UnknownShadow200
0cb925b3ea
Merge pull request #918 from UnknownShadow200/MacGLFix
...
Mostly fix 100% CPU when game minimised/occluded on macOS
2021-11-28 23:15:44 +11:00
UnknownShadow200
e9a6edf9cd
Implement Window_IsObscured for macOS
2021-11-28 23:03:19 +11:00
UnknownShadow200
db9ee23a86
OpenGL: Go into reduced performance mode when window is obscured
2021-11-28 21:58:48 +11:00
UnknownShadow200
455221207c
Windows 98: Fix fullscreen not working too
2021-11-28 17:29:58 +11:00
UnknownShadow200
8e52e72ede
Windows 98: Fix /client res not setting window size to exactly right size
2021-11-28 17:15:27 +11:00
UnknownShadow200
d241696b76
Merge pull request #917 from UnknownShadow200/JSFRewrite3
...
Rewrite .dat java deserialisation
2021-11-28 16:18:37 +11:00
UnknownShadow200
831e7cd142
Webclient: Allow importing lvl/fcm/dat since you can upload map files now
2021-11-28 16:04:28 +11:00
UnknownShadow200
080659f7ca
Also import .mine files as dat map format, fix some survival test maps not importing due to having more than 16 different class types
2021-11-28 15:46:30 +11:00