Commit Graph

1034 Commits

Author SHA1 Message Date
James Seibel 7ea614f257 reformat render source files 2023-01-13 07:09:16 -06:00
James Seibel 723a5f8281 rename RenderBuffer -> AbstractRenderBuffer 2023-01-10 21:47:11 -06:00
James Seibel 98fde3de74 Update the Readme 2023-01-08 20:12:56 -06:00
James Seibel 9b7dfa81da Remove unused methods from EVerticalQuality and DetailDistanceUtil 2023-01-02 13:40:25 -06:00
James Seibel 1a761aad4c Delete the deprecated LevelPosUtil (use DhLodPos or DhSectionPos instead) 2023-01-02 11:18:10 -06:00
James Seibel 9e3f729c8f Replace LevelPosUtil.convert() with DhLodPos.convertToDetailLevel() 2023-01-02 11:13:31 -06:00
James Seibel 7311664acd comment MetaData 2022-12-25 21:45:46 -06:00
James Seibel b02a2d0008 rename MetaDataFile -> AbstractMetaDataFile 2022-12-25 21:42:27 -06:00
James Seibel e26ac63dff Refactor MetaData and MetaDataFile 2022-12-25 21:42:00 -06:00
James Seibel b96622f1cd refactor the AbstractSaveStructure classes 2022-12-17 16:22:21 -06:00
James Seibel 763476e648 Move level (subDim) matching into its own package 2022-12-17 09:48:06 -06:00
James Seibel c0c4cf8b56 Partially update LevelToFileMatcher (File reading incomplete) 2022-12-17 09:44:14 -06:00
James Seibel 575bd5b1e6 Minor refactors for LevelToFileMatcher and PlayerData 2022-12-11 21:32:33 -06:00
James Seibel 38a8c73311 Minor MetaFile reformatting 2022-12-11 17:28:07 -06:00
James Seibel c3c170d07a Add the generatorMode to IDhApiWorldGenerator.generate() 2022-12-10 22:08:16 -06:00
James Seibel 0ab0aeeec6 rename EDistanceGenerationMode -> EDhApiDistantGeneratorMode
This includes moving it into the API and renaming NONE -> PRE_EXISTING_ONLY
2022-12-10 22:07:54 -06:00
James Seibel bf698ad7b9 Make IDhApiEventInjector extend IDependencyInjector<IDhApiEvent>
Some methods were missing when using the API
2022-12-10 21:05:51 -06:00
James Seibel d792031c57 Use bound API World Generators 2022-12-10 11:17:50 -06:00
James Seibel eff161fb24 Remove IWorldGenerator (everything is handled in IDhApiWorldGen) 2022-12-10 09:34:19 -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 581515efc4 Add EDhApiDetailLevel as a reference on DH detail levels 2022-12-05 22:08:01 -06:00
James Seibel 79441b0bdd Remove LodUtil.CEILED_DIMENSION_MAX_RENDER_DISTANCE
Reasoning: The value isn't in use anywhere, we shouldn't be setting a max value anyway since people can get on dimension roofs anyway, and it would be better to allow per-dimension values instead
2022-12-05 22:07:28 -06:00
James Seibel 24260a057a Prep the IChunkGenerator/BatchGenerator for using the API 2022-12-03 19:45:44 -06:00
coolGi 6fd47f360c Fix to issue 446. (special characters in folder name causes crash) 2022-12-01 21:32:37 +10:30
James Seibel be28ed8319 Separate inner classes and refactor world generator code 2022-11-25 17:11:54 -06:00
James Seibel 007e993148 reformat chunk generator code 2022-11-25 15:58:53 -06:00
James Seibel eb0bb8a67d Add a few missing comments to DhLoggerBuilder 2022-11-25 15:57:41 -06:00
James Seibel 00c7f7adaf Minor WorldGeneratorInjector refactoring 2022-11-25 10:08:47 -06:00
James Seibel 0a806c1218 Minor refactoring and Event Test fixes 2022-11-25 09:51:59 -06:00
James Seibel d6a83c8b61 Fix event related null pointer issues 2022-11-24 23:09:00 -06:00
James Seibel 0647d212d6 Fix Event tests not failing correctly 2022-11-24 22:32:37 -06:00
James Seibel 840b02c2db reformat DependencyInjector and ApiEventInjector 2022-11-24 22:32:12 -06:00
James Seibel 2b1837e812 Move Optifine code out of ReflectionHandler and into AbstractOptifineAccessor 2022-11-24 19:09:52 -06:00
James Seibel 4a7af41397 Put delayed objects in DhApiMain into a Delayed class
also improve a few comments
2022-11-24 18:24:13 -06:00
James Seibel aad3a5d2a3 rename DhApiResult.errorMessage -> message 2022-11-24 18:11:16 -06:00
James Seibel 0f06fedb95 rename DhApiEventInjector -> ApiEventInjector
This renaming was because the injector isn't designed to be used from the API, only internally; and externally available objects all start with "DhApi"
2022-11-24 18:05:07 -06:00
James Seibel 6ca2da3f7f Add one time API events (IE setup events)
This allows users to bind to setup events after they've happened and still have the event fire. This is useful for setup since mod load order isn't defined.
2022-11-21 19:26:14 -06:00
James Seibel 1b5a10591b Add IDhApiWorldProxy 2022-11-20 20:39:52 -06:00
James Seibel a935c648e2 un-deprecate McClientWrapper.getWrappedClientWorld()
This was originally done due to splitting up the code into server and client, however this object is just for the client so it shouldn't be an issue.
2022-11-20 20:27:04 -06:00
James Seibel 2ce8692d84 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2022-11-19 19:06:46 -06:00
James Seibel 0249894386 Add raycasting methods to IDhApiTerrainDataRepo 2022-11-19 18:59:55 -06:00
James Seibel c2d8e16bc0 remove API debug code from ClientApi 2022-11-19 17:03:31 -06:00
James Seibel e6c833a643 Add raycasting to DhApiTerrainDataRepo 2022-11-19 17:02:26 -06:00
James Seibel 1e235f0cd6 Add DhApiVec3i and DhApiRaycastResult objects 2022-11-19 17:02:04 -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
coolGi b64fdf214e Added the ChangelogScreen. New changelog screen done 2022-11-18 19:12:25 +10:30
coolGi 77519bde9d Updated updater screen (thanks a lot to Pankakes#0686) 2022-11-17 21:44:43 +10:30
James Seibel 103a03c90f partially functional raycasting 2022-11-16 22:35:56 -06:00