27 Commits

Author SHA1 Message Date
MihailRis
245b39be62 refactor: PVS-Studio warnings fixes 2024-08-04 01:12:42 +03:00
Vyacheslav Ivanov
3621e7ce1b
fix: PVS-Studio V522 mark false
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 23:00:10 +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
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
ee9f1639e9 refactor Content 2024-06-25 22:37:53 +03:00
MihailRis
d3c9911640 nothing actually done 2024-05-18 03:49:34 +03:00
MihailRis
693f50eb87 minor refactor 2024-05-17 23:21:37 +03:00
MihailRis
017c8722ae memory related refactor 2024-05-13 00:11:20 +03:00
MihailRis
3c6089225f cleanup 2024-05-06 17:35:05 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
Onran
d56c0be9bd
minor refact 2024-02-25 14:05:48 +09:00
MihailRis
49fdcdfb27 inventory regions, minor refactor 2024-01-31 00:14:43 +03:00
MihailRis
b7fbb8621a content-pack id validation + refactor 2024-01-25 03:40:08 +03:00
MihailRis
5687e55094 default load-speed set to 4 + minor refactor 2024-01-24 20:43:52 +03:00
MihailRis
5d931eacc6 additional optimizations 2024-01-24 19:59:12 +03:00
MihailRis
4ea36f8996 experimental optimizations 2024-01-24 18:23:48 +03:00
MihailRis
1938ccc803 increased world loading speed and ui scroll 2024-01-19 03:53:30 +03:00
MihailRis
377c8e5029 the big refactor + extracted data classes from coders/json to data/dynamic 2024-01-17 16:32:53 +03:00
MihailRis
3b03464d27 Introduced Content, ContentIndices, no more integer ids hardcoded, common refactor 2023-11-21 11:38:59 +03:00
MihailRis
754c5b80d0
voxels renderer rebuilt, WorldFiles fix 2023-11-02 13:23:52 +03:00
MihailRis
8a073e4e8a world-wide commit to ruin everything 2022-10-28 22:44:32 +03:00
MihailRis
bdd3fbf7d4
Added 3 unicode pages for font, fixed UI, added Block.breakable
Added 1, 2, 3 and 4 unicode pages from Minecraft.
Font now uses std::wstring instead of std::string
Added Block.breakable field (the only unbreakable block is bedrock)
Bedrock is now selectable
2022-07-14 19:23:31 +03:00
MihailRis
b7e8ff5bea
'Player' class, separated main file
Moved render code to world_render.h, declarations code (assets and blocks) to declarations.h
2022-03-02 23:45:09 +03:00
MihailRis
bc9d29cf68
A lot of changes in almost all files 2022-02-28 02:30:15 +03:00
MihailRis
01c6c854e1
Optimized lighting, frustum culling, generator
- Extended CHUNK_H to 256
- Modified world generator for new world height
- Added simple 2d frustum culling
- Optimized sky lighting calculations
2021-09-17 19:15:14 +03:00
MihailRis
e1cdcf01e9
Add files via upload 2021-04-25 16:08:48 +03:00