Commit Graph

52 Commits

Author SHA1 Message Date
James Seibel 581ac02472 remove unused imports 2023-07-08 11:32:44 -05:00
James Seibel feb03efafa Add AbstractDhApiChunkWorldGenerator 2023-06-22 07:56:43 -05:00
James Seibel a3c991d769 Remove unimplemented IDhApiWorldGen.getThreadingMode() 2023-06-21 07:03:28 -05:00
James Seibel 594f42a889 rename namespace lod -> distanthorizons 2023-06-17 17:45:21 -05:00
James Seibel fa8a62b8a9 rename IDhApiUnsafeWrapper method 2023-06-17 16:36:01 -05:00
James Seibel 8f6109768c Move the world gen thread pool into the WorldGenQueue
We want Core to handle the world gen threads, not the individual world generators.
2023-06-05 19:50:21 -05:00
James Seibel 09eea400eb Full data source and WorldGen refactoring 2023-05-29 10:43:06 -05:00
James Seibel 5986069eb9 comment out Compression Unit tests 2023-05-21 17:33:48 -05:00
James Seibel b38827a8de Add compression unit tests with results 2023-05-20 11:44:28 -05:00
James Seibel 762e099bf1 add an incomplete quadTree test 2023-05-19 07:31:16 -05:00
James Seibel 95db633e09 update unit tests for QuadTree refactoring 2023-05-18 22:07:02 -05:00
James Seibel 250ace6f28 rename lod.core.api -> lod.coreapi.api to file compiler issues 2023-05-02 07:33:22 -05:00
James Seibel 85a0e75786 Refactor QuadTree DoSquaresOverlap() and add UnitTest 2023-04-08 11:01:35 -05:00
James Seibel 3d13f6f46f Fix and update QuadTree/Node iterators 2023-04-03 21:18:25 -05:00
James Seibel 90295b7dcf Fix QuadNode.getDirectChildNodeIterator() 2023-04-02 21:31:17 -05:00
James Seibel d2a0057919 Replace consumer based QuadTree iteration with Iterators
This drastically improves debugging, because lambda consumers cause the stack trace to become messy very quickly.
2023-04-02 19:39:47 -05:00
James Seibel 3ffd4e9ff6 rename QuadNode .forEachDirectChildNode() 2023-03-25 18:44:09 -05:00
James Seibel 7b795af7b3 update the quadTree tests to support the dynamical detail tree 2023-03-25 11:45:04 -05:00
James Seibel 0b05ced5b9 Add QuadTree toString() and getChildCountAtPos() 2023-03-25 09:23:24 -05:00
James Seibel a985e1c542 Fix quadNode getChildByIndex inconsistent with DhSectionPos 2023-03-25 07:43:55 -05:00
James Seibel 8a32d7f84a Add the ability to limit how deep a quad tree can go 2023-03-23 21:04:27 -05:00
James Seibel cda265b07f Add SquareIntersectTest 2023-03-23 07:24:49 -05:00
James Seibel 57fec0f805 Fix QuadTree adjacent position issues 2023-03-23 07:13:09 -05:00
James Seibel 515ebb8c99 Fix QuadTree boundary issues and add tests 2023-03-20 20:12:27 -05:00
James Seibel 03acb159e0 separate a quadTree test 2023-03-20 19:55:12 -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 c3c170d07a Add the generatorMode to IDhApiWorldGenerator.generate() 2022-12-10 22:08:16 -06:00
James Seibel d792031c57 Use bound API World Generators 2022-12-10 11:17:50 -06:00
James Seibel 1489cb0bdb Rename IChunkGenerator -> IWorldGenerator 2022-12-08 21:36:03 -06:00
James Seibel 434abcf1ae Set up the world generator interface for use with the API 2022-12-08 21:32:19 -06:00
James Seibel 00c7f7adaf Minor WorldGeneratorInjector refactoring 2022-11-25 10:08:47 -06:00
James Seibel d3e293db2c Improve the raycasting tests and fix a few directional issues 2022-11-19 17:01:29 -06:00
James Seibel 6eb97f654c Add RayCastUtil and unit tests 2022-11-19 10:20:14 -06:00
James Seibel 52ed3c8733 Rearrange API packages 2022-09-16 23:41:57 -05:00
James Seibel f6a1901ef8 Move several Dependency Injectors into the API 2022-09-13 21:38:57 -05:00
James Seibel 4f1203b32c Flip API -> Core dependency to Core -> API
Very rough, a decent amount of the API isn't hooked up to anything.
2022-09-12 21:53:55 -05:00
TomTheFurry 3f23ef960b Reorganize all the classes and move them around to make more sense and be easier to navigate. Also removed/unwrapped the 'a7' temp package. 2022-09-12 22:43:06 +08:00
James Seibel 14b855ada6 Fix incorrect API tests (and move them to the API sub-project) 2022-09-11 22:25:22 -05:00
James Seibel 2328f44e3a Fix API injector tests 2022-09-08 21:31:36 -05:00
James Seibel b0b5007341 Fix API Event Injector tests 2022-09-08 21:04:54 -05:00
James Seibel 35b00165a2 Partially implement/uncomment worldGeneratorOverride 2022-09-08 20:51:49 -05:00
James Seibel 659c62d4b4 Move worldGen Api Enums into the API sub-project 2022-09-08 20:15:54 -05:00
James Seibel 09ceab5c70 Comment out API/API test code so we can get everything compiling 2022-09-07 07:37:07 -05:00
James Seibel 53ded97714 Move Core API items into the api.external.coreImplement package 2022-09-06 22:22:27 -05:00
James Seibel 75b23ee904 Move and update API Events to the API sub-project 2022-09-06 21:25:11 -05:00
James Seibel b5a05bfe21 Add CoreDhApiRenderParam and move DhApiRenderParam to the API Sub-project 2022-09-05 21:38:52 -05:00
James Seibel 7ee113ddff Replace the override priority enum with an int 2022-09-05 21:11:29 -05:00
James Seibel eaadd6fc71 Move API Interfaces into the API sub-project 2022-09-05 19:18:33 -05:00