Commit Graph

1455 Commits

Author SHA1 Message Date
James Seibel 808380b461 improve FileHandler directory creation logic 2023-06-18 08:51:12 -05:00
James Seibel 773cd3aaef Allow API override for configs by default 2023-06-17 21:53:05 -05:00
James Seibel 55019c51ed Fix Config setApi not firing listeners 2023-06-17 21:52:52 -05:00
James Seibel f5784c07b1 Fix some config setup not running if the UI isn't opened 2023-06-17 21:52:38 -05:00
James Seibel ac73b52b23 remove fixme in DhApiTerrainRepo 2023-06-17 21:01:14 -05:00
James Seibel 122e24ad6d Add validation to FullDataArray and SingleColumnData 2023-06-17 21:00:35 -05:00
James Seibel b7ca6dbd87 Fix DhLodPos.getDhSectionRelativePositionForDetailLevel()
It had an off by 1 error
2023-06-17 20:57:41 -05:00
James Seibel 594f42a889 rename namespace lod -> distanthorizons 2023-06-17 17:45:21 -05:00
James Seibel 5c2f89a0a5 uncomment debug code in DhApiTerrainDataRepo
Might as well keep the debug code up to date in case it is needed
2023-06-17 16:51:42 -05:00
James Seibel a5db19cfc9 Add a logger and fixme note to DhApiTerrainDataRepo 2023-06-17 16:44:51 -05:00
James Seibel fa8a62b8a9 rename IDhApiUnsafeWrapper method 2023-06-17 16:36:01 -05:00
James Seibel d0819fb6c1 rename DhApiMain -> DhApi
I missed a file
2023-06-17 16:12:06 -05:00
James Seibel d335e10057 rename DhApiMain -> DhApi 2023-06-17 12:01:37 -05:00
James Seibel f5a0789321 Fix DhApiWorldProxy.getSinglePlayerLevel() 2023-06-17 12:01:23 -05:00
TomTheFurry fb77c766a6 Refactor the DhLevel class structure.
Note: Known issue where sections need reload before gen is queued up. Will fix next
2023-06-18 00:23:51 +08:00
TomTheFurry 1c65d030b1 First baby step towards a pre-lod-loader. 2023-06-17 01:00:34 +08:00
TomTheFurry f98ab8a56b Merge remote-tracking branch 'origin/main' 2023-06-15 21:55:26 +08:00
TomTheFurry 175581ca76 Refactor and cleanup render buffer management 2023-06-15 21:55:18 +08:00
James Seibel ed61354ec0 Fix lines on screen from SSAO (thanks notalpha) 2023-06-15 07:42:29 -05:00
TomTheFurry 0631f7adf7 Ops. 2023-06-15 16:46:23 +08:00
TomTheFurry 9f81194d21 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	core/src/main/java/com/seibel/lod/core/render/glObject/GLProxy.java
2023-06-15 16:41:57 +08:00
TomTheFurry 419af81523 Fix lighting issues in both client-only and single player world 2023-06-15 16:41:17 +08:00
James Seibel 6832d21a3b config renaming and add new configs to DhApi 2023-06-14 21:32:10 -05:00
James Seibel 6db6c69983 Add LZ4 to the readme 2023-06-14 20:17:43 -05:00
James Seibel d502fd4daa Add a thread config for ChunkToLodBuilder 2023-06-14 19:42:34 -05:00
James Seibel b2196448f7 Improve thread pool names 2023-06-14 19:42:16 -05:00
James Seibel 2ab16b1fe5 reduce the render cache clear timeout ms 1000 -> 400 2023-06-13 20:05:08 -05:00
James Seibel d99d34683c Merge DetailDistanceUtil into LodQuadTree 2023-06-13 20:04:44 -05:00
James Seibel 500d3cde57 refactor DetailDistanceUtil 2023-06-13 19:26:56 -05:00
James Seibel 98ee3f9e5f Fix errors when rapidly changing config options 2023-06-13 19:26:40 -05:00
James Seibel 24a335565e Implement the Quick enable render toggle
Also improve the logic for setting UI only config values
2023-06-12 22:18:52 -05:00
James Seibel 12d5d9e32b Add an annotation to skip config enums 2023-06-12 20:24:49 -05:00
coolGi a00671c2e5 Merge branch 'ssao' into 'main'
SSAO

See merge request jeseibel/distant-horizons-core!8
2023-06-12 10:47:50 +00:00
coolGi 8ae03af7c2 Fixed up the merge 2023-06-12 10:47:16 +00:00
notalpha 2ea75821a1 feat: SSAO 2023-06-12 11:37:18 +02:00
TomTheFurry bb491f5de1 Merge remote-tracking branch 'origin/main' 2023-06-12 13:25:47 +08:00
TomTheFurry 082f7597b2 FIx misc bugs and issues, and polish, simplify and remove no-longer needed logic 2023-06-12 13:25:37 +08:00
James Seibel 758ff8a527 rename config extendedNearClip -> overdrawPrevention
Also add a few new options for it
2023-06-11 22:16:40 -05:00
James Seibel f785e75622 Fix BlockToAvoid and TintWithAvoidedBlocks 2023-06-11 21:24:34 -05:00
James Seibel 5a33a4511b hide ResetConfirmation config menu
I couldn't easily implement a reset button since I can't control the config UI from Core.
2023-06-11 18:25:19 -05:00
James Seibel 531af72173 move config preset handlers into a package 2023-06-11 18:03:49 -05:00
James Seibel 190a55e98b Add threading config presets 2023-06-11 18:02:53 -05:00
James Seibel 79a2e52e30 Fix multiThreading config value naming 2023-06-11 17:49:41 -05:00
James Seibel a1ca634891 add AbstractPresetConfigEventHandler 2023-06-11 16:39:05 -05:00
James Seibel 9829173928 add missing lang for debugWireframeRendering 2023-06-11 16:01:52 -05:00
James Seibel 19593d4ea7 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-06-11 15:53:53 -05:00
James Seibel cd53cd8ffa rename a few configs Ultra -> Extreme 2023-06-11 15:46:06 -05:00
James Seibel 72b89814b6 Merge Horizontal Quality and Scale
The separation was confusing most of the time
2023-06-11 15:10:16 -05:00
James Seibel 0179f10166 Improve the fog config option organization 2023-06-11 14:46:04 -05:00
James Seibel b3a36e4f1f Fix some quality settings not applying to the LodQuadTree 2023-06-11 13:27:03 -05:00