Commit Graph

1561 Commits

Author SHA1 Message Date
James Seibel b71b9e13a6 Fix lang for debug menu and allowUnsafeValues 2023-07-17 21:43:59 -05:00
James Seibel 5db5bce308 rename runTimeRatioForDataConverterThreads -> ...TransformerThreads 2023-07-17 21:43:38 -05:00
TomTheFurry 6a87a87597 Merge remote-tracking branch 'origin/main' 2023-07-17 18:46:19 +08:00
TomTheFurry 388ea9050f Fixed the mem leak issue by nuking the whole save-when-exit 2023-07-17 18:44:42 +08:00
James Seibel 9d518a5fd6 fully remove band-aid fix for missing low detail LODs 2023-07-16 22:07:59 -05:00
James Seibel 6acb1a2e9f Fix missing low detail LODs if the file didn't exist 2023-07-16 21:56:05 -05:00
James Seibel f0d3ece345 Full Data source refactoring 2 2023-07-16 21:52:20 -05:00
James Seibel a00e1c22c3 Full Data source refactoring 2023-07-16 20:56:34 -05:00
James Seibel a7a54598b2 Add Thread runTime to the thread presets 2023-07-16 17:41:32 -05:00
James Seibel c3ed5f98a5 Add and use Rate Limited thread pools 2023-07-16 17:05:45 -05:00
James Seibel fe16c5a9ca Fix old thread pools not being shutdown when resized 2023-07-16 13:38:00 -05:00
coolGi dbcc15e185 Merge remote-tracking branch 'origin/main' 2023-07-17 02:14:43 +09:30
coolGi f6e68082b7 Added checking for the checksum of the update 2023-07-17 02:14:17 +09:30
coolGi 3190d60729 Slight fix to the reliability of the auto updater 2023-07-17 02:08:34 +09:30
TomTheFurry 3283a250ed Merge remote-tracking branch 'origin/main' 2023-07-17 00:06:35 +08:00
TomTheFurry 2444d7068f Tried and failed to fix a bug. But hey, better loading time...? 2023-07-17 00:05:51 +08:00
coolGi 24b32ad6c9 Slight changes to the api fabric.mod.json to make it look like a library in modmenu 2023-07-17 01:32:38 +09:30
coolGi 5a74249f8a Merge branch 'tmp' 2023-07-17 00:28:29 +09:30
coolGi 66f4595b7b Fixed values being able to go over number limit 2023-07-17 00:27:32 +09:30
coolGi ce3a06e410 fix to commit c5041de5 2023-07-16 23:57:27 +09:30
James Seibel 76b464d5d7 Revert LOD hole bandaid fix due to performance issues
reverts main change in 4a069b42d8
2023-07-16 09:25:44 -05:00
coolGi 8727cd09af Allowd option for values to go out of range 2023-07-16 23:40:35 +09:30
coolGi c5041de5d4 Added proper clamping so values don't get out of range 2023-07-16 23:07:14 +09:30
TomTheFurry 51bb3eec3d Fix f3 msg causing mem leaks & render file throwing (harmless) exceptions on shutdown 2023-07-16 17:23:31 +08:00
James Seibel 060dca1574 Fix infinitely writing/creating FullDatafiles 2023-07-15 18:21:40 -05:00
James Seibel cb23b1ee55 Fix RenderSourceFileHandler thread pools not closing if files don't need saving 2023-07-15 12:31:34 -05:00
James Seibel fce04b419d Fix ChunkToLodBuilder creating multiple thread pools 2023-07-15 12:30:43 -05:00
James Seibel 7a5e1b5726 Fix RenderSourceFileHandler threadPools not closing
Closes #543 (slowdown when moving between dimensions)
2023-07-15 11:50:46 -05:00
James Seibel 2ead289ade Make ThreadUtil return ThreadPoolExecutor's instead of ExecutorService's
This was what was already being done by the Executors.newFixedThreadPool() method we were using; but this change means we don't have to cast the executors if we need additional functionality and we don't have to worry about Java changing Executors.newFixedThreadPool()'s implementation.
2023-07-15 11:34:55 -05:00
James Seibel f3414ed73d Abstract file and File handler refactor 2023-07-15 10:26:46 -05:00
James Seibel 693df3f88a Make render data saves async 2023-07-15 10:25:11 -05:00
James Seibel 187c15ddb4 Fix ChunkToLodBuilder never clearing impossible tasks 2023-07-15 08:51:23 -05:00
James Seibel 4a069b42d8 Bandaid fix to holes in previously generated LOD sections 2023-07-15 08:48:33 -05:00
James Seibel 80f9bcb148 Fix debug Renderer Mode localization 2023-07-14 07:03:06 -05:00
James Seibel 973e106882 Merge branch 'distant-horizons-core-main' 2023-07-11 18:50:47 -05:00
James Seibel ed9cccccea refactoring 2023-07-11 08:49:08 -05:00
James Seibel 5fb79325ce Fix option and changelog button missing backgrounds 2023-07-10 20:43:15 -05:00
James Seibel 96edfcb065 Add a shadowed library check 2023-07-08 11:54:57 -05:00
James Seibel 581ac02472 remove unused imports 2023-07-08 11:32:44 -05:00
s809 730216b761 Fix log string 2023-07-08 16:22:54 +05:00
s809 7d5b3c8917 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-07-08 12:26:12 +05:00
s809 83ab7e46b3 Base is pretty much finished 2023-07-08 12:25:20 +05:00
James Seibel 5a014f163d Add experimental Seamless Overdraw option 2023-07-06 22:16:59 -05:00
s809 62ff9606c1 Outline what interaction should somewhat look like
(not an actual interaction)
Fix client repeatedly registering handlers on reconnects
2023-07-06 21:57:02 +05:00
James Seibel f07973a1ce Refactor, remove unused class, add API docs 2023-07-04 15:41:08 -05:00
James Seibel 2fc74914b4 Merge branch 'distant-horizons-core-serverSupport' 2023-07-04 13:39:49 -05:00
James Seibel 2b0ee29a8c refactor and rename 2023-07-04 10:29:32 -05:00
James Seibel b50c2cf9a9 Add missing API Config javadocs 2023-07-03 06:50:12 -05:00
Cailin Smith 55f39996cb Rename class 2023-07-02 22:34:47 +02:00
Cailin Smith 44a66a3d93 Add ability for servers to communicate with the client to set the world.
This prevents the client from accidentally selected the wrong world
folder to load LODs from, since levels of the same dimension can't
naturally be distinguished from each other. With level similarity
detection, this can sometimes work, but in general is not reliable. This
mechanism instead allows servers to send a packet to the client on load,
enabling the override system, and then a second packet on world change,
which specifically sets the world key, based on knowledge that only the
server has, leading to a reliable way of detecting the correct world.
2023-07-02 21:44:54 +02:00