MihailRis
7abb1a88c7
add particles lighting
2024-11-03 02:23:37 +03:00
MihailRis
b944f257f7
add particles collision detection
2024-11-03 01:59:41 +03:00
MihailRis
b191f2ba9d
add fullscreen block overlay
2024-10-31 18:22:55 +03:00
MihailRis
fae372d19f
feat: item models generation simple & remove core:item_models
2024-10-26 18:42:21 +03:00
MihailRis
6dc73646f0
fix: EVT_CHUNK_HIDDEN not triggered
2024-10-19 00:53:56 +03:00
MihailRis
fbca439b2d
fix: extended block always main segment passed to on_iteract
2024-10-15 05:24:52 +03:00
MihailRis
48143c5a2b
add fragment.crop, fragment:crop() & fix fragments rotation when width is not equal to depth & fix extra structures placements
2024-10-15 00:03:06 +03:00
MihailRis
b4578cfb87
fix caves issues & add block 'surface-replacement' property
2024-10-08 22:37:41 +03:00
MihailRis
ea9ad08bfd
Merge branch 'main' into heightmaps
2024-10-03 19:12:37 +03:00
MihailRis
c7ca7e58b3
rename chunk_inventories_map to ChunkInventoriesMap
2024-10-03 17:42:38 +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
bc05716772
implement blocks data conversion
2024-10-01 19:08:45 +03:00
MihailRis
28d746f371
implement blocks data saving/loading
2024-09-30 23:42:16 +03:00
MihailRis
e84c79839c
update blocks data lifetime
2024-09-30 21:33:19 +03:00
MihailRis
fc99343fb5
add block.get_field(...), block.set_field(...)
2024-09-30 18:55:01 +03:00
MihailRis
bf9f81a98c
Merge branch 'main' into heightmaps
2024-09-19 15:16:14 +03:00
MihailRis
28b6ec2a0e
Merge branch 'main' into blocks-metadata
2024-09-19 14:51:47 +03:00
MihailRis
34d2e6d400
migrate from dynamic::Value to dv::value & total erase namespace 'dynamic'
2024-09-18 23:31:18 +03:00
MihailRis
44753904dc
add Chunk.blocksMetadata
2024-09-14 20:26:36 +03:00
MihailRis
fdefbda49f
implement SurroundMap & update AreaMap2D
2024-09-10 20:34:26 +03:00
MihailRis
7c0c268508
optimize AreaMap2D
2024-09-09 20:37:42 +03:00
MihailRis
c3569b5dd4
add AreaMap2D
2024-09-09 18:02:08 +03:00
MihailRis
e30c1b3c03
upgrade regions format version to 3
2024-09-06 12:25:52 +03:00
MihailRis
4a619fc18e
add Chunk.convertV2
2024-09-05 11:34:01 +03:00
MihailRis
c18eddb63c
add Chunk.encodeV2, decodeV2
2024-09-05 11:29:07 +03:00
MihailRis
3f826a88d3
rename ContentLUT to ContentReport
2024-09-02 09:40:00 +03:00
MihailRis
7d193941a4
add /coders/compression module
2024-09-01 21:58:33 +03:00
MihailRis
0f53d5b835
refactor WorldRegions
2024-09-01 19:44:24 +03:00
MihailRis
f2395dede8
Merge branch 'main' into heightmaps
2024-08-23 00:01:57 +03:00
MihailRis
5500fe34ac
Merge pull request #299 from REDxEYE/definition_clone
...
Add support for `parent` field in block/item/entity json definitions
2024-08-22 23:52:28 +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
fcd1339e5b
Merge branch 'main' into heightmaps
2024-08-20 21:46:56 +03:00
REDxEYE
1be50c2e06
libblock.raycast: Add argument to specify blocks to ignore during ray casting
...
libentity.raycast: Add argument to specify blocks to ignore during ray casting
Chunk::rayCast: Add argument to specify blocks to ignore during ray casting.
On lua side filter blocks are passed as list of strings in form of "MOD:BLOCK_NAME"
On C++ size filter blocks are std::set of blockid_t
2024-08-19 21:36:30 +03:00
MihailRis
30925df319
move WorldGenerator to world/generator
2024-08-16 18:39:44 +03:00
MihailRis
eab1519597
fix GeneratorDef forward declaration
2024-08-14 19:15:17 +03:00
MihailRis
ae5671364a
add heightmap-based test generation
2024-08-14 18:44:32 +03:00
MihailRis
ddee38681e
fix: slow world saving
2024-08-14 01:32:31 +03:00
MihailRis
6ff90bfef3
fix: slow world saving
2024-08-14 01:31:56 +03:00
MihailRis
b1d14ad7da
fix entities clones
2024-08-11 19:00:03 +03:00
MihailRis
71360a6416
fix macos build
2024-08-10 05:55:19 +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
MihailRis
6c4fb417c5
optimize Chunks::save
2024-08-10 00:08:44 +03:00
MihailRis
6e1fe28f1a
fix: chunks not saving
2024-08-10 00:03:36 +03:00
MihailRis
51f6f0e629
add entity 'save' property support
2024-08-08 17:07:24 +03:00
InfiniteCoder
b77e9e811e
More maths
2024-08-06 00:09:18 +03:00
InfiniteCoder
54f15ecaea
maths/
2024-08-06 00:06:23 +03:00
InfiniteCoder
79ccde35b7
lighting/
2024-08-06 00:05:41 +03:00