2122 Commits

Author SHA1 Message Date
Sergwest585
67f7006ad0 add get_binding_text() for script api 2024-10-20 01:22:49 +03:00
Sergwest585
2a9e602a1b add default return in switch-case 2024-10-19 20:51:20 +03:00
MihailRis
6b84fa82fc fix: non-air lines are not placed 2024-10-19 05:37:10 +03:00
MihailRis
6e6f9616cd fix fatal error on wrong placement args 2024-10-19 05:33:59 +03:00
MihailRis
ba9417a7e4 fix player entity teleport using debug_panel 2024-10-19 01:27:51 +03:00
MihailRis
6dc73646f0 fix: EVT_CHUNK_HIDDEN not triggered 2024-10-19 00:53:56 +03:00
MihailRis
7b0db7b660 update base:demo generator & update default bpd values 2024-10-18 15:26:32 +03:00
MihailRis
26d92750f2 fix dv::is_numeric 2024-10-18 11:02:48 +03:00
MihailRis
ab2b24d982 make generation.get_generators nothrow 2024-10-18 08:16:55 +03:00
MihailRis
955e5257d5 fix: conditional jump or move depends on uninitialised value 2024-10-18 07:56:18 +03:00
MihailRis
552740b87b add missing includes 2024-10-18 02:43:16 +03:00
MihailRis
4844997c6a add bjson library & update /doc/en/scripting/filesystem.md 2024-10-17 09:04:31 +03:00
MihailRis
faca68e6c3 replace argument 'seed' with global constant 'SEED' 2024-10-16 08:46:32 +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
59c4e26eda feat: heightmap-inputs 2024-10-16 00:38:58 +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
d59fac61bb fix: backlight setting not applying on change 2024-10-15 04:58:46 +03:00
MihailRis
4dfa235f12 add item.caption(...) function & move item library docs to libitem.md 2024-10-15 04:48:01 +03:00
MihailRis
3146499433 fix fragment rotation bits & increase player spawn attempts number 2024-10-15 03:32:16 +03:00
MihailRis
f87bb960a9 replace structures.json with structures.toml 2024-10-15 03:22:19 +03:00
MihailRis
5ff42929f9 remove extra inventory convert implementation 2024-10-15 02:55:49 +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
44eedadc06 make world generator less pedantic in structures placement 2024-10-14 20:47:37 +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
cc6891dde8 feat: boolean type support finally 2024-10-14 19:38:30 +03:00
MihailRis
b9074ebe47 fix block.get_hitbox with non rotatable blocks 2024-10-14 09:43:51 +03:00
MihailRis
2ecde94be5 Merge branch 'main' into heightmaps 2024-10-14 09:35:16 +03:00
MihailRis
45a1e1df82 fix: backlight not applied to entities 2024-10-14 09:34:41 +03:00
MihailRis
bc24151a63 update default chunks rendering settings values 2024-10-14 09:15:32 +03:00
MihailRis
4c3ce8c174 add resource-aliases.json 2024-10-14 07:18:24 +03:00
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
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
50eb83ad9b add generator param 'wide-structs-chunks-radius' & make caves more interesting 2024-10-10 03:57:43 +03:00