621 Commits

Author SHA1 Message Date
MihailRis
072744db00
Merge pull request #332 from MihailRis/upgrade-utf8-lib
Add more functions to utf8 library
2024-10-27 22:15:06 +03:00
MihailRis
176267e7ac fix msvc build again 2024-10-27 22:05:57 +03:00
MihailRis
8ae6d89ed4 fix msvc build again 2024-10-27 21:54:25 +03:00
ChancellorIkseew
2bf6ca9b7a add cubic interpolation type 2024-10-28 04:47:40 +10:00
MihailRis
bb239c0f49 add missing include 2024-10-27 21:44:15 +03:00
MihailRis
3e86d49a7b add utf8.upper, utf8.lower 2024-10-27 21:32:30 +03:00
MihailRis
c84b14ff0f Merge branch 'main' into item-models 2024-10-26 22:58:41 +03:00
MihailRis
7afdde5912 add world.get_generator 2024-10-26 22:46:26 +03:00
MihailRis
fae372d19f feat: item models generation simple & remove core:item_models 2024-10-26 18:42:21 +03:00
MihailRis
137e6fc767 add utf8.sub 2024-10-26 11:24:58 +03:00
MihailRis
ce7698e9ee rename utf8.encode to utf8.tobytes, utf8.decode to utf8.tostring 2024-10-26 10:54:33 +03:00
MihailRis
3dc334e778 add utf8.length, utf8.codepoint 2024-10-26 10:32:34 +03:00
MihailRis
52ed1abf1c add utf8.decode 2024-10-25 22:56:11 +03:00
MihailRis
52e62bbf95 add utf8.encode 2024-10-25 17:22:54 +03:00
MihailRis
751cde7503 add core.open_folder 2024-10-25 14:07:32 +03:00
MihailRis
5dce372156 fix glm quaternions issues 2024-10-23 09:45:31 +03:00
MihailRis
1f4ef8a4de fix 'access denied' in file.remove for entry points 'export', 'config' 2024-10-21 12:16:24 +03:00
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