Marc Gilleron
ac73904df7
Fix wrong version when saving blocks
2022-04-22 22:20:48 +01:00
Marc Gilleron
f48ebe8557
Moved StreamPeer stuff to Godot-specific wrapper
2022-04-18 20:40:25 +01:00
Marc Gilleron
87f3aeb5e2
Fix missing header for GCC (3)
2022-04-16 00:15:50 +01:00
Marc Gilleron
a5c3f8b824
Fix code to work with Godot's new FileAccess RefCounted object
2022-04-15 23:13:31 +01:00
Marc Gilleron
4c36b96ef2
Moved Godot-facing block serializer API to its own file
2022-02-12 23:52:44 +00:00
Marc Gilleron
3045e9a489
BlockSerializer is no longer a class
2022-01-16 04:01:22 +00:00
Marc Gilleron
b67ca3d903
Namespaced every registered class
2022-01-09 22:16:44 +00:00
Marc Gilleron
38baeae2d9
Namespaced VoxelBufferInternal
2022-01-08 22:49:59 +00:00
Marc Gilleron
2fdf0bf6df
Namespaced VoxelBlockSerializerInternal
2022-01-03 02:52:06 +00:00
Marc Gilleron
922f361cb0
Made it compile in Godot 4
...
- Made a bunch of changes to comply with Godot 4 API
- Use Godot's Vector3i and add the missing stuff with helper functions
- Transvoxel uses custom attributes API, the old way would not work
- Wrap MeshOptimizer in a unique namespace (see build script why)
- Added clang-format file for the module as some rules now differ
- Prevent thirdparty code and lookup tables from being clang-formatted
- Very likely full of runtime bugs that need fixing
2021-12-13 21:38:10 +00:00
Marc Gilleron
33b66153dc
Use span instead of requiring a vector
2021-10-03 01:32:01 +01:00
Marc Gilleron
30db0c5193
Split VoxelBuffer in two, script-facing wrapper and internal.
...
The internal is the main use within the voxel engine,
and does not inherit Reference.
2021-09-26 04:14:50 +01:00
Marc Gilleron
c6b169b978
Upgraded block serialized format, added some error handling
2021-01-30 01:36:37 +00:00
Marc Gilleron
01e5e18922
Implemented VoxelStreamSQLite
2021-01-28 22:02:49 +00:00
Marc Gilleron
1a551fc77d
Added support for per-voxel and per-block metadata
2020-08-10 19:03:01 +01:00
Marc Gilleron
4991b682d9
Exposed block serializer
2020-07-25 21:56:23 +01:00
Marc Gilleron
3a64209b27
Added LZ4 compression to saved blocks. Makes them fit in single sectors much more often, increasing performance
2019-08-17 18:15:16 +01:00