66 Commits

Author SHA1 Message Date
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
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