Commit Graph

1188 Commits

Author SHA1 Message Date
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
James Seibel 381d3fe216 Move shared Dh(Server)ClientLevel code into AbstractDhClientLevel
This fixes DhServerClientLevel's crashing
2023-02-25 21:31:18 -06:00
James Seibel 2376baf936 prevent potential null pointers in ServerApi 2023-02-25 21:29:56 -06:00
James Seibel be0ce75ceb refactor and prevent a potential null pointer in DhClientWorld 2023-02-25 21:27:35 -06:00
James Seibel ea41fbc664 make DhClientServerLevel extends DhClientLevel 2023-02-25 17:17:27 -06:00
James Seibel 5579b1dc95 equalize DhClientLevel and DhClientServerLevel 2023-02-25 15:43:20 -06:00
James Seibel 8d5926fb2d Add very rough client World support 2023-02-25 15:29:40 -06:00
James Seibel 03752509e7 improve ClientApi logging 2023-02-25 15:28:38 -06:00
James Seibel e7d16b2109 refactor DhClientServerWorld 2023-02-25 15:27:31 -06:00
James Seibel 54252d10f5 minor refactor 2023-02-25 14:29:22 -06:00
James Seibel 19d8306094 move DhClientServerLevel.RenderState into its own file 2023-02-25 10:58:03 -06:00
James Seibel 373b354b20 Add additional shutdown logging 2023-02-25 10:57:27 -06:00
James Seibel b9edf2ef93 Hard shutdown the world generator, don't wait 2023-02-25 10:22:45 -06:00
James Seibel b4ffd65fbc remove deprecated getServerFolderName() 2023-02-25 09:02:42 -06:00
James Seibel eaee05df3f Change the default multiplayer save mode to "name_only"
This is done to prevent issues with Realms
2023-02-25 08:56:40 -06:00
coolGi 7403657d83 Removed classifier's as they are no longer needed in gradle 18 2023-02-24 19:08:53 +10:30
coolGi 2a7e5ef9c9 Suppressed unchecked warning 2023-02-24 18:00:48 +10:30