2719 Commits

Author SHA1 Message Date
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
fb53b3941c update caves distribution 2024-10-10 04:44:44 +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
6e0304248b add stdmin.lua 2024-10-09 05:30:02 +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
8813d280dc update workflows 2024-10-06 21:57:13 +03:00
MihailRis
cd952e7216
Merge pull request #306 from MihailRis/isolated-lua-states
Add isolated lua states
2024-10-06 21:54:14 +03:00
MihailRis
d9a44f3b87 minor refactor 2024-10-06 21:07:27 +03:00
MihailRis
73d96fd4f7 move generator script execution to an isolated Lua state 2024-10-06 18:23:33 +03:00
MihailRis
091805a16e refactor scripting_world_generation.cpp 2024-10-06 17:28:44 +03:00
MihailRis
7c73515d2d update workflows 2024-10-05 17:35:31 +03:00
MihailRis
756de7b0b1 refactor lua_engine 2024-10-05 17:32:03 +03:00
MihailRis
736fdbf964 move lua libs to /logic/scripting/lua/libs 2024-10-05 00:53:41 +03:00
MihailRis
d31a935009 Merge branch 'main' into heightmaps 2024-10-05 00:06:14 +03:00
MihailRis
b984e363ea add block size check to ContentLoader 2024-10-05 00:04:07 +03:00
MihailRis
1eb95705f5 Merge branch 'main' into heightmaps 2024-10-04 22:51:24 +03:00
MihailRis
45a793d647 fix: entity shading is incorrect when it is upper than max height 2024-10-04 22:50:37 +03:00
MihailRis
15342c2df2 add 'config' entry point, pack.shared_file(...) & refactor engine_paths.cpp 2024-10-04 22:40:05 +03:00
MihailRis
f93c831d3f Merge branch 'main' into heightmaps 2024-10-04 20:55:03 +03:00
MihailRis
85bea6f17d fix: toggle fullscreen GLFW invalid enum error 2024-10-04 20:51:14 +03:00
MihailRis
073ef11cfa Merge branch 'main' into heightmaps 2024-10-04 16:58:50 +03:00
MihailRis
f63ab345ea fix: flight can stop on noclip enabled 2024-10-04 16:57:29 +03:00
MihailRis
a47b650591 add core:struct_air 2024-10-04 01:53:17 +03:00
MihailRis
0cbc048523 move debug generator visualizer origin to center 2024-10-03 23:02:22 +03:00
MihailRis
06a0468967 update debug generator visualizer 2024-10-03 22:27:46 +03:00
MihailRis
ea9ad08bfd Merge branch 'main' into heightmaps 2024-10-03 19:12:37 +03:00
MihailRis
414f18f7c7
Merge pull request #294 from MihailRis/blocks-metadata
Add blocks metadata
2024-10-03 19:04:10 +03:00
MihailRis
73903f82ae fix 2024-10-03 18:24:57 +03:00
MihailRis
f7492ce449 add lua dv::bytes support 2024-10-03 18:23:50 +03:00
MihailRis
9e8a33c411 delete blocksdata region file if there is no associated voxels region 2024-10-03 18:07:19 +03:00
MihailRis
c7ca7e58b3 rename chunk_inventories_map to ChunkInventoriesMap 2024-10-03 17:42:38 +03:00
MihailRis
ab53922474 extend user block fields check 2024-10-03 16:08:40 +03:00
MihailRis
a73a1cfbb8 add dv::object(std::initializer_list<dv::pair>) 2024-10-03 02:41:37 +03:00
MihailRis
0ad588fd33 fix world converter 2024-10-03 02:38:57 +03:00
MihailRis
8f1eae4330 add dv::object(std::initializer_list<dv::pair>) 2024-10-03 01:32:57 +03:00
MihailRis
597a16e79e update block-properties docs 2024-10-02 22:29:14 +03:00
MihailRis
5ff00df527 micro refactor 2024-10-02 20:24:50 +03:00
MihailRis
4e692d93b2 fix block fields data type names in docs 2024-10-02 18:25:47 +03:00
MihailRis
87cf6c41bc update block.get_field, block.set_field and fields-related docs 2024-10-02 17:56:19 +03:00
MihailRis
e0a4876f3f add explicit block fields total size limit - 240 bytes 2024-10-02 17:08:46 +03:00
MihailRis
221a34fa2e add block data-fields to docs 2024-10-02 17:00:51 +03:00
MihailRis
6016433f47 format ContentReport.cpp 2024-10-02 00:35:50 +03:00
MihailRis
c79b65a432 fix: error if indices.json has no 'blocks-data' element 2024-10-02 00:29:00 +03:00