2706 Commits

Author SHA1 Message Date
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
MihailRis
c7ca7e58b3 rename chunk_inventories_map to ChunkInventoriesMap 2024-10-03 17:42:38 +03:00
MihailRis
ab53922474 extend user block fields check 2024-10-03 16:08:40 +03:00
MihailRis
a73a1cfbb8 add dv::object(std::initializer_list<dv::pair>) 2024-10-03 02:41:37 +03:00
MihailRis
0ad588fd33 fix world converter 2024-10-03 02:38:57 +03:00
MihailRis
8f1eae4330 add dv::object(std::initializer_list<dv::pair>) 2024-10-03 01:32:57 +03:00
MihailRis
597a16e79e update block-properties docs 2024-10-02 22:29:14 +03:00
MihailRis
5ff00df527 micro refactor 2024-10-02 20:24:50 +03:00
MihailRis
4e692d93b2 fix block fields data type names in docs 2024-10-02 18:25:47 +03:00
MihailRis
87cf6c41bc update block.get_field, block.set_field and fields-related docs 2024-10-02 17:56:19 +03:00
MihailRis
e0a4876f3f add explicit block fields total size limit - 240 bytes 2024-10-02 17:08:46 +03:00
MihailRis
221a34fa2e add block data-fields to docs 2024-10-02 17:00:51 +03:00
MihailRis
6016433f47 format ContentReport.cpp 2024-10-02 00:35:50 +03:00
MihailRis
c79b65a432 fix: error if indices.json has no 'blocks-data' element 2024-10-02 00:29:00 +03:00
MihailRis
e73da1687a Merge branch 'main' into heightmaps 2024-10-01 23:29:40 +03:00
MihailRis
bc7be5ecc8 Merge branch 'main' into blocks-metadata 2024-10-01 23:29:07 +03:00
MihailRis
e750d90ff4 add 'graphics.chunk-max-vertices', 'graphics.chunk-max-renderers' settings 2024-10-01 23:25:25 +03:00
MihailRis
a65cf6ed66 add ThreadPool maxWorkers constructor argument 2024-10-01 23:24:01 +03:00
MihailRis
99e8764907 fix setAscii, setUnicode 2024-10-01 22:06:57 +03:00
MihailRis
024dccb135 fix: no blocks data conversion if no data loss detected 2024-10-01 21:05:08 +03:00
MihailRis
bc05716772 implement blocks data conversion 2024-10-01 19:08:45 +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
8d89e06ac5 Merge branch 'main' into blocks-metadata 2024-09-30 17:23:05 +03:00
MihailRis
75d66b644b add debug world generator visualization 2024-09-30 15:14:34 +03:00