Commit Graph

32 Commits

Author SHA1 Message Date
Cubitect
e61f90580c Renamed MC_1_21_2 to MC_1_21_3 2024-11-10 13:21:31 +01:00
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
6d1a190fe6 Tweaked pale parden color for better contrast (similar to chunkbase) 2024-10-14 21:49:56 +02: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
d68faefd65 Support for 1.21 + trial chambers + end surface height
* much faster surface height generation for the end dimension
* added 1.21 to versions
* added trial chambers
* renamed trail_ruin to trail_ruins to match its id string
2024-06-02 22:12:34 +02:00
Cubitect
8619ba07d7 Refactored color definitions 2023-11-05 12:41:54 +01:00
Cubitect
f81c2e4fde Added struct2str 2023-06-25 21:33:52 +02:00
Cubitect
119f3e7d76 some fixes + 1.20 snapshot
* added 1.20 biome generation
* added nptree scripts to docu
* fixed stronghold biomes for pre-1.13 (#92)
* fixed wrong ID for non-generating biome in 1.9 - 1.10 (MC-98995)
* fixed incorrect buffer requirements for non-overworld voronoi
* slightly improved accuracy of scaled biomes for beta 1.7
* renamed enums for spline noise parameters (#95)
* removed redundant enum for 1.19.3 for now (use MC_1_19 instead)
2023-02-18 11:27:49 +01:00
Cubitect
01653265ff Remap biome IDs for beta 1.7 + color tweak 2023-02-05 01:27:43 +01:00
Cubitect
7496e316a0 Octave specific biome noise initialization + use new IDs for beta + removed VLA 2023-02-04 18:09:05 +01:00
KaiSandstrom
0152f212e8
Merge branch 'Cubitect:master' into master 2023-01-22 20:26:08 -05:00
Cubitect
1b5b73f9ad another version string issue 2023-01-22 14:16:10 +01:00
Cubitect
eecaa764e9 add missing version string 2023-01-22 14:11:39 +01:00
Cubitect
bdec4f5ce8 1.19.2 vs 1.19.3
1) add support for 1.19.2 along side 1.19.3
2) get approx stronghold positions in 1.19.3 without biome check
2023-01-22 14:01:56 +01:00
Kai Sandstrom
3bfdd1d056 Add Beta 1.7 and its unique biomes to enums, util
(layers.h)
- Add MC_B1_7 to MCVersion enum
- Add name mappings for B1.7 biomes to BiomeID enum

(util.c)
- Add Beta 1.7 to mc2str and str2mc functions
- Add name mappings for B1.7 biomes to biome2str function
2023-01-19 15:13:58 -05:00
Cubitect
03895e6c22 Refactored some of the MC version checks paving the way for distinct minor versions. 2023-01-16 20:47:12 +01:00
Kai Sandstrom
fffa4d78a5 update mc2str and str2mc functions 2023-01-09 11:59:29 -05: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
Alex Chew
629e68cabf
fix: correct write count in savePPM
Previously, the `fwrite` call always returned 3 if it succeeded, and so `savePPM` would return 1 even if the entire pixel buffer was successfully written to file (except in the trivial case `sx * sy == 1`). This changes `savePPM` to return 0 if it was successful.
2022-07-17 11:09:29 -07:00
Cubitect
270ed5162b Use ';' for comments in biome colormaps 2022-04-23 22:42:11 +02:00
Cubitect
0933804f15 Added 1.19 deep_dark and mangrove_swamp biomes + ancient_city structures 2022-04-20 13:23:15 +02:00
Cubitect
a1b582201f Fixed locale dependent biome color parser 2022-01-30 19:25:42 +01:00
Cubitect
d81832c670 Fix decimal parser skipping first digit 2021-12-08 20:02:42 +01:00
Cubitect
fa3ed2af59 Added biome color parser + color tweaks + fix for ocean filter
* added version dependent biome names
* added parser for custom biome color override
* tweaked biome colors for a slightly better contrast in 1.18
* fixed oceans getting ignored by biome filter for 1.18
2021-12-04 22:22:00 +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
b94c12e982 Fixed generation for MC 1.0 2021-07-23 19:56:59 +02:00
Cubitect
bfbd421ef5 Added end gateways and nether ruined portals 2021-07-03 09:50:05 +02:00
Cubitect
a4a422686e 1.17 + spelling + nether & end + fortresses
1) use americal spelling for color
2) added 1.17 biomes
3) added scaled generators for nether and end
4) made fortress finders functional
2021-06-06 17:00:35 +02:00
Cubitect
ea1fad8fef Major update to biome generation including several fixes
1) fixed biome generation for 1.9, 1.10 and 1.16
2) added biome generator support for 1.6
3) added test cases for 1x1 biome generation across versions
5) removed global biome table and initBiomes() is now redundent
4) map layer functions can now depend on version
6) exclused bamboo_jungle from stronghold biomes in 1.16 (MC-199298)
7) added area and volume generation for 1.16 nether
2021-04-18 19:50:08 +02: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
8fa78be25b Made compatible with g++ and clang compilers + better docu for getting started. 2020-03-15 16:06:58 +01:00