Commit graph

5928 commits

Author SHA1 Message Date
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
UnknownShadow200
fd020a355f Finally get .dat deserialisation to work 2021-11-28 14:21:38 +11:00
UnknownShadow200
6f3bd4f3f5 WIP on rewriting .dat java deserialiser yet again 2021-11-28 13:25:41 +11:00
UnknownShadow200
fdfd521676 Webclient: Fix crash when invalid URL is given to download something from (e.g. skin or texture pack) 2021-11-26 07:32:20 +11:00
UnknownShadow200
e7e06cc650 Fix background (clear) color being wrong for one frame
This was noticable when e.g. loading singleplayer map would partially show lava color in first frame, when entering/exiting water would partially show the map with old color for one frame (most noticable around the clouds)
2021-11-25 20:43:59 +11:00
UnknownShadow200
86e07b159c ModernGL: Show warning when running on < 2.0 OpenGL system 2021-11-25 19:39:46 +11:00
UnknownShadow200
51a358e69e Switch button order to match Windows 2021-11-24 21:25:24 +11:00
UnknownShadow200
b86502a033 Linux/macOS: Add Modern OpenGL client builds 2021-11-24 20:04:36 +11:00
UnknownShadow200
6146393906 Prepare for opengl modern linux/macOS builds 2021-11-23 21:59:12 +11:00
UnknownShadow200
37ffee6a1c Windows 95: Now gets slightly worker with connecting to websites 2021-11-23 08:20:21 +11:00
UnknownShadow200
c91ca242f2 Add option for skipping https certificate validation
Still really bad but slightly better than previous option of not using https altogether
2021-11-22 21:42:53 +11:00
UnknownShadow200
79fc4cb599 Auto reload texture pack list screen if trying to load a .zip returns file not found 2021-11-21 20:05:54 +11:00
UnknownShadow200
a761f2718b Don't bother logging errors for closing readonly files 2021-11-21 17:55:35 +11:00
UnknownShadow200
84356f0847 Split .dat parser into dat parser portion and java deserialiser portion 2021-11-21 15:18:24 +11:00
UnknownShadow200
8e3acc9e61 Add preclassic - classic 0.13 .dat loading support 2021-11-21 09:08:34 +11:00
UnknownShadow200
cb48d63437 Split up Dat_Load into Dat_Load and Dat_LoadFormat2 2021-11-21 08:47:20 +11:00
UnknownShadow200
ac0bf7ccdb WIP on options.txt documentation, also add register dumping for Windows ARM64 2021-11-20 10:41:28 +11:00
UnknownShadow200
1102601c3d Fix and tidyup ARM register dumping 2021-11-20 07:57:45 +11:00
UnknownShadow200
bbf185fdcc Add register dumping for Darwin ARM64, simplify opengl function loading code slightly 2021-11-19 23:02:33 +11:00
UnknownShadow200
2c59a9ebf7 OpenGL: Attempt to fix rare crashing on Windows for GPU drivers that return NULL from wglGetProcAddress for core OpenGL functions 2021-11-19 20:56:44 +11:00
UnknownShadow200
762660d7c6 Add option to customise skin server 2021-11-18 22:20:11 +11:00
UnknownShadow200
15330c620d Add graphics backend to crash log header 2021-11-17 19:51:27 +11:00
UnknownShadow200
b16d1ba728 Makefile: Remove -rdynamic from *.c compilation on linux too 2021-11-17 18:50:30 +11:00
UnknownShadow200
ee4bdf9b45
Merge pull request #912 from UnknownShadow200/UpdateBuilds
Refactor updater builds to be more generic
2021-11-16 21:20:45 +11:00
UnknownShadow200
b62e9fd10c Track whether a hotkey is user or server defined 2021-11-15 22:33:45 +11:00
UnknownShadow200
fa4a63b3bd Make hotkey struct field naming more consistent 2021-11-15 21:47:42 +11:00
UnknownShadow200
b2b6273aa7
Merge pull request #908 from SpiralP/add-cpe-plugin-message
Add new CPE type PluginMessage
2021-11-14 22:45:56 +11:00