MihailRis
27c8307562
add dv::value support to binary_json
2024-09-16 22:53:27 +03:00
MihailRis
271db9a6f1
add dv::value support to json::parse
2024-09-16 22:23:22 +03:00
MihailRis
ceaa676a3a
add dv::value support to json::stringify & add dv.cpp
2024-09-16 21:36:35 +03:00
MihailRis
f05ed4942d
add util::Buffer copy constructor
2024-09-16 21:31:37 +03:00
MihailRis
9badc0a022
add dv::value.getType(), .empty()
2024-09-16 20:49:39 +03:00
MihailRis
9b26758519
add dv::value.size/length, .asObject()
2024-09-16 20:21:28 +03:00
MihailRis
3bc329041a
add dv::list(initializer_list<value>)
2024-09-16 19:43:20 +03:00
MihailRis
2aae28e193
fix dv::value::operator=(const value&)
2024-09-16 19:27:59 +03:00
MihailRis
adde5bd80d
add new dv::value methods and iterators
2024-09-15 18:23:05 +03:00
MihailRis
fa12b9b751
add dv::value.object(...), .list(...)
2024-09-15 11:15:37 +03:00
MihailRis
a014204d99
trigger actions
2024-09-15 01:57:12 +03:00
MihailRis
371d714774
add dv::value.add(...)
2024-09-15 01:01:11 +03:00
MihailRis
464eb9989c
decrease dv::value size
2024-09-15 00:28:18 +03:00
MihailRis
d703567dc1
add data/dv.hpp
2024-09-14 23:25:43 +03:00
MihailRis
25c9c9a30a
fix stars render
2024-09-13 11:35:53 +03:00
MihailRis
14affb72b6
add new Map and List bytebuffer-related methods
2024-09-12 18:25:52 +03:00
MihailRis
f341e22e3e
Merge pull request #303 from MihailRis/add-bjson-binary-data-type
...
Add dynamic::Value binary data type (byte-buffer)
2024-09-12 18:04:35 +03:00
MihailRis
c3fb30b20e
fix bjson decoder
2024-09-12 17:39:05 +03:00
MihailRis
f8fadf8b74
add json BJSON_TYPE_BYTES support
2024-09-12 17:22:00 +03:00
MihailRis
6f4a7db910
add binary_json BJSON_TYPE_BYTES support
2024-09-12 16:24:51 +03:00
MihailRis
62c002252f
Merge branch 'main' into add-bjson-binary-data-type
2024-09-12 16:22:50 +03:00
MihailRis
8589cae300
add ByteReader::remaining()
2024-09-12 16:22:32 +03:00
MihailRis
8b947fe78e
add util::Buffer template
2024-09-12 13:43:08 +03:00
MihailRis
8be0ed819e
add new json::stringify overloads
2024-09-12 13:28:45 +03:00
MihailRis
02677ac8be
Merge pull request #302 from clasher113/main
...
Batch3D::point() check buffer overflow
2024-09-10 15:09:40 +03:00
MihailRis
6139727d66
update github workflows
2024-09-10 14:55:20 +03:00
@clasher113
3376ad6568
Batch3D::point() check buffer overflow
2024-09-10 14:35:47 +03:00
MihailRis
897d22b50e
fix container subnodes render
2024-09-08 17:38:14 +03:00
MihailRis
8ddfa48339
fix skeleton:get_texture
2024-08-30 06:17:15 +03:00
MihailRis
96941cb707
fix utf-8 decoder & add u32string functions
2024-08-29 15:40:51 +03:00
MihailRis
5045ffb923
fix stringutil test
2024-08-29 15:40:13 +03:00
MihailRis
c5811e36f9
update .github/workflows/windows.yml
2024-08-29 15:39:48 +03:00
MihailRis
f8d0a4f4c7
add util::crop_utf8 (stringutil)
2024-08-29 15:39:14 +03:00
MihailRis
f2b9d0620a
add cameras.get(int) overload
2024-08-28 11:59:35 +03:00
MihailRis
050513f892
Merge pull request #300 from clasher113/main
...
block model "x" preview fix
2024-08-25 03:22:59 +03:00
@clasher113
545cf49642
block model "x" preview fix
2024-08-24 22:40:18 +03:00
MihailRis
719135fe19
fix animation loading
2024-08-22 23:53:09 +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
REDxEYE
fcd26f4b10
ContentLoader::load: Minor cleanup
2024-08-21 19:28:08 +03:00
REDxEYE
16ddd943c2
ItemDef/EntityDef/Block: Add proper dependency resolution for blocks, items, entities
2024-08-21 19:15:09 +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
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
MihailRis
83a533a6b3
Merge pull request #298 from REDxEYE/debug.print
...
Add debug.print lua function to pretty-print data
2024-08-20 18:53:11 +03:00
REDxEYE
615dd23913
block.raycast: fix documentation
2024-08-20 18:17:11 +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
a48d54aa27
block.raycast/entity.raycast: Updated docs to reflect changes
2024-08-20 15:33:29 +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