153 Commits

Author SHA1 Message Date
MihailRis
e0314803c0 migrate from std::filesystem::path to io::path (WIP) 2025-01-30 22:23:13 +03:00
MihailRis
1e22882284 rename 'files' to 'io' 2025-01-30 16:53:52 +03:00
MihailRis
97eef3ef19 fix content stats 2024-12-29 20:28:45 +03:00
MihailRis
ebea9af380 add '...@append' method to block properties 2024-12-29 08:56:47 +03:00
MihailRis
954724c837 add 'culling' property & optimize generated chunk meshes & fix faces culling when 'light-passing' is false 2024-12-21 06:41:03 +03:00
MihailRis
cda34e3975 fix block overriding 2024-12-19 22:54:54 +03:00
MihailRis
cd630463b3 add block.properties, item.properties (experimental) 2024-11-22 11:08:36 +03:00
MihailRis
a200c3988b feat: load entity components after content load 2024-11-22 09:51:34 +03:00
MihailRis
0ec081a3ae feat: load world scripts after content load 2024-11-22 09:47:43 +03:00
MihailRis
a641099d36 feat: load block and item scripts after content load 2024-11-22 08:56:59 +03:00
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