Commit Graph

39 Commits

Author SHA1 Message Date
dfsek
2b6e8eb67c Dependency injection moment 2020-12-08 20:35:18 -07:00
dfsek
c9b2c83dc4 Fix structure location issue. 2020-12-06 01:45:43 -07:00
dfsek
4c80a71bca Fix carving issues 2020-12-05 17:53:16 -07:00
dfsek
5b17d87a97 Carving is now very much optimized 2020-12-05 16:11:56 -07:00
dfsek
0e4df43ddb carvers go brrrrrrr 2020-12-05 15:59:48 -07:00
dfsek
3d7796d8c3 carver speedup finalization 2020-12-05 03:19:39 -07:00
dfsek
4e647620f0 speed up carving even more 2020-12-05 02:56:58 -07:00
dfsek
5754a95f48 Add seed variable to carver 2020-12-04 13:54:14 -07:00
dfsek
7db83c1dee Bump tectonic version 2020-12-02 15:29:07 -07:00
dfsek
496cd486b1 Carver go brrrr 2020-12-02 01:57:52 -07:00
dfsek
034f1072bf Carvers stop upon entering biome they arent present in. 2020-12-02 00:21:53 -07:00
dfsek
7fe2fa493e Prevent carvers crossing biomes 2020-11-29 20:08:04 -07:00
dfsek
6eb5c0e0ec Equation-defined cave radii 2020-11-28 18:56:02 -07:00
dfsek
af6ba33921 carvers 2020-11-27 15:40:14 -07:00
dfsek
f364420007 Actually gets to world gen now B) 2020-11-27 02:08:25 -07:00
dfsek
59141f99bd That's quite the commit you got there 2020-11-26 19:07:43 -07:00
dfsek
e43d814169 Minor optimizations 2020-11-20 20:22:37 -07:00
Bud Gidiere
75a04f7d8f Lots O Stuff 2020-11-20 16:43:24 -06:00
Bud Gidiere
bb4ecee1f8 Use XoRoShiRo128PlusPlusRandom instead of XoRoShiRo128PlusRandom 2020-11-19 17:38:45 -06:00
Bud Gidiere
094b421f97 Use Faster XoRoShiRo128PlusRandom
XoRoShiRo128PlusRandom is a Faster Random Class that is many times faster than standard Java Random. It also features better random distribution and the ability to be split and retain the exact same noise output like Splitable random.

http://dsiutils.di.unimi.it/docs/it/unimi/dsi/util/XoRoShiRo128PlusRandom.html
2020-11-19 17:23:08 -06:00
Bud Gidiere
0a77487399 Replace Math with FastMath for improved performance.
FastMath is a drop in replacement for the native Java math class with improved performance and fall backs to the native Java math class if necessary.

https://commons.apache.org/proper/commons-math/javadocs/api-3.3/org/apache/commons/math3/util/FastMath.html

This requires further testing and might cause chunk borders due the FastMath giving slightly different results than the native Java math class.

I also added .idea/Terra.iml to the .gitignore
2020-11-18 17:23:09 -06:00
dfsek
e9e9417410 Make caves not suck anymore 2020-11-10 15:22:52 -07:00
dfsek
4f40550465 Reformat & add .editorconfig 2020-11-06 15:21:42 -07:00
dfsek
224dfbe638 Clean up imports 2020-10-26 10:58:28 -07:00
dfsek
277fbccc07 Config refactoring, work on caverns, multi-level tree gen 2020-10-04 21:14:58 -07:00
dfsek
65d50d7def Begin work on config cleanup 2020-10-03 02:05:48 -07:00
dfsek
6f11222a88 Completely redo config 2020-10-01 16:31:48 -07:00
dfsek
d239358afe Only use RandomPalette if palette contains multiple materials. 2020-10-01 00:39:18 -07:00
dfsek
0f29a506d0 Performance improvements 2020-09-30 21:18:30 -07:00
dfsek
ca5accafa2 Allow multi-level Flora, use ID hash for cave checking 2020-09-29 11:23:01 -07:00
dfsek
cfbd6533dd Add advanced biome blending 2020-09-27 16:11:36 -07:00
dfsek
81d607b900 Begin work on serialization, improve structure performance. 2020-09-27 01:36:06 -07:00
dfsek
f727e9d297 Implement additional cave config 2020-09-25 02:04:55 -07:00
dfsek
b5efa7cd79 Fix various biome abstraction issues 2020-09-23 02:47:43 -07:00
dfsek
44f302b564 Implement new Palette types 2020-09-20 22:59:50 -07:00
dfsek
2424b907be Abstracted parts of config loading 2020-09-20 14:39:53 -07:00
dfsek
f53e9d5112 Add block shifting to caves 2020-09-19 22:14:00 -07:00
dfsek
9fb70ccbb3 Add more configurability to caves. 2020-09-19 03:26:21 -07:00
dfsek
886999c97a Properly implement configurable caves 2020-09-18 02:03:14 -07:00