REDxEYE
16ddd943c2
ItemDef/EntityDef/Block: Add proper dependency resolution for blocks, items, entities
2024-08-21 19:15:09 +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
f43cc93cd2
update project includes format
2024-08-10 01:37:48 +03:00
InfiniteCoder
8f9c7eb7ff
data/
2024-08-05 23:59:42 +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
5c9bc83bbd
items/ + objects/ + util/
2024-08-04 22:26:08 +03:00
InfiniteCoder
3aa0298c85
files/
2024-08-04 17:08:11 +03:00
InfiniteCoder
e6da3638f0
Logger.hpp
2024-08-04 12:46:03 +03:00
InfiniteCoder
a745507ddd
coders/
2024-08-04 11:23:08 +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
Vyacheslav Ivanov
a20ffee7cb
fix: optimization: PVS-Studio warning V823
...
Replaced 'push_back' with 'emplace_back' for better performance in containers.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:44:51 +03:00
Vyacheslav Ivanov
c858913a2f
fix: optimization: PVS-Studio warning V807
...
Created references to avoid using repeated expressions, improving performance across multiple instances.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:43:12 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings"
2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
c4cc71623d
fix: optimization: PVS-Studio warning V807
...
Created references to avoid using repeated expressions, improving performance across multiple instances.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 06:07:50 +03:00
Vyacheslav Ivanov
7fbd32b8df
fix: optimization: PVS-Studio warning V823
...
Replaced 'push_back' with 'emplace_back' for better performance in containers.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 02:38:53 +03:00
Vyacheslav Ivanov
73e721513c
fix: optimization: PVS-Studio warning V836
...
Expression's value is copied at variable declaration.
The variable is never modified. Consider declaring it as a reference.
Changed variables to be a reference to avoid unnecessary copy.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-01 23:40:28 +03:00
MihailRis
71e20ff805
add block 'ambient-occlusion' property
2024-07-27 18:37:18 +03:00
MihailRis
ea765ffc0c
add new world events: on_block_broken, on_block_placed
2024-07-14 01:37:11 +03:00
MihailRis
a013e7eefd
feat: cameras saving/loading
2024-07-11 22:45:57 +03:00
MihailRis
45c4da048c
feat: saving/loading resource entries
2024-07-11 21:56:27 +03:00
MihailRis
ca8652ffab
add packs resources (WIP)
2024-07-11 10:32:05 +03:00
MihailRis
0ebc3da7f6
update components loading scheme
2024-07-10 07:15:07 +03:00
MihailRis
8edf9440a3
reduce redundancy
2024-07-10 06:51:14 +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
d8c9fa1fe2
loading rig pose, textures, body settings
2024-07-09 21:19:29 +03:00
MihailRis
f7d0ec438f
add falling_block entity
2024-07-09 18:41:03 +03:00
MihailRis
c94c2697e7
rename Trigger to Sensor
2024-07-09 07:37:20 +03:00
MihailRis
0a14d6220a
add BodyType, fix crouching
2024-07-09 06:39:05 +03:00
MihailRis
487ba84517
implement player entity
2024-07-08 18:45:35 +03:00
MihailRis
49aa64a033
change rigs role from assets to content units
2024-07-08 05:03:09 +03:00
MihailRis
c8666910ce
feat: loading entities (WIP)
2024-07-05 22:51:03 +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
736e5b95b6
add radial triggers
2024-07-04 06:09:29 +03:00
MihailRis
8add39e506
add entity trigger type parameter
2024-07-02 23:54:38 +03:00
MihailRis
0082a3444e
update component parent environment to the pack environment
2024-07-02 20:01:29 +03:00
MihailRis
15496070e0
add "triggers" entity property
2024-06-30 23:14:02 +03:00
MihailRis
5769be8ec8
add triggers
2024-06-30 16:25:08 +03:00
MihailRis
fc3994446a
update entity script semantics
2024-06-29 21:01:30 +03:00
MihailRis
eb2be5e8b6
add entity events: on_spawn, on_despawn
2024-06-28 12:16:31 +03:00
MihailRis
20ab48ecab
add drop.json
2024-06-27 03:09:16 +03:00
MihailRis
8d41f6af11
update ContentLoader part 1
2024-06-26 23:36:01 +03:00
MihailRis
f135896683
add entities indexing
2024-06-26 18:14:04 +03:00
MihailRis
66a1240fbc
refactor ContentBuilder and add entities support
2024-06-26 03:40:14 +03:00
MihailRis
ea53009b96
add block 'shadeless' property
2024-06-15 19:55:55 +03:00
MihailRis
4e696520b6
refactor: PlayerController
2024-06-09 16:30:01 +03:00
MihailRis
8aa6d5ee2d
add extended blocks (block size property)
2024-06-08 16:58:05 +03:00