26 Commits

Author SHA1 Message Date
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
MihailRis
adf54b8a38 clang warnings fix + minor refactor 2024-04-15 12:16:04 +03:00
MihailRis
3ebd8f3062 regions related code moved from WorldFiles to WorldRegions 2024-04-15 03:45:55 +03:00