Commit Graph

317 Commits

Author SHA1 Message Date
Cubitect
6a9c1397c5 Fixed Hills layer for pre-1.13 versions. 2020-09-21 13:12:04 +02:00
Cubitect
7f18801dac Target all should compile release. 2020-09-20 23:35:22 +02:00
Cubitect
3245111a17 Fixed Outpost validity check. 2020-09-20 23:29:48 +02:00
Cubitect
1236b91e63 Reworking structure finding.
1) Turned getStructurePos into a wrapper that deals with all structure types.
2) Major changes to accomodate for more sophisticated quad-base finders.
3) Classifying quad-bases according to certain properties which they fulfill.
4) Removed precompiled quad-base files, as they can be generated quickly now.
5) Removed tri-base finders (until there's a more accurate finder in future).
2020-08-21 00:34:07 +02:00
Cubitect
7dea686d31 Adjusted examples to reflect API changes. 2020-08-09 19:11:41 +02:00
Cubitect
6097e42ea6 Changes to API, fixes and performance improvments.
1) Layer functions now return an int and can terminate the generation.
2) This makes it possible to write much more accurate and faster biome finders.
3) The generator structure LayerStack is now stack allocatable and no longer requires a free.
4) Adjustments to make targets.
2020-08-09 18:52:58 +02:00
Cubitect
65de91ef26 Performace improvements, and removed SSE versions of mapZoom for now.
(When functional, SSE versions might go in a separate file in the future for cleaner maintainablility.)
2020-07-30 20:37:14 +02:00
Cubitect
ceec762598 Merge branch 'master' of https://github.com/Cubitect/cubiomes 2020-07-29 19:11:21 +02:00
Cubitect
7694d2df98 Fixed rectangular areas for Voronoi layer. 2020-07-29 19:08:19 +02:00
Cubitect
576746989a Mark util functions as extern C for linking. 2020-07-26 17:49:01 +02:00
Cubitect
7555852ba3 Merge branch 'master' of https://github.com/Cubitect/cubiomes 2020-07-25 18:25:58 +02:00
Cubitect
cf85da7159 Somewhat major changes to structure and layer functions.
1) Redone structure validation for 1.16 and for bug fixes.
2) Layer generation was reworked for performace.
2020-07-25 18:16:39 +02:00
Cubitect
b26f4eb1f7 Refactored layer functions for const Layers args + optimisations. 2020-07-23 22:42:38 +02:00
Cubitect
18f60f319f
Removing GPLv3 LICENSE.txt file.
No longer needed after re-licensing cubiomes under the MIT License (https://github.com/Cubitect/cubiomes/issues/34).
2020-06-26 20:18:23 +02:00
Cubitect
070b15e6e0
LICENSE change from GPLv3 to MIT License
We have decided (https://github.com/Cubitect/cubiomes/issues/34) to re-license cubiomes under the MIT License.
2020-06-26 20:14:46 +02:00
Cubitect
470a42968c
Merge pull request #29 from kbinani/large-biome
Added largeBiomes configuration support
2020-06-24 19:02:40 +02:00
kbinani
4b3bad03c2 cleanup: Separate setup functions 2020-05-05 19:49:06 +09:00
kbinani
94425f1a98 feat: Added "largeBiomes" arg to setupGenerator function 2020-05-05 19:42:24 +09:00
kbinani
de68b81008 feat: Enable largeBiomes configuration 2020-05-05 19:41:42 +09:00
Cubitect
9d94271c48
Merge pull request #28 from kbinani/fix-feature-biome
Fix biome checks for Jungle_Pyramid, Shipwreck, and Outpost
2020-05-04 22:05:18 +02:00
kbinani
033148ff21 Fix merge mistake 2020-05-04 17:49:54 +09:00
kbinani
189e53fd54 Fix biome for Jungle_Pyramid, Shipwreck, and Outpost 2020-05-04 17:36:00 +09:00
Cubitect
bdceb725c0 Updated biome colors. 2020-05-02 13:39:22 +02:00
Cubitect
0004585edf Emulation of biome quality bug is no longer needed in 1.13+ & fixed mapHills113 2020-04-30 20:59:15 +02:00
Cubitect
d147f43ba2 Preparation for a simple structure search. 2020-04-22 23:19:26 +02:00
Cubitect
e3d56411da
Merge pull request #25 from kbinani/remove-long
Fix nextInt for `sizeof(long) != 8` compilers
2020-04-22 22:15:10 +02:00
Cubitect
a2cec7fbba 1.16 and Ruined Portals. 2020-04-22 21:50:44 +02:00
kbinani
801ab62b2b Use int64_t instead of long 2020-04-05 20:59:51 +09:00
Cubitect
0186b530de Merge branch 'master' of https://github.com/Cubitect/cubiomes 2020-03-15 16:57:17 +01:00
Cubitect
f9598249a6 Better C conformance. 2020-03-15 16:56:16 +01:00
Cubitect
b44490d31a
Merge pull request #24 from Badel2/fix-biome-exists
Fix biomeExists when called with id > 0xff
2020-03-15 16:21:48 +01:00
Cubitect
a9705edfb8 Made compatible with g++ and clang compilers + better docu for getting started. 2020-03-15 16:09:06 +01:00
Cubitect
8fa78be25b Made compatible with g++ and clang compilers + better docu for getting started. 2020-03-15 16:06:58 +01:00
Badel2
9bc8df487c Fix biomeExists when called with id > 0xff 2019-11-09 15:20:59 +01:00
Cubitect
dc517ad2b5 Chunk checkers for treasure and mineshafts. 2019-05-07 23:22:50 +02:00
Cubitect
58e3043f7c Finished switching to the new biome names. 2019-05-07 19:38:29 +02:00
Cubitect
99d131ed8f Generalized generator + added 1.14 bamboo jungles. 2019-05-06 23:14:25 +02:00
Cubitect
26e97f8216 Merge branch 'master' of https://github.com/Cubitect/cubiomes 2019-05-04 14:19:47 +02:00
Cubitect
b626e1ef53 Added Pillager Outposts. 2019-05-04 14:19:35 +02:00
Cubitect
bf6ee5ff66
Merge pull request #19 from Earthcomputer/master
Bedrock Edition support
2019-05-03 18:14:44 +01:00
Cubitect
990ea35821 Fixed quad base search for large structures. 2019-05-03 18:45:36 +02:00
Earthcomputer
1231c12a6e Bedrock Edition support 2018-11-29 04:32:12 +00:00
Cubitect
49b2430255 Slightly better ocean type support. 2018-08-03 01:47:49 +02:00
Cubitect
984398de18 Changed finder to highest resolution. 2018-08-03 01:26:16 +02:00
Cubitect
551a1f5ac6 Fixed initialization of bitfields. 2018-08-03 01:24:42 +02:00
Cubitect
955e929292 Updated find_compactbiomes to use new experimental finder. 2018-08-03 01:22:23 +02:00
Cubitect
a877005e13 Stated development on a fast general biome finder. 2018-08-02 23:55:43 +02:00
Cubitect
f3243ca3fc Removed POSIX dependence. 2018-08-01 17:51:17 +02:00
Cubitect
5127be24a4 Finding village houses and estimating spawn. 2018-08-01 16:44:13 +02:00
Cubitect
ecd8809d89 First basic estimate for determining grass blocks for a better spawn approximation. 2018-07-29 15:12:52 +02:00