Commit Graph

1204 Commits

Author SHA1 Message Date
James Seibel d687ec892a refactoring/renaming 2023-03-11 09:50:33 -06:00
James Seibel dbfde9f637 Fix files not saving 2023-03-10 22:49:11 -06:00
James Seibel f2be1bd034 rename Steps -> EGenerationStep 2023-03-10 22:00:26 -06:00
James Seibel dd8ee36487 replace OutputStream's with BufferedOutputStream for performance 2023-03-09 21:43:54 -06:00
James Seibel e5116e1ec9 Require Buffered Streams everywhere for performance 2023-03-09 21:02:48 -06:00
James Seibel ce472729d6 append Dh to unclosableStreams and refactor 2023-03-09 07:14:48 -06:00
James Seibel f691f016bc Fix file loaders not getting interrupted on level close 2023-03-07 20:39:07 -06:00
James Seibel 380f92e105 reformat fullDataMetaFile 2023-03-06 21:32:44 -06:00
James Seibel 7ab60df578 Fix QuadTree ringList removal assertion 2023-03-06 21:25:54 -06:00
James Seibel 03822f9e74 Add QuadTree.treeMaxDetailLevel 2023-03-06 20:58:40 -06:00
James Seibel b760a16416 Revert "Simplify Config auto complete"
This reverts commit 1a1d6370f9.
2023-03-06 20:50:17 -06:00
James Seibel e3567c923a Default vanillaOverdraw to "always" instead of "dynamic" 2023-03-06 20:39:57 -06:00
James Seibel 1a1d6370f9 Simplify Config auto complete
Make ConfigCategories private instead of public.
2023-03-06 20:39:42 -06:00
James Seibel a517e6997b refactor ColumnRenderBuffer 2023-03-06 20:30:59 -06:00
James Seibel b63c4b9e7e Remove deprecated ILodConfigWrapperSingleton, use Config instead 2023-03-06 07:44:49 -06:00
James Seibel 5bb14820b6 Add try-catch blocks to LodQuadTree and RenderBufferHandler
To prevent either system from out-right crashing if something goes wrong
2023-03-05 22:07:41 -06:00
James Seibel f09bfa7cfd Auto remove world gen tasks that are outside DH's render distance 2023-03-05 18:38:03 -06:00
James Seibel 825f424ae0 refactor GeneratedFullDateFileHandler 2023-03-05 18:29:21 -06:00
James Seibel 48ae72e0ce Refactor DhChunkPos and add isChunkPosBetween() 2023-03-05 18:28:42 -06:00
James Seibel 94de6380e8 refactor DhClientServerLevel 2023-03-05 18:28:23 -06:00
James Seibel 43de87be0d Limit QuadTree concurrently loading LodRenderSections 2023-03-04 21:15:50 -06:00
James Seibel 067730379f prepend "DH-" to all threads using ThreadUtil 2023-03-04 20:09:04 -06:00
James Seibel 32456c3110 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-03-04 20:06:50 -06:00
James Seibel 12cbcd9159 Fix threadUtil relativepriority 2023-03-04 20:06:36 -06:00
James Seibel 04e25499ac refactor EventLoop 2023-03-04 20:06:17 -06:00
coolGi 3158620440 Quick fix up to distantGeneratorMode lang 2023-03-05 12:13:32 +10:30
coolGi c65e8c068c Notification in the config if there is going to be an update on close 2023-03-05 11:57:56 +10:30
James Seibel cc4ffaf415 Move threading from LodUtil to ThreadUtil 2023-03-04 14:37:31 -06:00
James Seibel 1a047e14b6 refactor LodRenderSection and LodQuadTree 2023-03-04 14:23:42 -06:00
James Seibel daf4d8b975 refactor MovableGridRingList 2023-03-04 14:20:57 -06:00
James Seibel d35befdf8e Make QuadTree load renderSections from lowest detailLevel to highest
IE start with near sections and move out
2023-03-04 11:49:25 -06:00
James Seibel 6c9c6c9e99 Refactor LodQuadTree 2023-03-04 11:48:25 -06:00
James Seibel 51e5408bb6 Refactor GLProxy 2023-03-04 10:10:19 -06:00
James Seibel b967d94ece refactor LodQuadTree tick methods 2023-03-04 09:58:46 -06:00
James Seibel 07d92f95cb comment out "Merging data from..." logs 2023-03-02 21:34:49 -06:00
James Seibel 075364b26a refactor ChunkToLodBuilder and improve its level changing logic 2023-03-02 21:17:32 -06:00
James Seibel b53c6d8c76 Fix changing dimensions preventing chunk updates 2023-03-02 21:01:43 -06:00
James Seibel 209ccdae76 Add ClientServerWorld level dim type assertion 2023-03-02 20:45:14 -06:00
James Seibel 6beac75c0f comment out "loading render source" log 2023-03-02 20:44:49 -06:00
James Seibel 3fbc2bdb1c Fix render cache folder not being used by ClientRenderState 2023-03-02 20:44:36 -06:00
James Seibel ab92a5ba42 minor reformatting 2023-03-02 07:45:36 -06:00
James Seibel 382b006210 Fix high CPU usage when not moving
Refreshing the render source isn't necessary since it will automatically be updated whenever a given chunk is updated. (and because we don't currently have a versioning system to prevent re-loading the same data)
2023-03-02 07:33:40 -06:00
James Seibel 022a288c97 comment out height_map vertical option
and minor refactoring/commenting
2023-03-01 07:46:37 -06:00
James Seibel 9f601ea6b3 Fix reading/writing files after leaving the world
May have issues in Client-only mode
2023-03-01 07:31:40 -06:00
James Seibel cc474caf33 refactor and comment 2023-02-28 21:43:08 -06:00
coolGi 70369fa468 Removed api build.gradle 2023-02-28 16:57:45 +10:30
James Seibel 42d3e38daa Fix gradle mystery compiler error
Specifically fixes core gradle being unable to access packages found in API
2023-02-27 20:38:40 -06:00
coolGi 1234e47f55 Removed build.gradle for core 2023-02-27 22:32:24 +10:30
coolGi c44c501cd8 Maybe fixed bug with gradle??? 2023-02-27 21:11:37 +10:30
James Seibel 9a27cc1e65 implement ClientApi.clientChunkSaveEvent() 2023-02-26 16:33:58 -06:00