Commit Graph

361 Commits

Author SHA1 Message Date
tom lee 1032f550ed Optimize some performance. Now less lag spikes and stuff
Also fixed the WorldGen Disable not working issue
2022-02-04 14:32:04 +08:00
tom lee ac32697204 Make the expend low RAM skip no longer skip the updates. 2022-02-04 00:31:45 +08:00
tom lee 95220d4fd7 Add failsafe for low RAM issue. 2022-02-04 00:11:53 +08:00
tom lee 068622895f BatchGen: Refactor the experGen into proper generator 2022-02-03 16:46:49 +08:00
coolGi2007 a0dd0d5aca Added some stuff to get ready for the new config 2022-02-03 03:41:54 +00:00
tom lee ca81ed1efe Solve most race issue around the move(), making world hole less likely 2022-02-02 15:55:16 +08:00
coolGi2007 35ab1ce47f Maybe fixed something? 2022-02-02 02:39:04 +00:00
James Seibel c5aeac5091 Remove the Seizure warning 2022-02-02 01:11:17 +00:00
tom lee 834cfe2e10 Add stack dump for threadFactory 2022-01-31 00:23:15 +08:00
tom lee 99ca5f6bc6 Fix crash on exit due to no shutdown for cutAndExpend thread
Also tweeked the values of vertQual on larger blocks to better support floating
islands.
2022-01-30 15:30:09 +08:00
tom lee 4bcb6c0acd Fixed bug on incorrect walls for overdraw prevention thingy 2022-01-27 14:07:09 +08:00
coolGi2007 4f63fbb14d Fixed issue 162 (renamed stuff) 2022-01-27 02:36:35 +00:00
cola98765 522a74e6e3 fixed mergeMultiData and lodBuilder with connected lods 2022-01-26 09:25:33 +01:00
cola98765 6ef789c087 removed /2 in merge multi data. now that we support a lot of connected lods it's needed 2022-01-26 09:07:00 +01:00
tom lee 410fe684ec Changed how blockUpdate works 2022-01-25 18:25:46 +08:00
tom lee 43feb2d7fe Forgot about GenPriority. Updated it + fixed now BALANCED mode issue 2022-01-25 17:08:01 +08:00
tom lee 7fa99ea070 WorldGen Config Overhaul + General cleanup 2022-01-25 16:26:34 +08:00
coolGi2007 bdd877abe8 Added FileComment 2022-01-25 04:54:53 +00:00
tom lee b2d5e18fe4 Raised distance limits to 8192. HYPER EXPERIMENTAL!!! 2022-01-24 23:36:40 +08:00
tom lee 880be5ed60 Fixed a NEAR_FIRST bug I introduced 2022-01-24 23:02:31 +08:00
tom lee 90440f3e06 Tweaked a bit around the FAR_FIRST gen stuff 2022-01-24 22:56:35 +08:00
tom lee c3abb9c46b Errr....
1. Make VerticalQuality overall is higher.
2. Rework how FAR_FIRST works.
3. Clean up some stuff.
2022-01-24 21:02:55 +08:00
tom lee ab3880a5e5 Trash ThreadMapUtil replaced by ThreadLocal. Trash an unused class 2022-01-23 23:15:08 +08:00
tom lee f939839941 Added Thread Priorities. Hopefully no more stealing TPS. 2022-01-23 21:19:08 +08:00
tom lee e9e2af2807 Add optimization on getPosToGenerate. 2022-01-23 19:09:09 +08:00
James Seibel a5a4a3e6e2 Set the default Generation Priority to NEAR_FIRST closes #160 2022-01-22 22:03:52 -06:00
tom lee 9e7703ac53 Fixed void chunks. Changed thread defaults. Added LagCatchers in render 2022-01-22 18:10:07 +08:00
tom lee 9580335692 Fixed Buffer leaks, cleanup Debug logging 2022-01-22 16:09:58 +08:00
tom lee 608dc443dc Removed using the slice() func, but haven't found the mem leaks 2022-01-21 23:55:40 +08:00
tom lee 14e72c68cb Added sub buffers. Greatly reducing fps stutters 2022-01-20 22:53:17 +08:00
tom lee dc0e48ae2a Renamed stuff so the underWaterFog also applies for other special fog 2022-01-20 21:54:10 +08:00
tom lee 0bfb47cc68 Fixed issue in FAR_FIRST where it can overlaod Ram resources 2022-01-20 20:02:55 +08:00
tom lee c69569c95f Fixed Critical Vanilla Save corrupt issue. Fixed? world gen not starting 2022-01-20 19:27:32 +08:00
tom lee 914a76297d New save structure. No more multi folders for Generation Mode
This also includes a converter that runs on "Joining World..." text. It
may stuck on that screen for a while, but it is indeed merging and
updating the old saves.

The old saves file after update is not deleted. Instead, the folders are
renamed so that you still have a way to recover old saves in case the
converter failed.
2022-01-19 23:28:56 +08:00
tom lee 22e47b9734 Reworked lodBuilder. Make it faster. 2022-01-19 18:59:55 +08:00
tom lee 930113a6f9 Add support for OptifineAccessor, and decrease light issue on forge 2022-01-19 13:50:53 +08:00
tom lee 6c77164a65 Fixed PosToGenerate issue 2022-01-18 22:34:23 +08:00
cola98765 546d60f1fc resolved warnings. part 3 2022-01-18 11:29:01 +01:00
cola98765 6b6d011cd5 resolved warnings. part 2 2022-01-18 11:00:07 +01:00
cola98765 7bf54d20c0 resolved warnings. now more carefully. 2022-01-18 10:38:31 +01:00
jas35484 bba7f34d46 Add the minor version number 1.6a -> 1.6.0a
Why do I always remember these things after I have done all of them?
2022-01-17 20:33:00 -06:00
jas35484 ade5500c6d I forgot CurseForge doesn't like a1.X.Y versioning, changed to 1.X.Ya 2022-01-17 20:29:31 -06:00
jas35484 a3bd2ed70b Increment the version from 'a1.5.4' to 'a1.6-pre' 2022-01-17 20:23:47 -06:00
cola98765 43304da80b small fix 2022-01-17 16:30:09 +01:00
cola98765 7d53da40ec Revert "resolved couple warnings. If it causes problems just revert it."
This reverts commit 4702aa7888.
2022-01-17 16:27:36 +01:00
cola98765 bd489a66c7 whatever... deprecation is too hard for me 2022-01-17 15:50:24 +01:00
tom lee a50ef74a5e Fixed a bug in posToGenerate and the buffer now reset on too far away 2022-01-17 22:03:35 +08:00
cola98765 4702aa7888 resolved couple warnings. If it causes problems just revert it. 2022-01-17 14:18:12 +01:00
cola98765 57a6483aec cleaned up code around connected lods. not sure if fixed anything, but it's working for me. 2022-01-17 12:43:18 +01:00
cola98765 31cb1ef401 cleaned up code around light 2022-01-17 10:53:36 +01:00