MihailRis
f7492ce449
add lua dv::bytes support
2024-10-03 18:23:50 +03:00
MihailRis
5ff00df527
micro refactor
2024-10-02 20:24:50 +03:00
MihailRis
87cf6c41bc
update block.get_field, block.set_field and fields-related docs
2024-10-02 17:56:19 +03:00
MihailRis
28d746f371
implement blocks data saving/loading
2024-09-30 23:42:16 +03:00
MihailRis
e84c79839c
update blocks data lifetime
2024-09-30 21:33:19 +03:00
MihailRis
4f559c1086
refactor libblock
2024-09-30 20:15:22 +03:00
MihailRis
fc99343fb5
add block.get_field(...), block.set_field(...)
2024-09-30 18:55:01 +03:00
MihailRis
3953583605
minimize extra dv::value copies
2024-09-19 13:45:32 +03:00
MihailRis
4ae141d982
limit dv::value templated constructors & refactor
2024-09-19 04:22:57 +03:00
MihailRis
34d2e6d400
migrate from dynamic::Value to dv::value & total erase namespace 'dynamic'
2024-09-18 23:31:18 +03:00
MihailRis
8ddfa48339
fix skeleton:get_texture
2024-08-30 06:17:15 +03:00
MihailRis
333cbfe6f5
refactor: add 'const' qualifier for content units
2024-08-20 22:00:30 +03:00
MihailRis
2689e13cea
Merge pull request #297 from REDxEYE/raycast-filter
...
Lua/C++ api: Allow to specify what blocks to ignore during raycast
2024-08-20 21:46:33 +03:00
REDxEYE
408e7fd763
debug.print: remove as many allocations as possible, modified string print to escape any special characters
2024-08-20 18:10:05 +03:00
REDxEYE
6ff608c012
lua_extensions: Fix wrong repr function name
2024-08-20 15:14:27 +03:00
REDxEYE
7fa061c941
lua_extensions: Add debug.print function that can pretty-print tables recursively(with depth limit of 10)
2024-08-20 15:09:32 +03:00
REDxEYE
1be50c2e06
libblock.raycast: Add argument to specify blocks to ignore during ray casting
...
libentity.raycast: Add argument to specify blocks to ignore during ray casting
Chunk::rayCast: Add argument to specify blocks to ignore during ray casting.
On lua side filter blocks are passed as list of strings in form of "MOD:BLOCK_NAME"
On C++ size filter blocks are std::set of blockid_t
2024-08-19 21:36:30 +03:00
MihailRis
8ef288c189
refactor lua scripting a bit
2024-08-19 00:57:49 +03:00
MihailRis
e19ed3d239
add pseudopack 'core'
2024-08-14 00:24:22 +03:00
MihailRis
c75f6e4e67
fix block.compose_state
2024-08-12 01:55:39 +03:00
MihailRis
3d3da1cdcd
refactor World
2024-08-11 16:30:58 +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
alexei-zebra
91ad9cc64c
add compatibility with other files
2024-08-06 15:51:55 +03:00
MihailRis
6a86282d31
fix input.add_callback
2024-08-06 13:49:22 +03:00
InfiniteCoder
6e8c671e82
Controversial
2024-08-06 00:18:17 +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
79ccde35b7
lighting/
2024-08-06 00:05:41 +03:00
InfiniteCoder
9283aa605f
frontend/
2024-08-06 00:01:27 +03:00
InfiniteCoder
8f9c7eb7ff
data/
2024-08-05 23:59:42 +03:00
InfiniteCoder
3b6e7d1877
audio/
2024-08-05 23:58:14 +03:00
InfiniteCoder
9f9b9f2d64
world/
2024-08-05 23:49:11 +03:00
InfiniteCoder
9340e962d3
Controversial
2024-08-05 23:26:43 +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
eb061bcaf4
graphics/
2024-08-04 22:12:48 +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
e1e3456139
content/
2024-08-04 12:45:08 +03:00
InfiniteCoder
a745507ddd
coders/
2024-08-04 11:23:08 +03:00
InfiniteCoder
21ff65d781
assets/
2024-08-04 11:08:07 +03:00
InfiniteCoder
d5dc68dd38
Root includes
2024-08-04 10:24:11 +03:00
MihailRis
47db626145
refactor: PVS-Studio warnings fixes
2024-08-04 01:30:52 +03:00
MihailRis
245b39be62
refactor: PVS-Studio warnings fixes
2024-08-04 01:12:42 +03:00
Vyacheslav Ivanov
3621e7ce1b
fix: PVS-Studio V522 mark false
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 23:00:10 +03:00
Vyacheslav Ivanov
4efa574eec
fix: PVS-Studio V508 mark false
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 21:05:19 +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
5e70837d3f
fix: optimization: PVS-Studio warning V815
...
The 'empty()' method is more efficient for checking if a string is empty compared to comparing it with an empty string literal.
The default constructor 'std::wstring()' is more efficient for creating an empty string compared to using a string literal.
The 'clear()' method is more efficient for clearing a std::wstring compared to assigning it an empty string literal.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:50:58 +03:00