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
Pugemon
e98fb9a1a7
Optimize container insertions using emplace_back instead of push_back
2024-06-07 04:43:27 +03:00
Pugemon
f25a425cb9
Optimize parameter passing to avoid unnecessary copying
2024-06-07 04:00:38 +03:00
MihailRis
7b0e31951b
block tick interval
2024-05-31 18:14:50 +03:00
MihailRis
47c6e35a0b
fix
2024-05-19 08:40:43 +03:00
MihailRis
c5f663b7cb
memory-related refactor
2024-05-19 07:09:58 +03:00
MihailRis
9522aedeec
quick check with linters
2024-05-10 12:34:05 +03:00
MihailRis
debdec1dc2
dynamic::create_map, dynamic::create_list
2024-05-09 20:30:14 +03:00
MihailRis
a4c21984d5
dynamic::Value simplified
2024-05-07 18:39:12 +03:00
MihailRis
1627e21c1d
the final rename
2024-05-06 03:38:19 +03:00
MihailRis
f27a418dbe
however
2024-05-06 03:15:27 +03:00
MihailRis
051f0b8c6a
rename
2024-04-23 18:43:02 +03:00
MihailRis
635e512142
scriptenv?
2024-04-21 15:41:47 +03:00
MihailRis
c8ca56fb8e
minor refactor
2024-04-10 19:55:03 +03:00
MihailRis
0c411cf227
debug::Logger
2024-04-04 18:19:19 +03:00
MihailRis
69f4e165a4
core:empty as default picking-item for hidden blocks
2024-03-19 14:20:39 +03:00
MihailRis
5c3b61265a
blocks and items 'caption' property
2024-03-12 16:59:34 +03:00