143 Commits

Author SHA1 Message Date
MihailRis
f9f150f0aa fix entity component script source path in lua traceback 2024-11-19 07:35:38 +03:00
MihailRis
e3cb736519 update lua chunks sources to the engine format 2024-11-18 14:05:45 +03:00
MihailRis
5793c52ac6 Revert "remove 'translucent' block property (will be reverted later)"
This reverts commit 7aacadc926432da2583b95f6a02af08ee51c2c91.
2024-11-15 06:47:03 +03:00
MihailRis
423ac2c44e add 'model-name' block property 2024-11-05 22:23:53 +03:00
MihailRis
64369fb189 fix custom model block particles when texture is not specified 2024-11-05 21:59:00 +03:00
MihailRis
5e0bcf8ec0 feat: new block custom models implementation (WIP) 2024-11-05 19:28:40 +03:00
MihailRis
eba214f15e Merge branch 'main' into particles-first 2024-11-04 23:36:58 +03:00
@clasher113
bb96db8d55 Merge branch 'main' of https://github.com/MihailRis/VoxelEngine-Cpp 2024-11-04 22:15:56 +02:00
@clasher113
9d3e872f88 blocks lighting bug fix 2024-11-04 22:15:14 +02:00
MihailRis
0eeb6b6eb2 add block particles property 2024-11-04 22:48:39 +03:00
MihailRis
b191f2ba9d add fullscreen block overlay 2024-10-31 18:22:55 +03:00
MihailRis
0618028df1 add 'model-name' item property 2024-10-30 12:46:36 +03:00
MihailRis
fae372d19f feat: item models generation simple & remove core:item_models 2024-10-26 18:42:21 +03:00
MihailRis
ab2b24d982 make generation.get_generators nothrow 2024-10-18 08:16:55 +03:00
MihailRis
4c3ce8c174 add resource-aliases.json 2024-10-14 07:18:24 +03:00
MihailRis
de00414456 add generator 'caption' property 2024-10-13 22:53:12 +03:00
MihailRis
7c56d8fd7f replace biomes.json with biomes.toml & make it combined object 2024-10-13 21:50:39 +03:00
MihailRis
b4578cfb87 fix caves issues & add block 'surface-replacement' property 2024-10-08 22:37:41 +03:00
MihailRis
d31a935009 Merge branch 'main' into heightmaps 2024-10-05 00:06:14 +03:00
MihailRis
b984e363ea add block size check to ContentLoader 2024-10-05 00:04:07 +03:00
MihailRis
ea9ad08bfd Merge branch 'main' into heightmaps 2024-10-03 19:12:37 +03:00
MihailRis
ab53922474 extend user block fields check 2024-10-03 16:08:40 +03:00
MihailRis
e0a4876f3f add explicit block fields total size limit - 240 bytes 2024-10-02 17:08:46 +03:00
MihailRis
fc99343fb5 add block.get_field(...), block.set_field(...) 2024-09-30 18:55:01 +03:00
MihailRis
c46090f881 update generators scanning 2024-09-27 23:55:14 +03:00
MihailRis
39030efd74 refactor ContentLoader 2024-09-27 04:21:35 +03:00
MihailRis
3d478aef08 add generator definition file (.toml) 2024-09-26 22:26:01 +03:00
MihailRis
788ad1f6a6 add core:obstacle block & move cameras from base to core & add new generator 2024-09-25 15:45:45 +03:00
MihailRis
dbaea71398 fix structures choosing 2024-09-24 18:31:15 +03:00
MihailRis
323c2f2935 refactor & add structures.json 2024-09-24 04:05:13 +03:00
MihailRis
bf9f81a98c Merge branch 'main' into heightmaps 2024-09-19 15:16:14 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
f2395dede8 Merge branch 'main' into heightmaps 2024-08-23 00:01:57 +03:00
REDxEYE
fcd26f4b10 ContentLoader::load: Minor cleanup 2024-08-21 19:28:08 +03:00
REDxEYE
16ddd943c2 ItemDef/EntityDef/Block: Add proper dependency resolution for blocks, items, entities 2024-08-21 19:15:09 +03:00
REDxEYE
5f6ae5daba ItemDef/EntityDef/Block: Add method cloneTo to definition to other definition
ContentBuilder: Add method `get` to get definition or nullptr
ContentLoader: Add functionality to clone from definition specified in `parent` field in json
2024-08-20 21:58:01 +03:00
MihailRis
2a767a3638 add generator layers 2024-08-17 18:11:52 +03:00
MihailRis
95cf451cc8 add GeneratorScript 2024-08-14 17:12:12 +03:00
MihailRis
6f5eb6be48 refactor ContentLoader 2024-08-14 02:18:16 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
8f9c7eb7ff data/ 2024-08-05 23:59:42 +03:00
InfiniteCoder
7f75c454c8 logic/ 2024-08-05 23:23:28 +03:00
InfiniteCoder
c7755040bd voxels/ 2024-08-04 22:42:44 +03:00
InfiniteCoder
5c9bc83bbd items/ + objects/ + util/ 2024-08-04 22:26:08 +03:00
InfiniteCoder
3aa0298c85 files/ 2024-08-04 17:08:11 +03:00
InfiniteCoder
e6da3638f0 Logger.hpp 2024-08-04 12:46:03 +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
bbf33e8e4d
format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
Vyacheslav Ivanov
a20ffee7cb fix: optimization: PVS-Studio warning V823
Replaced 'push_back' with 'emplace_back' for better performance in containers.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:44:51 +03:00