James Seibel
08f78c22f0
Move SSAO gInvProj to the CPU instead of GPU
...
Also make Mat4f.invert() return void instead of boolean to prevent confusion about trying to pass the result into shader uniforms.
2023-08-31 21:06:41 -05:00
James Seibel
4439983ace
Fix some api:javadoc warnings and suppress future ones
...
I don't like suppressing warnings, but in this case they want the javadocs to be a bit more verbose then necessary.
2023-08-26 17:32:39 -05:00
James Seibel
0978f4a4d8
Fix API javadoc compiling
2023-08-26 15:29:44 -05:00
James Seibel
2cd2941cbe
Add IDhApiConfigValue.addChangeListener()
2023-08-26 13:11:16 -05:00
James Seibel
2cb1e32817
Minor DhApi rename and comment cleanup
2023-08-26 12:04:00 -05:00
James Seibel
c6ee61777c
Add a ReadMe to DhApi
...
Hey You. You're finally awake...
2023-08-26 11:19:49 -05:00
James Seibel
7a3f63040d
Remove unused IDhApiConfigValue.getApiValue()
2023-08-26 10:56:31 -05:00
James Seibel
9e43076853
Add OpenGL error log config
2023-08-26 08:51:20 -05:00
James Seibel
e62ddc302b
Require a ILevelWrapper when deserializing BlockStateWrappers
2023-08-24 20:05:54 -05:00
James Seibel
ef21987817
remove unimplemented world generator modes
...
specifically: BIOME_ONLY, BIOME_ONLY_SIMULATE_HEIGHT, and FULL
2023-08-18 15:55:32 -05:00
James Seibel
3db7ffeb01
Remove world gen lighting engine config
2023-08-18 11:19:45 -05:00
James Seibel
7aa432951c
Add Javadoc "since API 1.0.0" to API methods and objects
2023-08-16 07:42:12 -05:00
James Seibel
468c8b134c
Remove unused EDhApiWorldGenThreadMode
2023-08-16 07:42:01 -05:00
James Seibel
8489003e0c
Apply editorconfig auto formatting
2023-08-14 21:16:08 -05:00
coolGi
42f45f05c3
Merge remote-tracking branch 'origin/main'
2023-08-05 15:04:37 +09:30
James Seibel
622a1633fa
Add config for Lod Shading so Old Lighting can be enabled for shaders
2023-08-01 20:11:21 -05:00
James Seibel
61c8288b99
Remove thread preset "paid for whole cpu" and tweak CPU preset options
2023-08-01 07:27:25 -05:00
James Seibel
9be69863ae
Improve networked multiverse support
...
Also change "WorldChanged" -> "LevelChanged"
2023-07-29 09:04:02 -05:00
coolGi
c8e6a56467
Changed noiseDropoff to an int, and changed the order of noise and fog
2023-07-21 19:51:15 +09:30
coolGi
24b32ad6c9
Slight changes to the api fabric.mod.json to make it look like a library in modmenu
2023-07-17 01:32:38 +09:30
James Seibel
581ac02472
remove unused imports
2023-07-08 11:32:44 -05:00
James Seibel
f07973a1ce
Refactor, remove unused class, add API docs
2023-07-04 15:41:08 -05:00
James Seibel
2fc74914b4
Merge branch 'distant-horizons-core-serverSupport'
2023-07-04 13:39:49 -05:00
James Seibel
2b0ee29a8c
refactor and rename
2023-07-04 10:29:32 -05:00
James Seibel
b50c2cf9a9
Add missing API Config javadocs
2023-07-03 06:50:12 -05:00
Cailin Smith
44a66a3d93
Add ability for servers to communicate with the client to set the world.
...
This prevents the client from accidentally selected the wrong world
folder to load LODs from, since levels of the same dimension can't
naturally be distinguished from each other. With level similarity
detection, this can sometimes work, but in general is not reliable. This
mechanism instead allows servers to send a packet to the client on load,
enabling the override system, and then a second packet on world change,
which specifically sets the world key, based on knowledge that only the
server has, leading to a reliable way of detecting the correct world.
2023-07-02 21:44:54 +02:00
James Seibel
52edbd7c18
Update javadocs for API enums
...
and move one core enum out of the API
2023-06-30 07:46:00 -05:00
James Seibel
10b9161188
update DhApiWorldGen javadoc
2023-06-30 07:30:40 -05:00
James Seibel
77b8b973dc
Fix API fabric.mod.json crashing the game
2023-06-30 07:30:18 -05:00
James Seibel
77bc3bd3c2
add package-info files for api and coreapi package documentation
2023-06-29 20:56:14 -05:00
James Seibel
81ac90feb4
Add a build.gradle for API building with source files
2023-06-29 20:52:30 -05:00
James Seibel
48ef896e06
set the api version in ModInfo to 1.0.0 and add patch version to the API
2023-06-29 20:46:33 -05:00
James Seibel
7c9301745a
Fix a couple API javadoc compiler errors
2023-06-26 07:26:50 -05:00
James Seibel
1dad6fd83f
Overhaul Dh API event definition system
...
Whether an event is a one time event or a cancelable event is now defined via their interface.
Also replace DhApiLevelSaveEvent with DhApiChunkModifiedEvent
2023-06-23 23:07:41 -05:00
James Seibel
b0f9122599
DhApiTerrainDataRepo reformat
2023-06-22 19:49:43 -05:00
James Seibel
feb03efafa
Add AbstractDhApiChunkWorldGenerator
2023-06-22 07:56:43 -05:00
James Seibel
cf60322be6
Add a comment from leetom explaining granularity
2023-06-21 07:14:36 -05:00
James Seibel
a3c991d769
Remove unimplemented IDhApiWorldGen.getThreadingMode()
2023-06-21 07:03:28 -05:00
James Seibel
56e4454e41
Fix Api runtime error and add comments on how to fix in future
2023-06-20 20:55:06 -05:00
TomTheFurry
2f249c39d4
fixed and optimize a lot of stuff.
2023-06-20 15:47:52 +08:00
James Seibel
173e216fa3
Add (untested) DhApiTerrainDataRepo.overwriteChunkDataAsync()
2023-06-19 22:04:10 -05:00
James Seibel
e760c6a4e3
Add an API event for modified render and full data files
2023-06-19 21:41:42 -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
d335e10057
rename DhApiMain -> DhApi
2023-06-17 12:01:37 -05:00
James Seibel
6832d21a3b
config renaming and add new configs to DhApi
2023-06-14 21:32:10 -05:00
James Seibel
12d5d9e32b
Add an annotation to skip config enums
2023-06-12 20:24:49 -05:00
James Seibel
758ff8a527
rename config extendedNearClip -> overdrawPrevention
...
Also add a few new options for it
2023-06-11 22:16:40 -05:00
James Seibel
f785e75622
Fix BlockToAvoid and TintWithAvoidedBlocks
2023-06-11 21:24:34 -05:00
James Seibel
190a55e98b
Add threading config presets
2023-06-11 18:02:53 -05:00