250 Commits

Author SHA1 Message Date
MihailRis
5607e0f039 fix: entity:despawn in on_save not preventing entity save 2025-02-26 16:35:23 +03:00
MihailRis
5e10afc9b5 fix: disabled bodies not skipping in entities raycast 2025-02-21 21:13:22 +03:00
MihailRis
b832b9850f fix incorrect entity transform scale & rotation combination 2025-02-12 21:16:05 +03:00
MihailRis
3430e5cd6f add 'player-entity' to defaults.toml 2025-02-12 16:32:21 +03:00
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
65fec4f4a9 introduce local player 2025-01-16 05:59:43 +03:00
MihailRis
43f0cbe3fe add player.is_suspended, player.set_suspended 2025-01-15 22:25:51 +03:00
MihailRis
13c36f4629 feat: player.delete() function and update documentation 2024-12-26 05:47:18 +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
5e76cdfadc rename engine.hpp/cpp to Engine.hpp/cpp & move Engine, Time and mainloop classes to 'engine' folder 2024-12-25 12:13:03 +03:00
MihailRis
b4abecc764 refactor 2024-12-24 11:31:54 +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
c3f22c6854 rename 2024-12-21 13:11:23 +03:00
MihailRis
1cd85b6f77 implement player ticks in headless mode & prevent on_player_tick call if player chunk does not exists 2024-12-18 23:31:26 +03:00
MihailRis
48d94036fd rename Level.chunksStorage to Level.chunks 2024-12-17 23:57:00 +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
c1a7b7545a change components on_render call timing 2024-12-11 21:07:38 +03:00
MihailRis
c67f158e62 remove default player from headless mode 2024-12-11 00:31:08 +03:00
MihailRis
4b42369c31 update PLAYER_AIR_DAMPING value to 8 2024-11-26 12:56:31 +03:00
MihailRis
65e5063326 add player names display 2024-11-23 07:41:44 +03:00
MihailRis
acc4d2540d add player name 2024-11-23 05:38:18 +03:00
MihailRis
97a4741a73 fix 2024-11-23 05:23:23 +03:00
MihailRis
7027bd6f28 add Players 2024-11-23 05:14:12 +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
e9163f4228 refactor WorldRenderer 2024-11-14 06:13:53 +03:00
MihailRis
f38f84c779 move graphics/core/Model to graphics/commons/Model 2024-11-05 15:28:46 +03:00
MihailRis
e217476e84 fix renderHands with third person cameras 2024-10-31 21:27:30 +03:00
MihailRis
d3def8e741 Merge branch 'main' into item-models 2024-10-29 23:05:14 +03:00
MihailRis
effdac2d4d add entities.def_hitbox function 2024-10-29 21:16:25 +03:00
MihailRis
e37e45d9d5 set 'save-body-settings' default value to true 2024-10-29 15:25:22 +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
3953583605 minimize extra dv::value copies 2024-09-19 13:45:32 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00