Commit Graph

192 Commits

Author SHA1 Message Date
s809 ff8b1f24d0 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-12-20 23:18:57 +05:00
s809 a2cc1c2913 Revert "Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core"
This reverts commit 522a799516, reversing
changes made to 04e43ebec8.
2023-12-18 22:15:34 +05:00
James Seibel 7c678a4a41 Add DhApi.isDhThread() 2023-12-16 09:50:34 -06:00
James Seibel 2c154613a0 Add Config API methods getApiValue() and clearValue() 2023-12-07 07:13:37 -06:00
James Seibel 070b52da5e Up the api version number 1.0.0 -> 1.1.0 2023-12-06 07:49:38 -06:00
James Seibel 20452ceb76 change overdraw to a number config 2023-12-06 07:49:19 -06:00
James Seibel b999a321c7 up the version number 2.0.1-a -> 2.0.2-a 2023-12-03 19:13:06 -06:00
James Seibel f32e25f52f Remove "-dev" from the version number 2023-12-03 17:18:53 -06:00
coolGi f01001726a Bumped version number to 2.0.1-a-dev 2023-11-18 20:34:22 +10:30
James Seibel 3356af9cca re-add "-dev" to the version number
For future releases the version number should be changed immediately beforehand.
2023-11-16 19:09:23 -06:00
James Seibel 773f17ddfe Remove "-dev" from the version number 2023-11-16 18:54:29 -06:00
Steveplays28 ebc5f30863 feat: Add far and height fog to the fog config API 2023-11-07 20:23:07 +01:00
James Seibel 528499215a re-add CPU option I_PAID_FOR_THE_WHOLE_CPU 2023-11-01 21:13:38 -05:00
James Seibel 446c274094 Reduce CPU load when moving around the world
Should've made this multiple commits, but too late now

- Create ConfigThreadPool to remove duplicate thread setup/config code
- Move configurable thread pools into their own ThreadPools class
- Add a semaphore to limit how many LOD builder/lighting/bufferBuilder threads can be active at once
2023-10-29 15:04:32 -05:00
James Seibel 29fabe1849 Fix DH auto update jar deletion and add more logging 2023-10-17 21:42:54 -05:00
James Seibel 1e5a4d43f7 Have GLProxy attempt creating contexts with all supported GL versions 2023-10-13 21:56:06 -05:00
James Seibel 4c2c89de57 Add IDhApiRenderProxy for getting/setting framebuffers and textures 2023-10-13 19:58:03 -05:00
James Seibel c724c6211e Remove DhApiResult.createFail() to prevent empty error messages 2023-10-13 19:56:55 -05:00
coolGi 2bf997e882 Updater now works with spaces in file paths 2023-10-13 00:06:57 +10:30
James Seibel 229e042994 Re-add OpenGL debug config options, also remove debug LOD update configs 2023-10-10 20:40:45 -05:00
coolGi 05c523ffdf Set the update timeout from a minute to an hour 2023-10-10 22:56:49 +10:30
James Seibel 1a5bd288c8 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-10-07 18:50:59 -05:00
James Seibel 526f483bfb Move data source meta data from the compressed binary into DB columns 2023-10-07 16:10:16 -05:00
coolGi 417cf0a891 Used .renameTo instead of .canWrite to check if file is unlocked 2023-10-06 18:02:28 +10:30
coolGi 820683783b Changed name to DeleteOnUnlock 2023-10-06 17:24:31 +10:30
coolGi ffb1ce4355 Fixed (hopefully) updater on Windows 2023-10-06 17:23:14 +10:30
James Seibel 756af2bec4 save AbstractMetaDataRepo byte arrays to the database as binary 2023-10-05 19:10:42 -05:00
coolGi 2142799fab Added nightly to be auto-updated 2023-09-26 22:53:12 +09:30
James Seibel a61317aa57 Remove unhelpful GLProxy test configs 2023-09-23 11:53:44 -05:00
James Seibel 8a0e3a710c Add GL Context creation debug configs
In an attempt to fix Steam Deck crashing due to being unable to create the GL Context
2023-09-16 08:03:39 -05:00
James Seibel 269b763b73 Add DhSectionPos.getNumberOfLodSectionsWide() 2023-09-14 07:52:04 -05:00
James Seibel 36fc6aaea3 Reorganize SSAO config 2023-09-06 21:25:13 -05:00
James Seibel ea05ef3d3d Merge branch 'distant-horizons-core-ssao.improvements' 2023-09-06 17:54:20 -05:00
NULL511 1da2b3558e add sample count 2023-09-04 03:09:25 -04:00
NULL511 4cd6bc06f1 reset default ssao settings 2023-09-04 00:12:45 -04:00
NULL511 4f1f11e769 add debug ssao settings; improve vanilla matching 2023-09-03 23:33:30 -04:00
James Seibel 1af6e83086 Add missing licensing headers 2023-09-01 20:43:26 -05:00
James Seibel 7a0a217822 Update existing licensing headers 2023-09-01 07:44:15 -05:00
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