Commit Graph

1161 Commits

Author SHA1 Message Date
James Seibel 5e413cfe93 Add a config to enable/disable using MC's lighting engine 2023-12-02 12:37:27 -06:00
James Seibel b5853d20ee Add a limit to the number of queued update chunks 2023-12-02 12:24:12 -06:00
James Seibel 39e477f8ca Fix Powdered Snow not rendering as a full block 2023-12-02 12:03:36 -06:00
James Seibel 22e91d62b6 Fix near clip plane on Lod only mode 2023-12-02 09:15:52 -06:00
James Seibel 466ebe0503 Fix seeing the near clip plane on low render distances 2023-11-29 07:43:54 -06:00
NULL511 eee52c8f55 cleanup 2023-11-26 15:57:22 -05:00
NULL511 ddc3291bf7 fix shader near plane; remove dh near 2023-11-26 15:18:45 -05:00
NULL511 0dc267f038 add shader near clip using distance 2023-11-26 14:53:50 -05:00
James Seibel efc2ce84e4 Fix null pointer when joining some multiverse servers 2023-11-25 11:39:39 -06:00
James Seibel bd3592ee5b Fix lighting on some servers 2023-11-25 11:08:36 -06:00
James Seibel e693e2f9e0 Add transparency constants to IBlockStateWrapper 2023-11-25 08:45:40 -06:00
James Seibel ab60df6240 Add out of bounds handling for LodDataBuilder 2023-11-25 08:44:41 -06:00
James Seibel 124dbe700f Attempt to prevent threadPool null pointers 2023-11-25 07:39:31 -06:00
James Seibel d1d7cc4dd2 catch unexpected ClientTick exceptions to prevent crashing MC 2023-11-25 07:39:06 -06:00
James Seibel fc248d0956 Fix merging for transparent LODs over the void 2023-11-24 14:02:26 -06:00
James Seibel b641436d80 Add ColulmnRenderBufferBuilder TODOs 2023-11-24 13:35:48 -06:00
James Seibel 7959097fe3 Fix a potential concurrent error on DhClientServerWorld shutdown 2023-11-24 09:46:45 -06:00
James Seibel e73e3a5587 add possible comments to IColumnDataView 2023-11-21 07:44:18 -06:00
James Seibel 9c918c7bbb Improve multiverse similarity logic and fix incorrect log 2023-11-21 07:43:46 -06:00
James Seibel 7e869105cb Fix null pointers when moving between multiverse levels 2023-11-20 07:35:10 -06:00
coolGi 8af14ad3e7 Added logging for % downloaded 2023-11-20 21:59:01 +10:30
coolGi 1ebbd9f7e4 Fixed <br/> not being parsed correctly 2023-11-20 00:40:07 +10:30
coolGi f9b544cc11 Fixed updater's back up method deleting the wrong jar 2023-11-19 22:48:39 +10:30
coolGi 04b961b164 Fixed updater crashing without network 2023-11-19 20:06:05 +10:30
coolGi 09aa607a48 Added temporary solution to file update from 1.6 2023-11-18 23:52:20 +10:30
coolGi 5ee6141d3f Added backup file deletion method 2023-11-18 21:52:35 +10:30
coolGi 73facf1f35 Added dev comment about iris compat 2023-11-18 21:38:51 +10:30
James Seibel 836332959c Fix Optifine rendering a blank screen until resized 2023-11-14 07:36:41 -06:00
James Seibel de514b1d1d reformat DhColorTexture, DhFramebuffer, and LodRenderer 2023-11-14 07:36:28 -06:00
James Seibel 8e46ce07e0 Merge branch 'fix/dimension-switch-sql-errors' into 'main'
Ignore input and return empty data when database connection is closed

See merge request jeseibel/distant-horizons-core!35
2023-11-10 13:02:28 +00:00
James Seibel d5b929f7a7 Merge branch 'fog-config-api-additions' into 'main'
Add far and height fog to the fog config API

See merge request jeseibel/distant-horizons-core!36
2023-11-10 13:01:13 +00:00
James Seibel 2eae46271b Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-11-08 19:41:05 -06:00
James Seibel 2d7e0d8b21 cleanup DhApplyShader 2023-11-08 19:38:01 -06:00
Steveplays28 ebc5f30863 feat: Add far and height fog to the fog config API 2023-11-07 20:23:07 +01:00
coolGi e90daa8e5b Added key detection through the new test screen 2023-11-08 01:26:32 +10:30
James Seibel 0a8847cdc0 Fix transparent water when transparency is disabled 2023-11-06 07:48:57 -06:00
James Seibel 3daa0eb6ce Fix ThreadPools not setting workerThreadSemaphoreCount at bootup 2023-11-05 15:53:57 -06:00
s809 7ba3fc0dda Ignore input and return empty data when connection is closed 2023-11-04 23:03:30 +05:00
James Seibel d07a285323 move the russian lang file to (hopefully) disable it
Apparently the previous renaming didn't work
2023-11-04 11:34:53 -05:00
James Seibel 5610d9bc0a fix a typo in LodRenderer 2023-11-04 10:01:24 -05:00
James Seibel 4b8f27ed78 Add invalid fullData ID handling 2023-11-03 19:42:47 -05:00
James Seibel b3a09a12fa fix null pointer in ThreadPools shutdown 2023-11-03 17:51:16 -05:00
James Seibel 0b3958eb58 Fix Optifine shaders not rendering 2023-11-02 21:44:57 -05:00
James Seibel 528499215a re-add CPU option I_PAID_FOR_THE_WHOLE_CPU 2023-11-01 21:13:38 -05:00
James Seibel ad2e3e738e Add try-finally for FullDataPointIdMap locks 2023-11-01 21:05:13 -05:00
coolGi e3eb08a983 Refactor of GitInfo. Removed core commit, and added Build Source 2023-10-31 19:35:07 +10:30
James Seibel 4c5204172e fix server shutdown null pointer 2023-10-30 18:43:04 -05:00
James Seibel 645567c474 Merge branch 'distant-horizons-core-refactor/client-world-close' 2023-10-29 16:09:54 -05:00
James Seibel 446c274094 Reduce CPU load when moving around the world
Should've made this multiple commits, but too late now

- Create ConfigThreadPool to remove duplicate thread setup/config code
- Move configurable thread pools into their own ThreadPools class
- Add a semaphore to limit how many LOD builder/lighting/bufferBuilder threads can be active at once
2023-10-29 15:04:32 -05:00
James Seibel 23ebfcb9bf Remove duplicate "DH" name for world ticker threads 2023-10-28 17:42:59 -05:00