36 Commits

Author SHA1 Message Date
MihailRis
9b5c693027 update 'overlay-texture' block property behaviour 2024-11-01 02:18:13 +03:00
MihailRis
4f377b2056 refactor textures access 2024-11-01 02:13:21 +03:00
MihailRis
b93668ba94 feat: display a handheld item in first-person view (WIP) 2024-10-27 17:07:32 +03:00
MihailRis
45a1e1df82 fix: backlight not applied to entities 2024-10-14 09:34:41 +03:00
MihailRis
45a793d647 fix: entity shading is incorrect when it is upper than max height 2024-10-04 22:50:37 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
85239004e3 window/ 2024-08-06 00:07:33 +03:00
InfiniteCoder
79ccde35b7 lighting/ 2024-08-06 00:05:41 +03:00
InfiniteCoder
c7755040bd voxels/ 2024-08-04 22:42:44 +03:00
InfiniteCoder
eb061bcaf4 graphics/ 2024-08-04 22:12:48 +03:00
InfiniteCoder
21ff65d781 assets/ 2024-08-04 11:08:07 +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
0c4cdeaa87 add entities renderer tint support 2024-07-20 19:35:43 +03:00
MihailRis
fba0bca0dc optimize ModelBatch 2024-07-20 17:59:15 +03:00
MihailRis
1c4e13dc67 add block.get_textures 2024-07-03 05:15:15 +03:00
MihailRis
39d850a48c add modeltree:set_texture 2024-07-03 03:33:39 +03:00
MihailRis
316233816f Merge branch 'main' into entities 2024-06-30 22:16:14 +03:00
MihailRis
c0dca31e98 memory refactor Texture and ImageData 2024-06-30 21:24:46 +03:00
MihailRis
4b20487c58 add drop test 2024-06-24 15:39:40 +03:00
MihailRis
4fdfeb5e88 fix msvc build 2024-06-23 02:07:52 +03:00
MihailRis
94fe5eeb5b update ModelBatch semantics 2024-06-23 01:57:28 +03:00
MihailRis
ea0add3017 feat: models loading 2024-06-22 23:43:56 +03:00
MihailRis
d54b6b2e58 update Assets container - template-based now 2024-06-22 22:30:14 +03:00
MihailRis
e4f9bd03b7 add src/coders/obj 2024-06-22 20:24:35 +03:00
MihailRis
a9640fff36 add ModelBatch.translate(...), .rotate(...), .scale(...) 2024-06-21 20:55:14 +03:00
MihailRis
1a12a6923a remove ModelBatch.test(...) 2024-06-21 19:19:20 +03:00
MihailRis
6ba38ee167 add graphics/core/Model 2024-06-21 02:30:35 +03:00
MihailRis
916d1c1408 update ModelBatch.box semantics 2024-06-21 01:43:26 +03:00
MihailRis
a53dc7e0df fix ModelBatch.box(...) 2024-06-20 22:16:09 +03:00
MihailRis
57a0377b36 fix ModelBatch overflow 2024-06-20 21:54:06 +03:00
MihailRis
3235740333 add actual lights 2024-06-20 21:18:40 +03:00
MihailRis
3d2deaf369 add ModelBatch pseudo-lights 2024-06-20 20:15:03 +03:00
MihailRis
6d6313cd10 add ModelBatch 2024-06-20 19:45:19 +03:00