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
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
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
ddee38681e
fix: slow world saving
2024-08-14 01:32:31 +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
InfiniteCoder
9f9b9f2d64
world/
2024-08-05 23:49:11 +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
eb061bcaf4
graphics/
2024-08-04 22:12:48 +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
e1e3456139
content/
2024-08-04 12:45:08 +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
MihailRis
245b39be62
refactor: PVS-Studio warnings fixes
2024-08-04 01:12:42 +03:00
Vyacheslav Ivanov
ab28b4df70
fix: PVS-Studio V550
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 23:00:10 +03:00
Vyacheslav Ivanov
3621e7ce1b
fix: PVS-Studio V522 mark false
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 23:00:10 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +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
MihailRis
71e20ff805
add block 'ambient-occlusion' property
2024-07-27 18:37:18 +03:00
MihailRis
ec4043bc12
remove third person cameras height limitation
2024-07-17 19:12:59 +03:00
MihailRis
2e407e7f60
fix gcc warning
2024-07-17 12:26:30 +03:00
MihailRis
217c3ad6a8
update chunk hitbox to infinite height
2024-07-15 05:51:46 +03:00
MihailRis
c17f3fec54
add entities raycast
2024-07-14 10:50:06 +03:00
MihailRis
638a0d9850
fix NONE rotation profile
2024-07-14 01:57:18 +03:00
MihailRis
7487c55e0c
Merge branch 'main' into entities
2024-07-10 09:25:56 +03:00
MihailRis
4c8ae465c7
add 'grounded' support for 'pipe' rotation profile
2024-07-10 09:14:24 +03:00
MihailRis
0a14d6220a
add BodyType, fix crouching
2024-07-09 06:39:05 +03:00
MihailRis
0f26bbadfd
fix Block.rt and ItemDef.rt initialization
2024-07-06 01:34:52 +03:00
MihailRis
e6d4688f03
despawn entities after chunk unload
2024-07-06 01:30:43 +03:00
MihailRis
f4d3e62b3f
add chunk 'entities' flag
2024-07-05 23:26:17 +03:00
MihailRis
c8666910ce
feat: loading entities (WIP)
2024-07-05 22:51:03 +03:00
MihailRis
08cc78289d
add entity on_save event and SAVED_DATA variable
2024-07-05 18:35:46 +03:00
MihailRis
f0270d3391
feat: saving entities (WIP)
2024-07-05 05:16:31 +03:00
MihailRis
1acced4475
fix and refactor ContentLUT
2024-06-25 23:36:07 +03:00
MihailRis
ee9f1639e9
refactor Content
2024-06-25 22:37:53 +03:00