Commit Graph

1383 Commits

Author SHA1 Message Date
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 d64446ecda add thread config listeners 2023-06-05 09:10:33 -05:00
James Seibel 05d4e4bf61 fix config listener onValueSet and add ConfigChangeListener 2023-06-04 22:03:59 -05:00
James Seibel 4b29e96686 Revert "remove IConfigEntry.setWithoutSaving()"
This reverts commit d992bd05f4.
2023-06-04 21:45:21 -05:00
James Seibel a49a81be14 add thread config listener for FileHandler 2023-06-04 21:12:47 -05:00
James Seibel d992bd05f4 remove IConfigEntry.setWithoutSaving()
It wasn't implemented and was causing confusion since the listeners weren't being fired
2023-06-04 21:07:25 -05:00
James Seibel ed935f6a0f Add data transformer and file handler thread configs 2023-06-03 22:29:45 -05:00
James Seibel f58ac4b647 Attempt to fix world generator holes (take 2) 2023-06-03 21:36:43 -05:00
James Seibel dbfc434fa7 reduce batch generator max queue tasks 5 -> 3 2023-06-03 21:35:57 -05:00
James Seibel d16f763df0 reduce QuadTree warning to debug 2023-06-03 21:04:12 -05:00
coolGi e00d1c95e3 Added a comment to add DimensionWrapper (maybe to replace DimensionTypeWrapper) 2023-06-03 21:39:47 +09:30
James Seibel dc5086a29f Rename IChunkWrapper heightmap methods 2023-05-29 18:13:01 -05:00
James Seibel b46e85b542 Potentially fix duplicate world generator issue? 2023-05-29 13:19:43 -05:00
James Seibel 1dc3bc2889 LodQuadTree reloadPos out of bounds chnage 2023-05-29 12:51:43 -05:00
James Seibel 09eea400eb Full data source and WorldGen refactoring 2023-05-29 10:43:06 -05:00
James Seibel ea24d619e2 revert DataFileHandler and data transformer threads to 4 2023-05-28 18:07:07 -05:00
James Seibel 013a293052 Fix a crash when stopping the world generator 2023-05-27 12:28:59 -05:00
James Seibel 0cd04df689 Fix LodQuadTree not updating for low detail world gen 2023-05-27 10:30:29 -05:00
James Seibel 3d9f21df25 WorldGenQueue minor refactor 2023-05-27 09:29:37 -05:00
James Seibel f2ae458e7c columnRenderBufferBuilder reformatting 2023-05-27 09:28:51 -05:00
James Seibel 749491b520 drop the Transformer and File handler threads to 1 for testing 2023-05-22 07:49:25 -05:00
James Seibel 42fc173ae2 Fix crash if transparency is disabled 2023-05-22 07:18:08 -05:00
James Seibel c539a3f3be Improve how quickly world generation responds to changed location 2023-05-21 18:41:34 -05:00
James Seibel 041c2ad5d7 Fix quadTree unit tests failing 2023-05-21 17:47:37 -05:00
James Seibel 920ca5ec40 Add XZ compression for full and render data files
Any old files people may have will probably throw errors and need to be regenerated.
2023-05-21 17:35:33 -05:00
James Seibel 5986069eb9 comment out Compression Unit tests 2023-05-21 17:33:48 -05:00
coolGi 9eb0f18a52 Added changelog button to the config menu 2023-05-21 20:39:23 +09:30
James Seibel b38827a8de Add compression unit tests with results 2023-05-20 11:44:28 -05:00
James Seibel 7a723bdf14 rename the "cache" folder to "renderCache"
Just to make the folder's purpose a bit more obvious
2023-05-19 22:45:25 -05:00
James Seibel 7444670189 Fix exceptions when leaving a loading world 2023-05-19 22:41:49 -05:00
James Seibel f22be2b42c add commented out debug code for ColumnRenderBufferBuilder 2023-05-19 07:31:32 -05:00
James Seibel 762e099bf1 add an incomplete quadTree test 2023-05-19 07:31:16 -05:00
James Seibel 562b0a8da2 Fix worldGenQueue outOfBoundExceptions when moving quickly
Not a perfect solution, long term a fix should be done in the tree, but that can be done another time
2023-05-19 07:20:18 -05:00
James Seibel 95db633e09 update unit tests for QuadTree refactoring 2023-05-18 22:07:02 -05:00
James Seibel 6a6ea845ea QuadTree refactoring 2023-05-18 22:06:00 -05:00
James Seibel f8df9cd4e2 remove duplicate log filtering for ServerAPI 2023-05-18 21:58:55 -05:00
James Seibel 428a0cd10b Fix level F3 loggers not being removed 2023-05-18 07:56:17 -05:00
James Seibel aee6c84dae Fix transparent wall edge cases
Specifically transparent walls being rendered in oceans, and transparent walls incorrectly allowing users to see the void
2023-05-16 21:13:55 -05:00
James Seibel 98e55bb1a3 Fix RenderSource Building ignoring adjacent sections
The sections were never being passed in, only the initial section
2023-05-16 20:03:23 -05:00
James Seibel a3f2cdc72f fix minor ColumnBox equality 2023-05-16 07:56:11 -05:00
James Seibel 824a8f835c Fix seeing void through height map oceans 2023-05-16 07:55:24 -05:00
James Seibel b4eda2fc46 Add ColumnBox comments 2023-05-16 07:30:54 -05:00
James Seibel 3a80639538 Only limit greedy meshing size when earth curvature is enabled 2023-05-16 07:11:45 -05:00
James Seibel 84727148a8 add HeightMap EVerticalQuality 2023-05-15 18:28:34 -05:00
James Seibel 537f7164c7 Fix transparent LODs over the void 2023-05-15 18:28:14 -05:00
James Seibel 3bed312499 minor EVerticalQuality refactor 2023-05-15 18:24:46 -05:00
James Seibel ea76c29c23 ColorUtil add setter methods 2023-05-15 07:11:27 -05:00
James Seibel a2f0ff89ac cubicLodTemplate refactor 2023-05-15 07:04:36 -05:00
James Seibel 123c259831 Log updateQuadTreeRenderSources errors 2023-05-15 07:02:25 -05:00
James Seibel a7e64e7188 Fix null pointer when transparency is disabled 2023-05-13 15:36:36 -05:00