2574 Commits

Author SHA1 Message Date
MihailRis
15342c2df2 add 'config' entry point, pack.shared_file(...) & refactor engine_paths.cpp 2024-10-04 22:40:05 +03:00
MihailRis
85bea6f17d fix: toggle fullscreen GLFW invalid enum error 2024-10-04 20:51:14 +03:00
MihailRis
f63ab345ea fix: flight can stop on noclip enabled 2024-10-04 16:57:29 +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
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
572ae9fa39 add array as root element support to json parser 2024-09-30 00:36:14 +03:00
MihailRis
28b6ec2a0e Merge branch 'main' into blocks-metadata 2024-09-19 14:51:47 +03:00
MihailRis
cf77da3bd1
Merge pull request #304 from MihailRis/dynamic_update
Replace dynamic::Value with new implementation
2024-09-19 14:13:56 +03:00
MihailRis
d0328f2feb refactor Player serialization 2024-09-19 13:53:13 +03:00
MihailRis
3953583605 minimize extra dv::value copies 2024-09-19 13:45:32 +03:00
MihailRis
bd176f24e1 add some 'noexcept's 2024-09-19 12:36:00 +03:00
MihailRis
fa3e98e3e4 fix 2024-09-19 04:30:01 +03:00
MihailRis
4ae141d982 limit dv::value templated constructors & refactor 2024-09-19 04:22:57 +03:00
MihailRis
827a09b1d0 refactor data/dv & update data/dv-related tests 2024-09-19 00:40:06 +03:00
MihailRis
d6d07f0a3a update dv::elementreference::get(T) integer specializations 2024-09-19 00:23:24 +03:00
MihailRis
3613e31909 update dv::value::operator=(T) integer specializations 2024-09-19 00:10:15 +03:00
MihailRis
13edcd8700 add missing include 2024-09-18 23:56:06 +03:00
MihailRis
3717af34ae add missing include 2024-09-18 23:42:29 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
d3ba4b2e3e update move assignment 2024-09-17 14:04:23 +03:00
MihailRis
afbef198c6 add dv::value.operator=(value&&) 2024-09-17 13:41:02 +03:00
MihailRis
a886404940 optimize move constructor 2024-09-17 01:17:27 +03:00
MihailRis
27c8307562 add dv::value support to binary_json 2024-09-16 22:53:27 +03:00
MihailRis
271db9a6f1 add dv::value support to json::parse 2024-09-16 22:23:22 +03:00