31 Commits

Author SHA1 Message Date
Cubitect
89df24c3be Update spawn algorithm for 1.21.2 + cmake + more
* added basic support for cmake (#127)
* renamed Winter Drop version from MC_1_21_3 to MC_1_21_WD
* updated world spawn location for 1.21.2 (cubiomes-viewer #340)
* tweaked mc version to text conversion (#128)
* removed properties field in structure config and added dimension field instead
* moved biome tree selection back to biomenoise.c as it's slightly faster and avoids globals
2024-11-09 21:08:05 +01:00
Cubitect
e49c8c561b Added Pale Garden biome and Small End Islands
* added pale_garden biome with 1.21.3 (version TBA)
* added small end islands and better end surface generation (#117)
* added linked end gateway finder (#117)
* fixed inaccurate End generation at large distances from 0,0
* fixed incorrect biome in outer end rings
* fixed incorrect biome area size (#122)
2024-10-07 13:20:00 +02:00
Cubitect
c3ff21a1a8 Added biome proportion checker using the Monte Carlo method 2024-01-07 11:07:53 +01:00
Cubitect
58515533de Biome noise refactoring and fix for outposts
* moved biomenoise from layers.h into its own object
* moved biome tree data into separate header files for each version
* added global for the biome tree data to make runtime providers possible
* fixed outpost not generating in cherry_grove
2023-10-16 22:26:37 +02:00
Cubitect
df68a258d3 Fixed fortress generation finding incorrect end pieces (#103) 2023-10-11 18:27:10 +02:00
Cubitect
f81c2e4fde Added struct2str 2023-06-25 21:33:52 +02:00
Cubitect
5aa7e86bb6 wells, geodes and trails
1) added support for desert wells
2) added support for amethyst geodes
3) added support for trail ruins
4) temples can now generate rotated in 1.20
2023-05-19 13:25:54 +02:00
Cubitect
231ee62abe Performance improvements and separate climate min/max finders 2023-01-15 14:01:57 +01:00
Cubitect
73a2d212ca Fixes and file separation
1) fixed biome exclusion filter no longer working for 1.17-
2) fixed ruined portal variations
3) separted quad base code with threading and filesystem dependencies into its own source file
2022-08-21 00:01:04 +02:00
Cubitect
b2c433004d Fixed biome exclusion filter and struct bounding boxes (affects ancient_cities) 2022-08-01 19:19:16 +02:00
Cubitect
9bdc83b6ed Windows does not have CC default 2021-12-07 22:54:25 +01:00
Cubitect
546d3511d4 Approximation for biome filter + use default compiler in makefile 2021-12-07 22:11:56 +01:00
Cubitect
9166974ccf Major redesign and 1.18 biome generation.
Different versions, dimensions and variations are now bundled into a single Generator structure.
Areas (x,z,w,h) are largely replaced with a Range structure that supports 3D cuboids with scaling.
The scale now acts as a generalization that replaces layer access. Direct layer access will
have to be version specific, using the LayerStack.
(I.e. this update will unfortunately break much of the API.)
2021-11-18 23:13:44 +01:00
Cubitect
a9ef050076 Simplify seed to SHA-256 and remove external sha256 lib 2021-03-19 21:31:21 +01:00
Cubitect
3c806da958 Updated readme 2021-03-06 16:39:25 +01:00
Cubitect
c0b6005909 Nether generation + 1.15 voronoi + setWorldSeed -> setLayerSeed
1) added noise generators
2) added initial support for nether biome generation
3) added sha256 from Brad Conte for 1.15 voronoi zoom
4) ranamed setWorldSeed to setLayerSeed
2021-03-06 16:20:24 +01:00
Cubitect
93a0a9e356 Made native compilation its own target. 2021-01-05 10:48:29 +01:00
Cubitect
94ffb83018 Fixed directory status check for windows. 2020-11-18 19:28:44 +01:00
Cubitect
fc5a42180c Focus update towards library.
1) Update readme to include structure finders + removed outdated references to seed lists.

2) Removed example programs find_quadhuts.c and find_compactbiomes.c in favor of small examples inside readme.

3) Replaced search4QuadBases with a more general searchAll48. This does, however, redefine the format for quad bases.
2020-11-18 18:51:24 +01: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
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
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
a9705edfb8 Made compatible with g++ and clang compilers + better docu for getting started. 2020-03-15 16:09:06 +01:00
Cubitect
f3243ca3fc Removed POSIX dependence. 2018-08-01 17:51:17 +02:00
Cubitect
a2904fbcd5 Reworked structures for 1.13 2018-07-04 16:18:21 +01:00
Cubitect
bcb58c935f Added missing call to previous layer in SIMD Zoom 2018-04-25 00:36:45 +01:00
jewe37
e6e9487d9e Using SIMD instructions in mapZoom 2018-04-21 22:29:42 +02:00
Cubitect
67a06fb38f fixed make 2018-03-05 21:35:13 +00:00
Cubitect
89674d0317 revamped everything 2018-03-05 21:20:54 +00:00