2732 Commits

Author SHA1 Message Date
MihailRis
e3c6e55a41 convert generator parameters naming to the project style 2024-10-14 04:45:11 +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
e7d7753d47 Merge branch 'main' into heightmaps 2024-10-13 12:20:21 +03:00
MihailRis
3078e0055b
Merge pull request #307 from MihailRis/update-toml
Update TOML parser
2024-10-13 12:19:31 +03:00
MihailRis
6a2b2062b3 feat: array of tables support 2024-10-13 12:09:56 +03:00
MihailRis
68c3a646c8 feat: local date-time, offset date-time, local time, local date support (reading to string) 2024-10-13 10:51:24 +03:00
MihailRis
9667b81438 fix: string literal line separator escape 2024-10-13 10:16:17 +03:00
MihailRis
2f7fbd57ee feat: toml multiline string test 2024-10-12 23:07:10 +03:00
MihailRis
abe004c3d5 revert operator<< overload of dv::value 2024-10-12 17:37:06 +03:00
MihailRis
d14548cff8 feat: toml lvalues support 2024-10-12 00:23:52 +03:00
MihailRis
66825d62aa feat: toml arrays and inline tables support 2024-10-11 20:43:37 +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
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