229 Commits

Author SHA1 Message Date
MihailRis
7027bd6f28 add Players 2024-11-23 05:14:12 +03:00
MihailRis
404fa3d0e2 fix msvc build 2024-11-22 16:28:53 +03:00
MihailRis
bd2acd5766 refactor players 2024-11-22 16:17:13 +03:00
MihailRis
9e02f1122f add BlockWrapsRenderer (WIP) 2024-11-20 14:42:53 +03:00
MihailRis
e70d30b9a2 feat: auto patch invalid inventory id pre 0.25 2024-11-19 12:18:59 +03:00
MihailRis
371fdaedce fix World::nextInventoryId 2024-11-19 12:04:56 +03:00
MihailRis
c4170c07c5 refactor 2024-11-14 09:30:41 +03:00
MihailRis
c29db60fa4 Merge branch 'main' into text3d 2024-11-13 01:14:19 +03:00
MihailRis
4b0b643342 add 'lowering' generated structures property 2024-11-13 01:10:52 +03:00
MihailRis
c5ca9128e9 move getVoxels from ChunksStorage to Chunks 2024-11-11 22:30:42 +03:00
MihailRis
a78315b39c update blocks.fill and fragment.save commands 2024-10-28 21:05:30 +03:00
MihailRis
7819a5cd68 add fragment:place & add 'fragment.place' command 2024-10-28 10:03:08 +03:00
MihailRis
d8c3940451 add 'heights-interpolation', 'biomes-interpolation' 2024-10-28 09:22:02 +03:00
MihailRis
2b057a0977 fix: core:struct_air is being replaced with plants 2024-10-24 13:27:32 +03:00
MihailRis
eb400e68ca add more new world info to logger messages 2024-10-23 15:08:26 +03:00
MihailRis
6b84fa82fc fix: non-air lines are not placed 2024-10-19 05:37:10 +03:00
MihailRis
7b0db7b660 update base:demo generator & update default bpd values 2024-10-18 15:26:32 +03:00
MihailRis
552740b87b add missing includes 2024-10-18 02:43:16 +03:00
MihailRis
faca68e6c3 replace argument 'seed' with global constant 'SEED' 2024-10-16 08:46:32 +03:00
MihailRis
59c4e26eda feat: heightmap-inputs 2024-10-16 00:38:58 +03:00
MihailRis
3146499433 fix fragment rotation bits & increase player spawn attempts number 2024-10-15 03:32:16 +03:00
MihailRis
48143c5a2b add fragment.crop, fragment:crop() & fix fragments rotation when width is not equal to depth & fix extra structures placements 2024-10-15 00:03:06 +03:00
MihailRis
44eedadc06 make world generator less pedantic in structures placement 2024-10-14 20:47:37 +03:00
MihailRis
fd2bd15658 update voxel fragments lua api & replace structure.save command with fragment.save & add 'export' entry point 2024-10-14 19:39:58 +03:00
MihailRis
04e490c896 add config/defaults.toml 2024-10-14 02:56:33 +03:00
MihailRis
de00414456 add generator 'caption' property 2024-10-13 22:53:12 +03:00
MihailRis
7c56d8fd7f replace biomes.json with biomes.toml & make it combined object 2024-10-13 21:50:39 +03:00
MihailRis
40612dd7da update doc-comments 2024-10-11 19:06:38 +03:00
MihailRis
b5c1050f43 add placements priority 2024-10-11 18:37:03 +03:00
MihailRis
50eb83ad9b add generator param 'wide-structs-chunks-radius' & make caves more interesting 2024-10-10 03:57:43 +03:00
MihailRis
a578cca325 add 'place_structures_wide' callback 2024-10-10 02:00:13 +03:00
MihailRis
b4578cfb87 fix caves issues & add block 'surface-replacement' property 2024-10-08 22:37:41 +03:00
MihailRis
c022e11c3b move test caves to base:demo 2024-10-08 20:14:38 +03:00
MihailRis
5966ca5617 refactor WorldGenerator 2024-10-08 16:57:24 +03:00
MihailRis
ba3ac11b41 optimize lines generation 2024-10-08 16:26:26 +03:00
MihailRis
5a89d97b75 fix line placement 2024-10-08 05:44:36 +03:00
MihailRis
116cbd61db feat: 'lines' (cave-like structures/tunnels) (WIP) 2024-10-08 02:32:45 +03:00
MihailRis
a47b650591 add core:struct_air 2024-10-04 01:53:17 +03:00
MihailRis
ea9ad08bfd Merge branch 'main' into heightmaps 2024-10-03 19:12:37 +03:00
MihailRis
75d66b644b add debug world generator visualization 2024-09-30 15:14:34 +03:00
MihailRis
16fac768c8 add chunk_height parameter to place_structures 2024-09-29 23:39:42 +03:00
MihailRis
abc8eccab8 add biome-bpd and heights-bpd generator def parameters 2024-09-29 23:12:45 +03:00
MihailRis
3784b57eed move biomes definition to a json file 2024-09-29 22:03:37 +03:00
MihailRis
3d478aef08 add generator definition file (.toml) 2024-09-26 22:26:01 +03:00
MihailRis
d534207deb add test ore (coal) 2024-09-25 00:13:59 +03:00
MihailRis
36eed38b4c add new methods to PseudoRandom & move this class to util:: 2024-09-24 22:37:31 +03:00
MihailRis
bca222afe5 update test generator script 2024-09-24 20:46:50 +03:00
MihailRis
dbaea71398 fix structures choosing 2024-09-24 18:31:15 +03:00
MihailRis
983a24bd05 remove generator script load_structures function 2024-09-24 17:16:52 +03:00
MihailRis
806ed4b155 add automatic biome-based structures placement 2024-09-24 17:08:25 +03:00