107 Commits

Author SHA1 Message Date
MihailRis
9443892406 fixes 2025-01-21 06:51:29 +03:00
MihailRis
23c66654a2 add ENTITY_NONE, ENTITY_AUTO reserved entity id & update player.set_entity(...) 2025-01-21 05:56:14 +03:00
MihailRis
2fa71b3bf0 feat: players interpolation & add hud.set_allow_pause(...) 2025-01-17 01:44:46 +03:00
MihailRis
43dc88c6b5 move player animation to base:player_animator component 2025-01-16 06:58:53 +03:00
MihailRis
9cd3f3e4c8 add entity:get_player() 2025-01-16 06:50:01 +03:00
MihailRis
43f0cbe3fe add player.is_suspended, player.set_suspended 2025-01-15 22:25:51 +03:00
MihailRis
c1b311f3c4 refactor: change pointer parameters to references for Level and Content in various classes 2024-12-25 18:53:53 +03:00
MihailRis
e153e1fbd7 add player.is_loading_chunks, .set_loading_chunks 2024-12-24 10:35:09 +03:00
MihailRis
3d33de502d move 'player.noclip' and 'player.flight' handlers to Lua 2024-12-23 13:51:12 +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
4b42369c31 update PLAYER_AIR_DAMPING value to 8 2024-11-26 12:56:31 +03:00
MihailRis
acc4d2540d add player name 2024-11-23 05:38:18 +03:00
MihailRis
bd2acd5766 refactor players 2024-11-22 16:17:13 +03:00
MihailRis
2ba90625ce add player.is_instant_destruction, .set_instant_destruction 2024-11-21 05:02:45 +03:00
MihailRis
14b596140d add player.is_infinite_items, .set_infinite_items 2024-11-20 13:19:49 +03:00
MihailRis
e217476e84 fix renderHands with third person cameras 2024-10-31 21:27:30 +03:00
MihailRis
b93668ba94 feat: display a handheld item in first-person view (WIP) 2024-10-27 17:07:32 +03:00
MihailRis
ba9417a7e4 fix player entity teleport using debug_panel 2024-10-19 01:27:51 +03:00
MihailRis
552740b87b add missing includes 2024-10-18 02:43:16 +03:00
MihailRis
3146499433 fix fragment rotation bits & increase player spawn attempts number 2024-10-15 03:32:16 +03:00
MihailRis
073ef11cfa Merge branch 'main' into heightmaps 2024-10-04 16:58:50 +03:00
MihailRis
f63ab345ea fix: flight can stop on noclip enabled 2024-10-04 16:57:29 +03:00
MihailRis
ea9ad08bfd Merge branch 'main' into heightmaps 2024-10-03 19:12:37 +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
28b6ec2a0e Merge branch 'main' into blocks-metadata 2024-09-19 14:51:47 +03:00
MihailRis
d0328f2feb refactor Player serialization 2024-09-19 13:53:13 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
3f826a88d3 rename ContentLUT to ContentReport 2024-09-02 09:40:00 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
MihailRis
0adc13d01a fix: fatal error when 'body' or 'head' player bone not found 2024-08-09 19:28:18 +03:00
InfiniteCoder
85239004e3 window/ 2024-08-06 00:07:33 +03:00
InfiniteCoder
f66d0ce7fd physics/ 2024-08-06 00:07:00 +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
e1e3456139 content/ 2024-08-04 12:45:08 +03:00
Vyacheslav Ivanov
815ba45747
Merge remote-tracking branch 'origin/pvs-fix' into pvs-fix 2024-08-03 23:15:15 +03:00
MihailRis
e014931e1e fix: selection update latency 2024-08-03 22:36:18 +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
34ab3eb41c add player.get_camera(playerid) 2024-07-22 14:16:28 +03:00
MihailRis
0333ce6990 add bone "offset" parameter & update player model 2024-07-21 18:27:11 +03:00
MihailRis
d1696eea12 feat: saving current camera 2024-07-18 10:22:45 +03:00
MihailRis
41a22938d6 add 'entity.despawn' command 2024-07-17 07:35:02 +03:00
MihailRis
af1b32d91d remove camera latency 2024-07-15 14:06:49 +03:00
MihailRis
8bb736bef0 add skeleton:is_visible(...), skeleton:set_visible(...) 2024-07-15 12:05:11 +03:00
MihailRis
055781eeaf add skeleton:index(...) and player test model 2024-07-15 08:56:27 +03:00
MihailRis
e73ccaded1 add player.get_selected_entity(...) & update docs 2024-07-14 12:00:58 +03:00