454 Commits

Author SHA1 Message Date
MihailRis
5ca83a572b
Merge pull request #315 from Sergwest585/main
small ide stuff + search controls
2024-10-20 06:03:23 +03:00
Sergwest585
67f7006ad0 add get_binding_text() for script api 2024-10-20 01:22:49 +03:00
Xertis
5ffa6966b2
fix item.caption 2024-10-19 18:56:30 +03:00
MihailRis
4844997c6a add bjson library & update /doc/en/scripting/filesystem.md 2024-10-17 09:04:31 +03:00
MihailRis
0ad59fadd9 rename lua_type_voxelstructure.cpp to lua_type_voxelfragment.cpp 2024-10-16 08:07:36 +03:00
MihailRis
7330896eb4 add heightmap:sub(...) operation 2024-10-16 05:15:07 +03:00
MihailRis
c2cfe64b7e update doc/ru/** scripting-related docs 2024-10-16 02:00:46 +03:00
MihailRis
5e79bc07e9 add Heightmap:mixin(...) 2024-10-15 22:19:06 +03:00
MihailRis
08ebfa15db add read-only UI contentOffset property 2024-10-15 05:56:15 +03:00
MihailRis
fbca439b2d fix: extended block always main segment passed to on_iteract 2024-10-15 05:24:52 +03:00
MihailRis
4dfa235f12 add item.caption(...) function & move item library docs to libitem.md 2024-10-15 04:48:01 +03:00
MihailRis
c34bc184a4 update heightmap:dump(...) filename argument 2024-10-15 02:04:17 +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
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
b9074ebe47 fix block.get_hitbox with non rotatable blocks 2024-10-14 09:43:51 +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
6e0304248b add stdmin.lua 2024-10-09 05:30:02 +03:00
MihailRis
73d96fd4f7 move generator script execution to an isolated Lua state 2024-10-06 18:23:33 +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
e590d06bb0 add file.read_combined_list(...) 2024-09-30 01:55:42 +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
d839da7dab collect generator voxel fragments to directory 2024-09-26 01:30:55 +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
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
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
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
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