50 Commits

Author SHA1 Message Date
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +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
8617784084 fix blocks placing when crouching 2024-07-13 04:48:03 +03:00
MihailRis
f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis
736e5b95b6 add radial triggers 2024-07-04 06:09:29 +03:00
MihailRis
a72a37ccf7 Merge branch 'main' into entities 2024-07-01 06:21:00 +03:00
MihailRis
fab124a2e2 remove unnecessary 'new' operators 2024-07-01 06:00:33 +03:00
MihailRis
316233816f Merge branch 'main' into entities 2024-06-30 22:16:14 +03:00
MihailRis
2dffdf757c add <image ...> atlases support 2024-06-30 22:05:12 +03:00
MihailRis
5769be8ec8 add triggers 2024-06-30 16:25:08 +03:00
MihailRis
69ddcb7595 add test model 2024-06-24 01:05:28 +03:00
MihailRis
30ac1a58ee remove test code 2024-06-23 02:05:13 +03:00
MihailRis
b3ae8484a2 fix: extended blocks raycast fix 2024-06-09 13:48:43 +03:00
MihailRis
8aa6d5ee2d add extended blocks (block size property) 2024-06-08 16:58:05 +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
MihailRis
6b037ec7e8 hpp+ 2024-05-06 01:27:24 +03:00
MihailRis
4ac8ea1ab3 final rename 2024-04-24 19:01:28 +03:00
MihailRis
657b09da9e languages menu moved to xml + minor refactor 2024-04-13 16:28:06 +03:00
MihailRis
f64a851a24 UVRegion moved to 'maths' 2024-03-20 10:48:49 +03:00
MihailRis
4d70138b24 minor refactor + 4 spaces indentation 2024-03-13 19:21:40 +03:00
MihailRis
ff7e39ed27 fix 2024-03-08 22:48:06 +03:00
MihailRis
93979b2e53 LMPacker indents fix 2024-03-08 22:31:32 +03:00
MihailRis
e16f7567b1 lua: inventory library 2024-02-12 13:56:46 +03:00
MihailRis
a4a5aef422 skybox: added moon and stars 2024-01-26 02:49:42 +03:00
MihailRis
6214e1a507 randomTick sped up with faster rand implementation 2024-01-17 23:41:11 +03:00
A-lex-Ra
d671188680 small refactoring 2024-01-05 13:13:02 +06:00
A-lex-Ra
f69f6e2711 simplify rays (no templates) 2024-01-04 23:52:15 +06:00
A-lex-Ra
76475dd1b1 refactoring btw 2023-12-20 22:23:55 +06:00
A-lex-Ra
dd1ff089b9 rays efficiency and readability improve 2023-12-19 09:26:13 +06:00
A-lex-Ra
079b9bd597 fix rayboxCache (just off) 2023-12-10 22:46:30 +06:00
A-lex-Ra
81d431e7e7 rays fixed 2023-12-10 22:30:34 +06:00
MihailRis
7cc384e171 Added missing include 2023-12-09 22:00:39 +03:00
Ara
616057b2b9 normals finished 2023-12-10 00:38:32 +06:00
Ara
f5b5130e8b small fixes 2023-12-09 23:16:17 +06:00
Ara
c5ab5996a3 quickfix typo 2023-12-09 20:20:48 +06:00
Ara
ed57c0b075 raycast impl
(not finished normals and intersection point returning)
2023-12-09 19:10:02 +06:00
MihailRis
91a6426efe AABB block hitboxes 2023-11-29 16:36:00 +03:00
MihailRis
f3889421d8 AABB.inside fix 2023-11-29 13:21:31 +03:00
MihailRis
7add5e6dcb Added AABB struct 2023-11-29 13:18:47 +03:00
MihailRis
230d71ab49 small fix 2023-11-23 12:30:51 +03:00
MihailRis
1cf4cb727f LMPacker fix 2023-11-23 12:28:28 +03:00
MihailRis
fb8d220cca Blocks atlas is auto-assembling now 2023-11-22 01:53:48 +03:00
@clasher113
883dcbf168 Advancec Frustum Culling & fixes 2023-11-16 16:42:57 +02:00
MihailRis
e437cc99ce EngineSettings.chunksLoadSpeed; removed unused assets 2023-11-06 00:20:58 +03:00
MihailRis
7730da0056 Project structure update 2023-11-05 22:30:52 +03:00
MihailRis
bc9d29cf68
A lot of changes in almost all files 2022-02-28 02:30:15 +03:00