Commit Graph
62 Commits
Author SHA1 Message Date
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 IvanovandMihailRis 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
MihailRisandGitHub 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 3590bd14cd update DrawContext 2024-07-21 16:06:40 +03:00
MihailRis fab124a2e2 remove unnecessary 'new' operators 2024-07-01 06:00:33 +03:00
MihailRis 71c754b039 fix Image for non-existing textures in atlas 2024-06-30 22:25:31 +03:00
MihailRis 2dffdf757c add <image ...> atlases support 2024-06-30 22:05:12 +03:00
MihailRis c0dca31e98 memory refactor Texture and ImageData 2024-06-30 21:24:46 +03:00
MihailRis 94fe5eeb5b update ModelBatch semantics 2024-06-23 01:57:28 +03:00
MihailRis e4f9bd03b7 add src/coders/obj 2024-06-22 20:24:35 +03:00
MihailRis 6ba38ee167 add graphics/core/Model 2024-06-21 02:30:35 +03:00
MihailRis 6d6313cd10 add ModelBatch 2024-06-20 19:45:19 +03:00
@clasher113 22b3d84ee0 texture animation optimization 2024-06-13 17:34:36 +03:00
Pugemon f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis 7db76a0e6a refactor: Batch2D and Batch3D 2024-06-06 11:24:16 +03:00
MihailRis 74042b5c2a player.get_selected_block 2024-05-31 08:33:37 +03:00
MihailRis 43903bb378 memory-related refactor 2024-05-25 09:26:21 +03:00
MihailRis 165525f18c includes refactor 2024-05-13 03:20:09 +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 91aacafecb hpp++ 2024-05-06 01:36:21 +03:00
MihailRis 6b037ec7e8 hpp+ 2024-05-06 01:27:24 +03:00
MihailRis 7f8a86b740 minor refactor 2024-05-05 20:08:25 +03:00
MihailRis 3b4fc2dfea leaks fix (valgrind full leak check) in world 2024-04-30 03:17:24 +03:00
MihailRis f8289a5d78 leaks fix (valgrind full leak check) 2024-04-30 02:49:12 +03:00
MihailRis bcf2f5029d GfxContext renamed to DrawContext 2024-04-30 00:31:13 +03:00
MihailRis ef28a368cb refactor 2024-04-28 22:33:34 +03:00