239 Commits

Author SHA1 Message Date
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
MihailRis
3f826a88d3 rename ContentLUT to ContentReport 2024-09-02 09:40:00 +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
MihailRis
333cbfe6f5 refactor: add 'const' qualifier for content units 2024-08-20 22:00:30 +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
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
0adc13d01a fix: fatal error when 'body' or 'head' player bone not found 2024-08-09 19:28:18 +03:00
MihailRis
51f6f0e629 add entity 'save' property support 2024-08-08 17:07:24 +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
54f15ecaea maths/ 2024-08-06 00:06:23 +03:00