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
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
Cailin Smith
55f39996cb
Rename class
2023-07-02 22:34:47 +02:00
Cailin Smith
649cd5bbe8
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:41:14 +02:00
s809
748b484377
The real server side
...
(not tested)
2023-06-30 22:05:02 +05:00
James Seibel
ea40006023
Add SSAO to the quick quality presets
2023-06-30 07:47:29 -05:00
James Seibel
52edbd7c18
Update javadocs for API enums
...
and move one core enum out of the API
2023-06-30 07:46:00 -05:00
s809
2fc76e2842
Minimal ping-pong but less rigid impl
...
DhClientWorld#close is never fired smh
2023-06-29 20:58:43 +05:00
s809
e660c466f8
Remove unused param
2023-06-29 20:43:37 +05:00
s809
1f9aa2f70b
Minimal working client-server
...
No cleanup logic yet
2023-06-29 20:41:08 +05:00
s809
8378b1f09a
Add encoder
2023-06-29 20:38:50 +05:00
s809
8bae038612
Move everything to core
2023-06-29 20:38:38 +05:00
TomTheFurry
114d3210fb
Prob fix the gl error? (might add mem leak tho.) & fix 1.18.2 build
2023-06-29 16:27:42 +08:00
Cailin Smith
98634e2a0b
Fix small bugs + make level map concurrent to prevent exceptions
2023-06-28 18:16:33 -05:00