52 Commits

Author SHA1 Message Date
MihailRis
6796b12414 update generator-test-mode behaviour 2024-10-21 09:01:31 +03:00
MihailRis
ea9ad08bfd Merge branch 'main' into heightmaps 2024-10-03 19:12:37 +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
0ad588fd33 fix world converter 2024-10-03 02:38:57 +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
bf9f81a98c Merge branch 'main' into heightmaps 2024-09-19 15:16:14 +03:00
MihailRis
28b6ec2a0e Merge branch 'main' into blocks-metadata 2024-09-19 14:51:47 +03:00
MihailRis
3953583605 minimize extra dv::value copies 2024-09-19 13:45:32 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
e30c1b3c03 upgrade regions format version to 3 2024-09-06 12:25:52 +03:00
MihailRis
184e9c6648 update region file format 2 to 3 (WIP) 2024-09-04 23:37:39 +03:00
MihailRis
728795f0f3 update WorldConverter (WIP) 2024-09-02 23:24:59 +03:00
MihailRis
3dda512468 replace regions layer index with enum 2024-09-02 08:32:12 +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
3654d99cea update Serializable.hpp 2024-08-22 01:50:38 +03:00
MihailRis
4f2448daed refactor 2024-08-11 18:21:12 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
54f15ecaea maths/ 2024-08-06 00:06:23 +03:00
InfiniteCoder
8f9c7eb7ff data/ 2024-08-05 23:59:42 +03:00
InfiniteCoder
5c9bc83bbd items/ + objects/ + util/ 2024-08-04 22:26:08 +03:00
InfiniteCoder
a745507ddd coders/ 2024-08-04 11:23:08 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
Vyacheslav Ivanov
aecd0f5db9 fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:44:10 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
2c1103307f
fix: optimization: PVS-Studio warning V813
Passing large objects by const reference avoids unnecessary copying and enhances efficiency.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
Vyacheslav Ivanov
5dd7a15c09
fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 01:57:43 +03:00
MihailRis
f4d3e62b3f add chunk 'entities' flag 2024-07-05 23:26:17 +03:00
MihailRis
c8666910ce feat: loading entities (WIP) 2024-07-05 22:51:03 +03:00
MihailRis
f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis
607d30fd33 fix: WorldRegions (issue #239) 2024-06-13 00:26:54 +03:00
MihailRis
c67e4b04bb refactor: WorldRegions and chunks saving 2024-06-07 14:04:25 +03:00
MihailRis
40746043ee Merge branch 'main' into blocks_meta 2024-06-07 10:28:45 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
86bbece599 Merge branch 'main' into blocks_meta 2024-06-06 12:23:20 +03:00
MihailRis
3003386670 chunk flags converted to a bitfield 2024-05-31 11:59:12 +03:00
MihailRis
96593bdb5d minor refactor 2024-05-28 18:49:03 +03:00
MihailRis
db071982c9 memory-related refactor 2024-05-28 05:17:56 +03:00
MihailRis
fd87fbe7f0 memory-related refactor 2024-05-28 03:52:13 +03:00
MihailRis
9522aedeec quick check with linters 2024-05-10 12:34:05 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis
f27a418dbe however 2024-05-06 03:15:27 +03:00
MihailRis
83e7cedffe gcc warning fix 2024-04-29 01:17:56 +03:00
MihailRis
8730b03a52 fixes 2024-04-25 03:00:21 +03:00
MihailRis
1ecc608ead nothing actually done 2024-04-24 07:35:46 +03:00
MihailRis
67f34ceb8c minor refactor 2024-04-23 16:45:29 +03:00
MihailRis
cc58ea29bc world converter threading 2024-04-15 19:44:21 +03:00
MihailRis
ab110dcdf5 useRegFile fix 2024-04-15 19:08:35 +03:00