87 Commits

Author SHA1 Message Date
MihailRis
231fc7e0d0 refactor InventoryView & add 'uses' item property (WIP) 2025-02-16 20:41:13 +03:00
MihailRis
4d0b9f049b fix small dumb legacy memory leak 2025-01-03 00:07:25 +03:00
MihailRis
17dcbe98ab fix clang-check warnings 2025-01-01 16:06:44 +03:00
MihailRis
cb9690ebc7 add 'cursor' ui property 2024-12-30 21:41:05 +03:00
MihailRis
0da25f05d6 Merge branch 'main' into headless-mode 2024-12-23 14:13:59 +03:00
MihailRis
90b1f63406 update leaves texture & update mip-mapping settings 2024-12-23 14:13:45 +03:00
MihailRis
5ffc054d75 refactor 2024-12-09 01:12:41 +03:00
MihailRis
80e809f97f add markdown dialect (WIP) & add strikethrough and underline font styles 2024-12-06 17:35:03 +03:00
MihailRis
ed3865964b add syntax highlighting (WIP) 2024-12-04 22:13:17 +03:00
MihailRis
ce1e9f76cf add FontStylesScheme 2024-12-04 18:04:19 +03:00
MihailRis
b15725913e add FontStyle 'bold' and 'italic' properties to 2D text 2024-12-04 17:08:04 +03:00
MihailRis
d9277e1b31 mip-mapping related fixes 2024-11-25 15:39:34 +03:00
MihailRis
6a466cf1ec fix DrawContext 2024-11-19 05:57:02 +03:00
MihailRis
3ea213e8d3 fix console position 2024-11-17 15:53:25 +03:00
MihailRis
5240fe6226 rename vattr to VertexAttribute 2024-11-17 01:00:27 +03:00
MihailRis
99f1594645 fix Mesh 2024-11-16 15:08:25 +03:00
MihailRis
b28bcf052b optimize (part 1) 2024-11-16 09:18:14 +03:00
MihailRis
5b6ada6e5d add more NotePreset properties 2024-11-14 02:21:15 +03:00
MihailRis
0a8ea7e597 disable mip-mapping in fonts 2024-11-13 12:00:55 +03:00
MihailRis
7734d403ea cleanup 2024-11-12 06:01:53 +03:00
MihailRis
edbd851d11 update font rendering 2024-11-12 05:58:16 +03:00
MihailRis
b3ab037115 add 3D text render (WIP) 2024-11-12 03:14:59 +03:00
MihailRis
79693580e0 refactor Font 2024-11-11 20:30:10 +03:00
MihailRis
f38f84c779 move graphics/core/Model to graphics/commons/Model 2024-11-05 15:28:46 +03:00
MihailRis
5a431ed898 add custom-models in hand support 2024-11-04 18:02:42 +03:00
MihailRis
bbd13f1825 add MainBatch & refactor ModelBatch, Batch3D 2024-11-02 19:37:39 +03:00
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
fae372d19f feat: item models generation simple & remove core:item_models 2024-10-26 18:42:21 +03:00
MihailRis
3e1a82d137 make BlocksRenderer::createMesh return MeshData & make ChunksRenderer workers have standalone results 2024-10-24 10:54:07 +03:00
MihailRis
cc37fa57f1 update Mesh from MeshData constructor 2024-10-24 10:22:04 +03:00
MihailRis
5c6b73ee2b add MeshData 2024-10-24 10:11:57 +03:00
MihailRis
75d66b644b add debug world generator visualization 2024-09-30 15:14:34 +03:00
MihailRis
25c9c9a30a fix stars render 2024-09-13 11:35:53 +03:00
@clasher113
3376ad6568 Batch3D::point() check buffer overflow 2024-09-10 14:35:47 +03:00
MihailRis
698d02ceba fix fatal error caused by some unicode characters 2024-08-12 02:02:23 +03:00
MihailRis
71360a6416 fix macos build 2024-08-10 05:55:19 +03:00
MihailRis
a7d6c96a5c remove extra functions 2024-08-10 05:48:05 +03:00
MihailRis
f2a987f412 replace remaining tabs in src/ to spaces 2024-08-10 02:04:15 +03:00
MihailRis
de5c75d782 replace include guards with pragma once 2024-08-10 01:57:59 +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
54f15ecaea maths/ 2024-08-06 00:06:23 +03:00
InfiniteCoder
a745507ddd coders/ 2024-08-04 11:23:08 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
Vyacheslav Ivanov
ab28b4df70
fix: PVS-Studio V550
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 23:00:10 +03:00
Vyacheslav Ivanov
4efa574eec
fix: PVS-Studio V508 mark false
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 21:05:19 +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