Commit Graph

774 Commits

Author SHA1 Message Date
coolGi 1c2a4a43d0 Merge remote-tracking branch 'origin/main' 2022-07-18 15:16:30 +09:30
coolGi adc51bab9a Added runnable and performance impact to the config 2022-07-18 15:16:22 +09:30
James Seibel dc466e61d1 Add DhApi Client/Server Save events (and fix other events) 2022-07-17 20:48:28 -05:00
James Seibel 02157d52f6 Add DhApi level load/unload objects 2022-07-17 20:40:31 -05:00
James Seibel 299a7c67f0 Rename DhApi event Parameter objects 2022-07-17 20:33:50 -05:00
James Seibel 484c95e26a Make event parameter objects internal classes 2022-07-17 20:29:29 -05:00
James Seibel 45f7ca2954 Add DhApi Before/After Init Event objects 2022-07-17 20:15:07 -05:00
James Seibel a7c3f9ec20 Add DhApi Before/After Render Event objects 2022-07-17 20:09:14 -05:00
James Seibel c7e4781a95 Add unit tests for the DependencyInjectors 2022-07-16 22:40:14 -05:00
James Seibel 9a8ed301cb Rename SingletonHandler -> SingletonInjector
This was done with all Dependency Injection objects because there was a name conflict with DhApi event handlers. (This new name is also more specific and makes sense for dependency injection).
2022-07-16 22:09:22 -05:00
James Seibel 8c0767523d Add DhApiEventHandler and hook up EventRegister
add supporting event interface objects
refactor api.implementaion.interfaces
2022-07-16 22:06:29 -05:00
James Seibel 88915ca92f Improve DependencyHandler for DhApiEventHandler support
Specifically dependencyHandler can now optionally store multiple implementations for each dependency interface.
2022-07-16 22:02:37 -05:00
James Seibel 207eded4b4 Improve anotherQuestion docker documentation 2022-07-16 20:48:14 -05:00
James Seibel c01fc2ed86 Remove DhApi worldGenerator unregister methods
Also fix capitalization for the register methods
2022-07-15 22:07:32 -05:00
James Seibel 3d19fec723 Revamp DependencyHandler
The dependency handlers are now singletons instead of static, this prevents almost all duplicate code as each handler can now extend the parent DependencyHandler.

Handlers no longer have to finish binding before being used, and they no longer have to call runDelayedSetup() before being used either. However dependencies that have circular references still need the runDelayedSetup() method to be called at somepoint; there will just be a warning if they are get() before that setup was done.
2022-07-15 21:58:48 -05:00
James Seibel 6b5c14cdd9 fix a typo 2022-07-15 07:17:12 -05:00
James Seibel 1bd3ce8809 Major API Package refactor 2022-07-14 22:15:07 -05:00
James Seibel e6937d010f Start setting up the DhApi world generator overriding 2022-07-14 21:54:06 -05:00
James Seibel 51de4da845 Minor cosmetic/warning changes/fixes 2022-07-14 21:44:46 -05:00
James Seibel b1c6ff9588 Improve DhApi event handling names and organization 2022-07-14 07:48:46 -05:00
James Seibel 889e983cc5 Continue setting up the DhApi Rendering events 2022-07-13 22:06:52 -05:00
James Seibel 4f6433ee0f Improve IDhApi Render events 2022-07-13 21:24:11 -05:00
James Seibel e04f1d9dd5 Start adding a event API system 2022-07-13 07:54:34 -05:00
James Seibel 9673150fa1 Rename and add DhApi to a few classes 2022-07-13 07:30:22 -05:00
James Seibel 32747baadf Create the outline for the TerrainDataApi methods and objects 2022-07-11 22:14:14 -05:00
James Seibel 6629ec9dc0 Set up the API packages for data and overriding
data - getting/setting terrain data
overriding - overriding DH systems
2022-07-11 21:31:33 -05:00
James Seibel 9a91b8f306 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2022-07-11 20:56:37 -05:00
James Seibel 78fe3923e2 DhApi config refactoring 2022-07-11 20:56:34 -05:00
coolGi cca82fd67a Changed the design to the installer GUI 2022-07-11 16:06:29 +09:30
coolGi cd10fc013a Save commit 2022-07-10 23:34:05 +09:30
coolGi 7c6b4ef059 Merge remote-tracking branch 'origin/main' 2022-07-10 16:37:54 +09:30
coolGi 172a6d9239 Made version numbers more readable in jar 2022-07-10 16:37:42 +09:30
James Seibel ed312cb45e Add AnotherQuestion Docker setup instructions 2022-07-09 17:39:03 -05:00
coolGi d617d2b91d Added an auto installer (works with everything except when downloading from cursedforge cus it is being annoying) 2022-07-08 21:01:42 +09:30
James Seibel 027406ffca Fix a few misc DhApi's and comment World Gen DhApi 2022-07-05 21:49:35 -05:00
James Seibel 267da77a0a Update DhApi Threading comments 2022-07-05 21:35:18 -05:00
James Seibel e9c558eefe Improve/fix DhApi Multiplayer 2022-07-05 21:28:35 -05:00
James Seibel 9434275e51 Move some comments and improve DhApi Debugging 2022-07-05 21:23:42 -05:00
James Seibel cedffb03d8 Update the DhApi buffer comments and move one item
Geometry rebuild frequency is more of a graphic setting than a buffer setting.
2022-07-05 21:17:22 -05:00
James Seibel 2f9404e203 Improve the DhApi fog comments and add types 2022-07-05 21:12:32 -05:00
James Seibel f277121148 Add renderingEnabled to DhApi Graphics Config 2022-07-05 20:35:43 -05:00
James Seibel 5c6a511c42 Polish and fix DhApiGraphics
Add types to the generics
Add comments to the methods
Fix a incorrect type
2022-07-05 20:21:11 -05:00
James Seibel 890904cfe8 rename ERendererType -> ERendererMode
The enum didn't change what type of renderer was used, it just changed how the renderer was used (on/off/debug).
2022-07-04 23:01:23 -05:00
James Seibel c98ae392eb Clean up the headers for the API methods 2022-07-04 22:49:09 -05:00
James Seibel 6a6ab4bd78 add instructions to setup a docker runner 2022-07-04 22:09:18 -05:00
TomTheFurry ab7b97b29c Start nuking old files + work on FullData -> ColumnData logic 2022-07-04 00:18:00 +08:00
James Seibel 32fd3b6084 Add API Geometry Config 2022-07-02 22:42:17 -05:00
James Seibel e0947d3490 Add API Debug Config 2022-07-02 22:11:52 -05:00
James Seibel 0adf9b31cf Fix an incorrect API config generic type 2022-07-02 22:03:13 -05:00
James Seibel aabf087f55 Api threading config comments 2022-07-02 22:02:04 -05:00