67 Commits

Author SHA1 Message Date
MihailRis
2fa71b3bf0 feat: players interpolation & add hud.set_allow_pause(...) 2025-01-17 01:44:46 +03:00
MihailRis
9cd3f3e4c8 add entity:get_player() 2025-01-16 06:50:01 +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
c3f22c6854 rename 2024-12-21 13:11:23 +03:00
MihailRis
e9163f4228 refactor WorldRenderer 2024-11-14 06:13:53 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
333cbfe6f5 refactor: add 'const' qualifier for content units 2024-08-20 22:00:30 +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
51f6f0e629 add entity 'save' property support 2024-08-08 17:07:24 +03:00
InfiniteCoder
f66d0ce7fd physics/ 2024-08-06 00:07:00 +03:00
InfiniteCoder
8f9c7eb7ff data/ 2024-08-05 23:59:42 +03:00
InfiniteCoder
5c9bc83bbd items/ + objects/ + util/ 2024-08-04 22:26:08 +03:00
InfiniteCoder
f837bc5158 Merge remote-tracking branch 'origin/main' 2024-08-04 22:04:23 +03:00
MihailRis
d59491f63a update entity Transform epsilon 2024-08-04 16:57:34 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +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
78e274dec4 fix frustum culling for entities 2024-08-03 17:41:03 +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
f8907f7db1 add on_update, on_render to docs & change entities tps to 20 2024-08-01 16:04:27 +03:00
MihailRis
cf12338a32 add skeleton debug view 2024-07-21 14:52:16 +03:00
MihailRis
c63e19e87b fix wrong entity display position on slow movement 2024-07-20 21:56:19 +03:00
MihailRis
e008832ebb update Entities::preparePhysics - ticks are delta-based now 2024-07-19 21:23:58 +03:00
MihailRis
1eac343619 add entities.get_all(...), .get_all_in_box(...), .get_all_in_radius(...) 2024-07-17 14:51:55 +03:00
MihailRis
1b99a48849 update entities.spawn(...) semantics to the docs state 2024-07-17 10:17:20 +03:00
MihailRis
50050dbe40 add entity events: on_attacked, on_used 2024-07-16 14:04:05 +03:00
MihailRis
54902d7f49 refactor entities events 2024-07-16 13:27:39 +03:00
MihailRis
c17f3fec54 add entities raycast 2024-07-14 10:50:06 +03:00
MihailRis
e0358fe2db add 'blocking' entity property 2024-07-10 04:56:02 +03:00
MihailRis
60f4f33180 rename rig to skeleton 2024-07-10 04:28:12 +03:00
MihailRis
c94c2697e7 rename Trigger to Sensor 2024-07-09 07:37:20 +03:00
MihailRis
f52a435aea add Hitbox.gravityMultiplier 2024-07-09 02:14:14 +03:00
MihailRis
690b8f4807 fix: on_render called while paused 2024-07-08 22:56:22 +03:00
MihailRis
19c6a82ab2 refactor Entities load + loading velocity 2024-07-08 22:47:01 +03:00
MihailRis
49aa64a033 change rigs role from assets to content units 2024-07-08 05:03:09 +03:00
MihailRis
cf2faa4a01 implement nextEntityID save/load 2024-07-05 23:41:55 +03:00
MihailRis
c8666910ce feat: loading entities (WIP) 2024-07-05 22:51:03 +03:00
MihailRis
08cc78289d add entity on_save event and SAVED_DATA variable 2024-07-05 18:35:46 +03:00
MihailRis
f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis
8f379f2ee7 feat: multiple components per entity support 2024-07-04 19:47:52 +03:00
MihailRis
a6aa42a521 add transform:get_size(), :set_size(...) 2024-07-04 06:18:11 +03:00
MihailRis
48b5be6bc9 add drop-item model, new block functions 2024-07-03 16:34:09 +03:00
MihailRis
3fe66e134d add modeltree:get_model(index) 2024-07-02 17:06:33 +03:00
MihailRis
56ef207b7d update entities render to use rigs 2024-07-02 15:04:41 +03:00
MihailRis
8e08f79b54 add modeltree component 2024-07-01 22:09:52 +03:00
MihailRis
beac332c96 update RigConfig 2024-07-01 05:30:27 +03:00
MihailRis
1b41a75cf4 add component ARGS variable 2024-07-01 00:17:58 +03:00
MihailRis
d4460928e5 add Transform.dirty flag 2024-06-30 19:19:43 +03:00
MihailRis
df39a9a8f3 add new model and "optimizations" 2024-06-30 18:24:30 +03:00