Commit Graph

1178 Commits

Author SHA1 Message Date
Steveplays28 df3d20f94e fix: Fix getting LOD render distance radius from the config
This config option was renamed recently, to fix LODs not rendering out to the LOD render distance border. Also removed an unused import.
2023-10-20 13:49:55 +02:00
Steveplays28 f3b40f51a2 Merge branch 'main-upstream'
# Conflicts:
#	core/src/main/java/com/seibel/distanthorizons/core/file/fullDatafile/GeneratedFullDataFileHandler.java
#	core/src/main/java/com/seibel/distanthorizons/core/level/DhClientLevel.java
#	core/src/main/java/com/seibel/distanthorizons/core/level/DhServerLevel.java
2023-10-20 13:41:33 +02:00
James Seibel 2d4f057eb0 Merge branch 'fix/close-db-file' into 'main'
Fix database file not being closed when leaving the world

See merge request jeseibel/distant-horizons-core!31
2023-10-20 03:15:22 +00:00
James Seibel 9ef25bdee0 bandaid fix for World gen holes 2023-10-19 22:13:38 -05:00
James Seibel 363a1aea4d Add an assert to world gen and minor reformat FullDataMetaFile 2023-10-19 21:45:05 -05:00
James Seibel fa03336a5d Fix never ending world gen tasks 2023-10-19 20:45:47 -05:00
James Seibel b38b33e87e Fix Sqlite memory leak
All Sqlite statements must be in a try-resource block otherwise a native memory leak will occur
2023-10-19 20:11:39 -05:00
s809 96074c2f50 Merge branch distant-horizons-core:main into fix/close-db-file 2023-10-19 18:01:52 +00:00
s809 5f7e9c16f4 Fix database file not closed when leaving the world 2023-10-19 22:57:07 +05:00
coolGi b1ed91af2a Re-Enabled the updater by default on windows 2023-10-20 00:57:39 +10:30
James Seibel 416c0db163 Fix Render Distance localization 2023-10-19 07:25:30 -05:00
James Seibel f387a2ca1b Fix LOD renderer setup for MC 1.16 2023-10-19 07:16:31 -05:00
James Seibel ad24cbebe3 Fix Forge not rendering 2023-10-19 07:04:19 -05:00
James Seibel 8eb4afef68 temporarily comment out GL message building
the message generation was changed in MC 1.20.2 and needs to be changed. However for a release build it isn't necessary.
2023-10-18 22:04:24 -05:00
James Seibel b0ad8fa637 Fix LOD render distance measured as the diameter instead of radius 2023-10-18 07:50:59 -05:00
James Seibel b014317e1a remove DhApplyShader commented out code 2023-10-18 07:24:13 -05:00
James Seibel 50257c6b94 Fix transparent fog rendering 2023-10-18 07:24:02 -05:00
James Seibel 29fabe1849 Fix DH auto update jar deletion and add more logging 2023-10-17 21:42:54 -05:00
James Seibel 201c0c3e3e Add GLStates around the DhApplyShader 2023-10-16 21:57:56 -05:00
James Seibel bafbbf225e Fix transparent LODs overwriting opaque LOD alpha values 2023-10-16 21:33:38 -05:00
James Seibel 451b3cfdbe Refactor/rename VertexAttribute -> AbstractVertexAttribute 2023-10-16 20:44:50 -05:00
James Seibel c6104e2dd9 minor VertexAttributePreGL43 and ScreenQuad reformatting 2023-10-16 20:38:39 -05:00
James Seibel 70b3460928 Fix ScreenQuad rendering on Mac or OpenGL 4.3 and lower 2023-10-16 20:35:39 -05:00
James Seibel 35d2d638d4 Refactor VertexAttribute Pre/Post GL43 2023-10-16 07:19:39 -05:00
James Seibel c40067359f Fix incorrect texture RGB values -> RGBA8
Thanks IMS
2023-10-15 20:10:29 -05:00
James Seibel d69e6b7d8d Add (mac broken) FrameBuffer application 2023-10-15 18:05:13 -05:00
James Seibel 5921dfa749 Add the ability to manually choose OpenGL version 2023-10-15 18:04:42 -05:00
s809 e3d7598501 Fix compilation 2023-10-14 22:13:01 +05:00
s809 596b822a5d Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-10-14 22:09:15 +05:00
coolGi 62bf59f098 Disabled updater on windows by default 2023-10-14 22:47:58 +10:30
coolGi 06478a56bb Lod's are now enabled with special fog 2023-10-14 22:45:58 +10:30
Steveplays28 80ed8127f5 fix: Fix fog rendering 2023-10-14 14:05:44 +02:00
James Seibel 1e5a4d43f7 Have GLProxy attempt creating contexts with all supported GL versions 2023-10-13 21:56:06 -05:00
James Seibel 78e2b4ff3f Rename Platform -> EPlatform 2023-10-13 20:22:56 -05:00
James Seibel c45ed9aa70 Refactor GLProxy 2023-10-13 20:22:36 -05:00
James Seibel 4c2c89de57 Add IDhApiRenderProxy for getting/setting framebuffers and textures 2023-10-13 19:58:03 -05:00
coolGi 4b14fe82e7 Fixed lod's being rendered underwater 2023-10-13 23:25:03 +10:30
James Seibel 31971e03db Fix missing MC sky 2023-10-12 21:35:04 -05:00
James Seibel 6e87a31e2e Disable the russian translation 2023-10-12 19:47:16 -05:00
James Seibel df097b9425 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-10-12 19:42:27 -05:00
James Seibel d3a575542d Improve SSAO class readability 2023-10-12 19:42:21 -05:00
coolGi 7ce89e9903 Fixed yet another issue relating to spaces in the path 2023-10-12 18:38:56 +00:00
coolGi 7f4e5d9e58 Surrounded the Java location with quotations so paths with spaces work 2023-10-13 02:54:29 +10:30
coolGi ae65fb8e93 Attempt to find Java's binary to use for the self updater on Windows 2023-10-13 02:00:12 +10:30
coolGi 2bf997e882 Updater now works with spaces in file paths 2023-10-13 00:06:57 +10:30
James Seibel f4e7eb6a38 Fix SSAO rendering 2023-10-12 07:49:01 -05:00
James Seibel 229e042994 Re-add OpenGL debug config options, also remove debug LOD update configs 2023-10-10 20:40:45 -05:00
James Seibel fb5b16e557 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-10-10 19:34:56 -05:00
James Seibel ff90dc04b7 Fix Light map flickering when multiple client levels are active 2023-10-10 19:32:08 -05:00
coolGi 21b5470863 Changed self updater location to use the class' path 2023-10-10 23:05:33 +10:30