42 Commits

Author SHA1 Message Date
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
8ef288c189 refactor lua scripting a bit 2024-08-19 00:57:49 +03:00
MihailRis
c75f6e4e67 fix block.compose_state 2024-08-12 01:55:39 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +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
7f75c454c8 logic/ 2024-08-05 23:23:28 +03:00
InfiniteCoder
c7755040bd voxels/ 2024-08-04 22:42:44 +03:00
InfiniteCoder
e1e3456139 content/ 2024-08-04 12:45:08 +03:00
MihailRis
47db626145 refactor: PVS-Studio warnings fixes 2024-08-04 01:30:52 +03:00
MihailRis
245b39be62 refactor: PVS-Studio warnings fixes 2024-08-04 01:12:42 +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
eefaafd1e7 update block.compose_state, block.decompose_state semantics 2024-07-31 14:56:42 +03:00
MihailRis
adafc94fa1 add block.compose_state(...), block.decompose_state(...) 2024-07-27 13:23:35 +03:00
MihailRis
02c9c4ced3 add mat4.from_quat(...) & update mat4.decompose(...) 2024-07-19 07:48:42 +03:00
MihailRis
d285ffb2f7 update entities library semantics 2024-07-18 11:54:37 +03:00
MihailRis
c9257ec127 add block.place(...), block.destruct(...) 2024-07-18 08:41:16 +03:00
MihailRis
9cec475866 add block.raycast(...) 2024-07-14 13:16:07 +03:00
MihailRis
277155e3d1 update block library docs & add block.get_picking_item(...) 2024-07-09 18:39:33 +03:00
MihailRis
0a14d6220a add BodyType, fix crouching 2024-07-09 06:39:05 +03:00
MihailRis
e6c3775286 improve drop visuals 2024-07-03 21:09:38 +03:00
MihailRis
4b084dffad add aabb drop models support 2024-07-03 19:21:05 +03:00
MihailRis
48b5be6bc9 add drop-item model, new block functions 2024-07-03 16:34:09 +03:00
MihailRis
1c4e13dc67 add block.get_textures 2024-07-03 05:15:15 +03:00
MihailRis
ee9f1639e9 refactor Content 2024-06-25 22:37:53 +03:00
MihailRis
913e5983b1 refactor: complete 'lua' namespace use 2024-06-11 13:51:11 +03:00
MihailRis
90bc86408b refactor: LuaState replaced with lua_engine 2024-06-11 13:18:30 +03:00
MihailRis
0647bc6f90 refactor: 'lua' namespace expansion 2024-06-11 03:37:35 +03:00
MihailRis
1abb2cf327 add block.is_extended, .get_size, .is_segment and .seek_origin 2024-06-09 23:36:19 +03:00
MihailRis
90ed175915 feat: extended blocks rotation 2024-06-09 19:54:34 +03:00
MihailRis
3650e33f4c fix 2024-06-03 16:33:15 +03:00
MihailRis
e8982353cc added block.caption(blockid) -> str 2024-06-03 16:32:56 +03:00
MihailRis
86dd6562de fix: user bits and manually set rotation not saving 2024-05-31 11:26:16 +03:00
MihailRis
6d933ac263 converting block states to a bitfield 2024-05-31 11:13:36 +03:00
MihailRis
1917cbba8b new player.* functions 2024-05-24 01:38:39 +03:00
MihailRis
1f11290635 more test commands 2024-05-13 21:28:55 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis
9ea67deb13 'ifnot' template property + hpp 2024-05-06 00:45:43 +03:00
MihailRis
b1a79e3a6e block.material + minor refactor 2024-04-25 05:12:45 +03:00
InfiniteCoder
fcb420c4c7 Event queue 2024-03-07 22:33:08 +03:00
MihailRis
6bf6e8e011 lua api refactor 2024-03-05 13:58:08 +03:00