Commit Graph

768 Commits (66141be0b3bf1053a0da9a4953050beff21118ad)

Author SHA1 Message Date
Marc Gilleron 30c6d7e436 Disabled task cancellation to make VoxelLodTerrain work, will need better option later.
VoxelLodTerrain's block requests were being cancelled constantly.

This commit also contains precision improvement for cancelling
block requests based on distance, which originally was an attempt to
"properly" fix the problem with VoxelLodTerrain, but it didnt fully
worked for that node.
I left it anyways, maybe it will change in the future once a
proper fix is figured out.
2020-10-19 23:21:14 +01:00
Marc Gilleron 25fded048e Fix some typos 2020-09-28 18:37:49 +01:00
Marc Gilleron 2597e4832a Bits of API doc 2020-09-28 18:37:34 +01:00
Marc Gilleron 04df05854a Fix dead link in docs 2020-09-28 18:36:54 +01:00
Marc Gilleron 5dd8475091 Fix GCC warning (4) 2020-09-20 20:28:45 +01:00
Marc Gilleron e31147b434 Fix one more GCC warning 2020-09-20 17:05:20 +01:00
Marc Gilleron a462803929 Fix more GCC warnings 2020-09-20 16:33:00 +01:00
Marc Gilleron 39d56b2c17 Fix GCC warnings 2020-09-20 16:13:53 +01:00
Marc Gilleron 37f5c4bd43 Document about region v3 2020-09-19 22:31:54 +01:00
Marc Gilleron b10b647133 Separate region file logic so it can be used independently and add features to it.
This increases its version number to 3. Older files using version 2
are migrated to version 3 when a write operation is performed.
2020-09-19 21:50:23 +01:00
Marc Gilleron 27d67ea116 Fix missing header guard 2020-09-19 21:48:03 +01:00
Marc Gilleron 8d6a459ad7 Fix a missing size_t to variant conversion 2020-09-19 21:47:52 +01:00
Marc Gilleron 6c80da0425 Moved VoxelBuffer and VoxelMemoryPool under storage/ directory 2020-09-14 19:33:02 +01:00
Marc Gilleron b16d8ff00d Update XML API docs, add a few more descriptions and fix some functions 2020-09-14 01:58:35 +01:00
Marc Gilleron 64ee592a0e Allow to specify bounds in VoxelTerrain 2020-09-13 22:36:28 +01:00
Marc Gilleron 168cd90295 Unused variable 2020-09-13 02:59:12 +01:00
Marc Gilleron 644ec60003 Fix missing return 2020-09-13 02:47:26 +01:00
Marc Gilleron 944128463a Fix GCC warnings 2020-09-13 02:36:06 +01:00
Marc Gilleron 01ea40255c Update changelog 2020-09-13 02:35:03 +01:00
Marc Gilleron 7064f6e471 Color palette support in .vox loader and Cubes mesher 2020-09-13 02:17:11 +01:00
Marc Gilleron 7f89f2db76 No long lines 2020-09-13 02:14:41 +01:00
Marc Gilleron 34ae531b6d Remove debug symbols from Linux builds 2020-09-13 02:14:14 +01:00
Marc Gilleron e1b9a25db7 Added utility class to load MagicaVoxel .vox files 2020-09-12 21:10:05 +01:00
Marc Gilleron 68bb9d74df Removed unused class 2020-09-12 21:08:55 +01:00
Marc Gilleron 7d699543e1 Some details to code guidelines 2020-09-12 21:08:34 +01:00
Marc Gilleron b4ffd702b2 Forgot one 2020-09-11 20:50:26 +01:00
Marc Gilleron d5c22842b5 Fix unsigned warnings, again 2020-09-11 20:08:52 +01:00
Marc Gilleron b8cd7fe8c4 Fix unsigned warnings 2020-09-11 19:59:53 +01:00
Marc Gilleron 79d73e3f5a Added cubes mesher with greedy meshing support 2020-09-11 00:36:23 +01:00
Marc Gilleron d0e81100b9 Update readme 2020-09-11 00:32:34 +01:00
Marc Gilleron 2ca5664762 Turned off tests from CI compilation 2020-09-11 00:32:23 +01:00
Marc Gilleron b3a69cfdb4 Link to master builds 2020-09-09 20:23:59 +01:00
Marc Gilleron 51a97d39c7 Fix linux build artifact 2020-09-09 20:23:45 +01:00
Marc Gilleron 8367524dfe Make master builds available 2020-09-09 19:36:56 +01:00
Marc Gilleron 4b6ae21ce9 Fix GCC warnings 2020-09-09 18:58:58 +01:00
Marc Gilleron 7968f37f0e Update changelog 2020-09-08 21:59:21 +01:00
Marc Gilleron 9ccf16419d Merge branch 'master' into threading_refactor
# Conflicts:
#	streams/voxel_block_serializer.cpp
#	voxel_buffer.h
2020-09-08 21:40:59 +01:00
Marc Gilleron b12500ed34 Don't request or even calculate blocks to load when streaming is not possible 2020-09-08 21:34:35 +01:00
Marc Gilleron 603357eb59 Feature freeze for version godot3.2.3 2020-09-08 20:51:34 +01:00
Marc Gilleron 7df2c5ce45 Merge branch 'master' into github_actions 2020-09-08 19:44:45 +01:00
Marc 14132a1fac
Merge pull request #193 from tdaffin/fix_bindings
Fix binding of is_empty to allow build with mono
2020-09-08 01:46:15 +01:00
Marc Gilleron e8d0800511 Unused code 2020-09-08 00:49:37 +01:00
Tom Daffin 5467caf01d Fix binding of is_empty to allow build with mono 2020-09-07 17:17:42 -06:00
Marc Gilleron 5e7a0f9e29 Tests can't run on server until Godot 4.0 2020-09-07 23:55:06 +01:00
Marc Gilleron 7405692f68 Unused code 2020-09-07 23:53:38 +01:00
Marc Gilleron 0922b92ace Fix some GCC warnings and Clang error 2020-09-07 23:26:04 +01:00
Marc Gilleron 65055dd9e0 Added emoji. 2020-09-07 23:25:00 +01:00
Marc Gilleron 0b45c6c69c Turned off tests on Windows and added Linux build 2020-09-07 22:26:53 +01:00
Marc Gilleron a90bef0581 Added Windows build 2020-09-07 20:41:10 +01:00
Marc Gilleron 7a235be108 Cancel block tasks if they are too far away 2020-09-06 23:57:41 +01:00