MihailRis
49dd866c22
update Chunks::configure
2024-12-17 20:43:42 +03:00
MihailRis
1c18c02092
move Chunks from Level to Player
2024-12-17 19:40:00 +03:00
MihailRis
b7664b4188
move Lighting instance to ChunksController
2024-12-17 05:13:49 +03:00
MihailRis
fb3f201dfc
move setRotation, checkReplaceability, raycast logic to the blocks_agent
2024-12-16 23:32:52 +03:00
MihailRis
c7c2fe29d2
move seekOrigin logic to the blocks_agent
2024-12-16 22:37:55 +03:00
MihailRis
87c19d69dc
move block set logic to the blocks_agent
2024-12-16 20:46:06 +03:00
MihailRis
6157f8193d
add blocks_agent templates & remove block.get_slow
2024-12-16 11:26:57 +03:00
MihailRis
e0b3425eff
migrate blocks interaction (scripting) to global chunks storage (WIP)
2024-12-13 05:54:41 +03:00
Richard Try
f6d5735f14
Fix neighbour chunk update
...
+1 for x axis is missed in getChunk()
2024-12-07 18:57:16 +03:00
MihailRis
61b1aa8e3d
add gfx.blockwraps library & add on_player_tick world event
2024-11-21 06:48:23 +03:00
MihailRis
6f6c2a916a
fix block inventory unbinding
2024-11-19 11:46:04 +03:00
MihailRis
c5ca9128e9
move getVoxels from ChunksStorage to Chunks
2024-11-11 22:30:42 +03:00
MihailRis
961773c9f9
fix potential null dereferences on incorrect block.* functions use & refactor
2024-11-06 02:55:37 +03:00
MihailRis
5e0bcf8ec0
feat: new block custom models implementation (WIP)
2024-11-05 19:28:40 +03:00
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
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
ea9ad08bfd
Merge branch 'main' into heightmaps
2024-10-03 19:12:37 +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
34d2e6d400
migrate from dynamic::Value to dv::value & total erase namespace 'dynamic'
2024-09-18 23:31:18 +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
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
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
a7d6c96a5c
remove extra functions
2024-08-10 05:48:05 +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
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
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
e1e3456139
content/
2024-08-04 12:45:08 +03:00
InfiniteCoder
a745507ddd
coders/
2024-08-04 11:23:08 +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