581 Commits

Author SHA1 Message Date
MihailRis
116cbd61db feat: 'lines' (cave-like structures/tunnels) (WIP) 2024-10-08 02:32:45 +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
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
ea9ad08bfd Merge branch 'main' into heightmaps 2024-10-03 19:12:37 +03:00
MihailRis
f7492ce449 add lua dv::bytes support 2024-10-03 18:23:50 +03:00
MihailRis
5ff00df527 micro refactor 2024-10-02 20:24:50 +03:00
MihailRis
87cf6c41bc update block.get_field, block.set_field and fields-related docs 2024-10-02 17:56:19 +03:00
MihailRis
28d746f371 implement blocks data saving/loading 2024-09-30 23:42:16 +03:00
MihailRis
e84c79839c update blocks data lifetime 2024-09-30 21:33:19 +03:00
MihailRis
4f559c1086 refactor libblock 2024-09-30 20:15:22 +03:00
MihailRis
fc99343fb5 add block.get_field(...), block.set_field(...) 2024-09-30 18:55:01 +03:00
MihailRis
e30e0083a0 add ores 2024-09-30 13:14:53 +03:00
MihailRis
e590d06bb0 add file.read_combined_list(...) 2024-09-30 01:55:42 +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
6c2d10e14b cleanup 2024-09-29 22:08:28 +03:00
MihailRis
3784b57eed move biomes definition to a json file 2024-09-29 22:03:37 +03:00
MihailRis
50c7308211 move core.get_generators to generation.get_generators 2024-09-28 14:23:20 +03:00
MihailRis
c46090f881 update generators scanning 2024-09-27 23:55:14 +03:00
MihailRis
3d478aef08 add generator definition file (.toml) 2024-09-26 22:26:01 +03:00
MihailRis
d839da7dab collect generator voxel fragments to directory 2024-09-26 01:30:55 +03:00
MihailRis
788ad1f6a6 add core:obstacle block & move cameras from base to core & add new generator 2024-09-25 15:45:45 +03:00
MihailRis
d534207deb add test ore (coal) 2024-09-25 00:13:59 +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
MihailRis
323c2f2935 refactor & add structures.json 2024-09-24 04:05:13 +03:00
MihailRis
519ebc05f1 optimize test generator 2024-09-23 23:35:39 +03:00
MihailRis
74ded5a052 implement structures rotation 2024-09-22 01:58:59 +03:00
MihailRis
001b930212 update world generation pipeline 2024-09-21 23:29:19 +03:00
MihailRis
a413c5d09e implement inter-chunk structure generation 2024-09-21 20:50:12 +03:00
MihailRis
03ba7c9539 test voxel structures generation 2024-09-21 17:21:47 +03:00
MihailRis
cba1a5c23e add LuaGeneratorScript::loadStructures 2024-09-21 01:32:38 +03:00
MihailRis
aa1fb26ea5 add EnginePaths::parsePath & update generation.load_structure 2024-09-21 01:24:38 +03:00
MihailRis
88b0f8e3d6 add VoxelStructure lua usertype 2024-09-19 18:41:34 +03:00
MihailRis
bf9f81a98c Merge branch 'main' into heightmaps 2024-09-19 15:16:14 +03:00
MihailRis
3953583605 minimize extra dv::value copies 2024-09-19 13:45:32 +03:00
MihailRis
4ae141d982 limit dv::value templated constructors & refactor 2024-09-19 04:22:57 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
390a16ace1 rename generator/Structure to generator/VoxelStructure 2024-09-12 11:01:19 +03:00
MihailRis
feb86a547f Merge branch 'main' into heightmaps 2024-09-06 18:38:53 +03:00
MihailRis
8ddfa48339 fix skeleton:get_texture 2024-08-30 06:17:15 +03:00
MihailRis
2d7d03efbb add structures (WIP) 2024-08-22 20:35:41 +03:00
MihailRis
3eec97f631 fix generator loading 2024-08-22 02:29:11 +03:00
MihailRis
b4e9cfa0bd refactor: use dynamic::* for parsing 2024-08-22 00:09:59 +03:00
MihailRis
0a7ab154d4 refactor 2024-08-21 22:44:33 +03:00
MihailRis
9eea7243d5 Merge branch 'main' into heightmaps 2024-08-20 22:01:36 +03:00
MihailRis
333cbfe6f5 refactor: add 'const' qualifier for content units 2024-08-20 22:00:30 +03:00