86 Commits

Author SHA1 Message Date
MihailRis
b927c19f4f Merge branch 'main' into headless-mode 2024-12-25 10:28:47 +03:00
MihailRis
bb038653d6 fix UVFace.rotate 2024-12-25 10:28:31 +03:00
MihailRis
deb85ba2d8 Merge branch 'main' into headless-mode 2024-12-25 05:31:54 +03:00
MihailRis
560288b5c3 update util::PseudoRandom.setSeed 2024-12-24 20:00:49 +03:00
MihailRis
0940e899cf Merge branch 'main' into headless-mode 2024-12-24 08:49:50 +03:00
MihailRis
10491fbb61 add UVFace 2024-12-24 08:49:20 +03:00
MihailRis
e0b3425eff migrate blocks interaction (scripting) to global chunks storage (WIP) 2024-12-13 05:54:41 +03:00
MihailRis
9e02f1122f add BlockWrapsRenderer (WIP) 2024-11-20 14:42:53 +03:00
MihailRis
5b6ada6e5d add more NotePreset properties 2024-11-14 02:21:15 +03:00
MihailRis
86b5f5d82b fix custom block models 2024-11-07 07:27:29 +03:00
MihailRis
5e0bcf8ec0 feat: new block custom models implementation (WIP) 2024-11-05 19:28:40 +03:00
MihailRis
4cf09aa057 Merge branch 'main' into particles-first 2024-11-05 03:15:34 +03:00
MihailRis
d15624cd47 fix rotated aabb blocking check & refactor PlayerController 2024-11-05 03:15:11 +03:00
MihailRis
f04d197047 Merge branch 'main' into particles-first 2024-11-05 03:02:42 +03:00
Sergwest585
726ee8ad70 fix colision check on block place 2024-11-05 02:42:48 +03:00
MihailRis
86b83a5377 add 'random_sub_uv' particle setting 2024-11-03 16:49:31 +03:00
MihailRis
d8c3940451 add 'heights-interpolation', 'biomes-interpolation' 2024-10-28 09:22:02 +03:00
MihailRis
99d9533453 reimplement bicubic interpolation 2024-10-28 01:38:34 +03:00
MihailRis
c433681842 revert ChancellorIkseew/bicubic-interpolation 2024-10-27 23:43:06 +03:00
ChancellorIkseew
2bf6ca9b7a add cubic interpolation type 2024-10-28 04:47:40 +10:00
MihailRis
59c4e26eda feat: heightmap-inputs 2024-10-16 00:38:58 +03:00
MihailRis
b4578cfb87 fix caves issues & add block 'surface-replacement' property 2024-10-08 22:37:41 +03:00
MihailRis
5966ca5617 refactor WorldGenerator 2024-10-08 16:57:24 +03:00
MihailRis
ba3ac11b41 optimize lines generation 2024-10-08 16:26:26 +03:00
MihailRis
116cbd61db feat: 'lines' (cave-like structures/tunnels) (WIP) 2024-10-08 02:32:45 +03:00
MihailRis
36eed38b4c add new methods to PseudoRandom & move this class to util:: 2024-09-24 22:37:31 +03:00
MihailRis
88b0f8e3d6 add VoxelStructure lua usertype 2024-09-19 18:41:34 +03:00
MihailRis
8516cf4f7f add world generator level 2 (heightmaps) 2024-09-11 15:23:09 +03:00
MihailRis
572eaec429 add test biomes 2024-08-19 20:11:55 +03:00
MihailRis
8fb0f6a1bb add basic heightmaps generator optimization 2024-08-18 00:08:36 +03:00
MihailRis
8c0a3f4260 add heightmap:resize(int, int, str) 2024-08-17 22:09:31 +03:00
MihailRis
95cf451cc8 add GeneratorScript 2024-08-14 17:12:12 +03:00
MihailRis
a7d6c96a5c remove extra functions 2024-08-10 05:48:05 +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
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
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