Commit Graph

1218 Commits

Author SHA1 Message Date
James Seibel df0a5f5bd0 finish the world generatior 2023-03-14 07:30:42 -05:00
James Seibel 44e280e8b7 fix a class missing exception 2023-03-14 07:24:07 -05:00
James Seibel b6ef754d61 rename DhLodPos overlaps() -> overlapsExactly() 2023-03-12 18:50:58 -05:00
James Seibel 579302f643 start replacing WorldGenQueue's backend with a QuadTree
previously it was a list that grew too quickly for large distances
2023-03-12 18:45:51 -05:00
James Seibel cb23fddd53 add try catch to ServerApi 2023-03-12 17:53:07 -05:00
James Seibel 2f99de7900 remove unused imports 2023-03-12 17:51:46 -05:00
James Seibel 6056d7f7d1 refactoring 2023-03-11 21:10:42 -06:00
James Seibel 586c550c80 fix potential ColumnBox empty data point error 2023-03-11 21:10:09 -06:00
James Seibel 4b5bfe6799 Fix the QuadTree not updating when new LODs are generated 2023-03-11 12:02:22 -06:00
James Seibel 45cc0f38be fix incorrect commit for DhClientServerWorld 2023-03-11 12:01:54 -06:00
James Seibel 3c72765c9a refactoring 2023-03-11 12:00:08 -06:00
James Seibel ded7dde42a Fix generated data not saving 2023-03-11 11:00:37 -06:00
James Seibel 3510facd1e refactor fullDataMetaFile 2023-03-11 11:00:14 -06:00
James Seibel c5c298708f refactoring 2023-03-11 10:37:02 -06:00
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