Commit Graph

347 Commits

Author SHA1 Message Date
James Seibel 03acb159e0 separate a quadTree test 2023-03-20 19:55:12 -05:00
James Seibel 837f7d6b5f QuadTree refactoring and fixes 2023-03-20 19:52:13 -05:00
James Seibel ea8076db97 remove unused QuadTree code 2023-03-20 19:52:00 -05:00
James Seibel 38ff3b6942 QuadTree test refactoring 2023-03-20 19:50:45 -05:00
James Seibel 29b5cd9a50 Move SectionPos tests into their own file 2023-03-20 19:50:18 -05:00
James Seibel 4e0254154f Overhaul the QuadTree object
Previously the quad tree was closer to a 3D array than a traditional quadTree. This change brings it closer to a traditional quad tree.
2023-03-20 07:16:35 -05:00
James Seibel adf5d3eb14 fix LodQuadTree compiling and in-mobile functionality 2023-03-18 21:57:54 -05:00
James Seibel 3c4faf1cd0 incomplete LodQuadTree tick modification 2023-03-18 18:14:48 -05:00
James Seibel bf2ae21c21 Improve LodQuadTree assert messages 2023-03-18 09:53:45 -05:00
James Seibel 32e11062df Add a rough diagram to LodQuadTree 2023-03-18 09:50:59 -05:00
coolGi 7d2ab7f589 Updated logo svg so they can be defined in variables 2023-03-18 12:30:33 +10:30
coolGi aac99f1682 Fixed up more things to do with JavaFX, and added some extra stuff for the MinecraftScreen 2023-03-17 22:29:28 +10:30
coolGi 64bed83ddb Removed FlatLaf (which was used for theming) and replaced it with JavaFX 2023-03-17 19:45:18 +10:30
James Seibel 333dc4d0e0 add a message to a LodQuadTree assert 2023-03-16 07:55:30 -05:00
James Seibel d7338a7bb7 update world gen queue comments 2023-03-16 07:26:08 -05:00
James Seibel 0ddd68b6e6 Refactor worldGeneratorQueue thread and comments 2023-03-15 22:25:34 -05:00
James Seibel a9583a6227 Make world gen task queuing async 2023-03-14 22:12:06 -05:00
James Seibel 2020cae17a fix halfSize being the same for every detail level
This may not set the halfSize to the right value, but it is better than having a value of "10" for everything like before
2023-03-14 22:03:30 -05:00
James Seibel af3916b089 refactoring 2023-03-14 21:43:31 -05:00
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