243 Commits

Author SHA1 Message Date
MihailRis
c1b311f3c4 refactor: change pointer parameters to references for Level and Content in various classes 2024-12-25 18:53:53 +03:00
MihailRis
ed7dc1f901 feat: add app.save_world() function and update documentation 2024-12-25 15:15:11 +03:00
MihailRis
fa1646a9bd add '--script', '--version' command line arguments 2024-12-18 00:48:29 +03:00
MihailRis
48d94036fd rename Level.chunksStorage to Level.chunks 2024-12-17 23:57:00 +03:00
MihailRis
b1fc666448 fix 2024-12-17 20:56:25 +03:00
MihailRis
1c18c02092 move Chunks from Level to Player 2024-12-17 19:40:00 +03:00
MihailRis
b7664b4188 move Lighting instance to ChunksController 2024-12-17 05:13:49 +03:00
MihailRis
87c19d69dc move block set logic to the blocks_agent 2024-12-16 20:46:06 +03:00
MihailRis
e713412a6d rename ChunksStorage to GlobalChunks 2024-12-14 18:58:51 +03:00
MihailRis
e0b3425eff migrate blocks interaction (scripting) to global chunks storage (WIP) 2024-12-13 05:54:41 +03:00
MihailRis
436bfd24ba update ChunksStorage 2024-12-11 16:30:19 +03:00
MihailRis
cfc16679cb add test.open_world 2024-12-11 14:49:52 +03:00
MihailRis
c67f158e62 remove default player from headless mode 2024-12-11 00:31:08 +03:00
MihailRis
9b4dd8f65e refactor & add test.new_world 2024-12-10 18:41:39 +03:00
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