Commit Graph
100 Commits
Author SHA1 Message Date
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
MihailRisandGitHub 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
MihailRis ceaa676a3a add dv::value support to json::stringify & add dv.cpp 2024-09-16 21:36:35 +03:00
MihailRis f05ed4942d add util::Buffer copy constructor 2024-09-16 21:31:37 +03:00
MihailRis 9badc0a022 add dv::value.getType(), .empty() 2024-09-16 20:49:39 +03:00
MihailRis 9b26758519 add dv::value.size/length, .asObject() 2024-09-16 20:21:28 +03:00
MihailRis 3bc329041a add dv::list(initializer_list<value>) 2024-09-16 19:43:20 +03:00
MihailRis 2aae28e193 fix dv::value::operator=(const value&) 2024-09-16 19:27:59 +03:00
MihailRis adde5bd80d add new dv::value methods and iterators 2024-09-15 18:23:05 +03:00
MihailRis fa12b9b751 add dv::value.object(...), .list(...) 2024-09-15 11:15:37 +03:00
MihailRis a014204d99 trigger actions 2024-09-15 01:57:12 +03:00
MihailRis 371d714774 add dv::value.add(...) 2024-09-15 01:01:11 +03:00
MihailRis 464eb9989c decrease dv::value size 2024-09-15 00:28:18 +03:00
MihailRis d703567dc1 add data/dv.hpp 2024-09-14 23:25:43 +03:00
MihailRis 44753904dc add Chunk.blocksMetadata 2024-09-14 20:26:36 +03:00
MihailRis 3d219b9a1c fix msvc build 2024-09-14 19:15:41 +03:00
MihailRis f5d2a1f1b7 make StructLayout serializable 2024-09-14 18:56:37 +03:00
MihailRis 8447cf5ad5 Merge branch 'main' into blocks-metadata 2024-09-13 13:22:27 +03:00
MihailRis 25c9c9a30a fix stars render 2024-09-13 11:35:53 +03:00
MihailRis 14affb72b6 add new Map and List bytebuffer-related methods 2024-09-12 18:25:52 +03:00
MihailRisandGitHub f341e22e3e Merge pull request #303 from MihailRis/add-bjson-binary-data-type
Add dynamic::Value binary data type (byte-buffer)
2024-09-12 18:04:35 +03:00
MihailRis c3fb30b20e fix bjson decoder 2024-09-12 17:39:05 +03:00
MihailRis f8fadf8b74 add json BJSON_TYPE_BYTES support 2024-09-12 17:22:00 +03:00
MihailRis 6f4a7db910 add binary_json BJSON_TYPE_BYTES support 2024-09-12 16:24:51 +03:00
MihailRis 62c002252f Merge branch 'main' into add-bjson-binary-data-type 2024-09-12 16:22:50 +03:00
MihailRis 8589cae300 add ByteReader::remaining() 2024-09-12 16:22:32 +03:00
MihailRis 8b947fe78e add util::Buffer template 2024-09-12 13:43:08 +03:00
MihailRis 8be0ed819e add new json::stringify overloads 2024-09-12 13:28:45 +03:00
MihailRisandGitHub 02677ac8be Merge pull request #302 from clasher113/main
Batch3D::point() check buffer overflow
2024-09-10 15:09:40 +03:00
MihailRis 6139727d66 update github workflows 2024-09-10 14:55:20 +03:00
MihailRis 897d22b50e fix container subnodes render 2024-09-08 17:38:14 +03:00
MihailRis e30c1b3c03 upgrade regions format version to 3 2024-09-06 12:25:52 +03:00
MihailRis 69b90f53c3 fix extRLE16 encoder 2024-09-06 12:08:10 +03:00
MihailRis 4a619fc18e add Chunk.convertV2 2024-09-05 11:34:01 +03:00
MihailRis c18eddb63c add Chunk.encodeV2, decodeV2 2024-09-05 11:29:07 +03:00
MihailRis cbb0ecd1f6 remove compatibility test (requires input file) 2024-09-04 23:41:53 +03:00
MihailRis 184e9c6648 update region file format 2 to 3 (WIP) 2024-09-04 23:37:39 +03:00
MihailRis 73a8343f61 add extRLE16 encoder/decoder 2024-09-04 23:27:52 +03:00
MihailRis 0b3bb36188 update byte_utils 2024-09-04 15:41:51 +03:00
MihailRis 3d3679c8b1 add voxel regions layer chunk structure specification 2024-09-04 00:10:39 +03:00
MihailRis ea3d8b2c08 add region file format specification 2024-09-03 23:45:31 +03:00
MihailRis c15abfa715 add util::Buffer, rle::encode16, rle::decode16 2024-09-03 23:33:29 +03:00
MihailRis 728795f0f3 update WorldConverter (WIP) 2024-09-02 23:24:59 +03:00
MihailRis 3f826a88d3 rename ContentLUT to ContentReport 2024-09-02 09:40:00 +03:00
MihailRis c1ef4dbe9f add content issues (WIP) 2024-09-02 09:31:53 +03:00
MihailRis 3dda512468 replace regions layer index with enum 2024-09-02 08:32:12 +03:00
MihailRis 10e10955dc add missing include 2024-09-02 08:01:43 +03:00
MihailRis 7d193941a4 add /coders/compression module 2024-09-01 21:58:33 +03:00
MihailRis 0f53d5b835 refactor WorldRegions 2024-09-01 19:44:24 +03:00
MihailRis dfb5baf79b fix StructLayout::getNumber 2024-08-31 19:58:41 +03:00
MihailRis 35079d1b49 rename setChars to setAscii 2024-08-31 09:25:05 +03:00
MihailRis 8baabf4c0d add checkCompatibility method, convertStrategy field, tests 2024-08-31 08:47:16 +03:00
MihailRis 21b2060685 Merge branch 'main' into blocks-metadata 2024-08-30 06:17:41 +03:00
MihailRis 8ddfa48339 fix skeleton:get_texture 2024-08-30 06:17:15 +03:00
MihailRis caa5e1b03b add StructLayout::convert (WIP) 2024-08-30 06:16:41 +03:00
MihailRis 5afbad1bd6 fix skeleton:get_texture 2024-08-30 06:13:58 +03:00
MihailRis bcd6f40ddb rename StructMapping to StructLayout 2024-08-29 18:56:26 +03:00
MihailRis d0bc679815 update SmallHeap docs 2024-08-29 17:07:08 +03:00
MihailRis c63a532e04 Merge branch 'main' into blocks-metadata 2024-08-29 15:42:21 +03:00
MihailRis 96941cb707 fix utf-8 decoder & add u32string functions 2024-08-29 15:40:51 +03:00
MihailRis 5045ffb923 fix stringutil test 2024-08-29 15:40:13 +03:00
MihailRis c5811e36f9 update .github/workflows/windows.yml 2024-08-29 15:39:48 +03:00
MihailRis f8d0a4f4c7 add util::crop_utf8 (stringutil) 2024-08-29 15:39:14 +03:00
MihailRis 77229b8d9a add StructMapping::setUnicode 2024-08-29 15:10:51 +03:00
MihailRis 4343e81e00 fix utf-8 decoder & add u32string functions 2024-08-29 15:09:27 +03:00
MihailRis bd87a586d8 fix stringutil test 2024-08-29 13:47:18 +03:00
MihailRis d6ff55e4f5 update .github/workflows/windows.yml 2024-08-29 13:32:56 +03:00
MihailRis 25bdcc8e1b add util::crop_utf8 (stringutil) 2024-08-29 13:01:32 +03:00
MihailRis b34fddbe94 add StructMapper.setChars, getChars 2024-08-29 12:32:41 +03:00