1559 Commits

Author SHA1 Message Date
Marc Gilleron
3101d7f092 Namespaced file_utils 2022-01-09 02:21:49 +00:00
Marc Gilleron
e08d0ff448 Always compile AVX2 and AVX512
It wasn't before because "x11" was renamed "linuxbsd" in Godot4, but also
I could not see conditionals in FastNoise2's CMakeLists so I assume
all files have to be sent to the compiler no matter the platform
2022-01-09 01:58:02 +00:00
Marc Gilleron
c56492b89a Fix signedness warning 2022-01-09 00:23:21 +00:00
Marc Gilleron
2a91b03988 Fix missing header 2022-01-09 00:10:57 +00:00
Marc Gilleron
5c0ae2aa03 Use static_cast instead of constructor syntax, GCC doesn't like it 2022-01-09 00:05:13 +00:00
Marc Gilleron
2265de6aef Fix unused variables warning
I wish to use them but can't at the moment, leaving commented as reminder
2022-01-08 23:49:40 +00:00
Marc Gilleron
26fd961a36 Fix missing namespace
The previous commit made GCC's trouble much clearer
2022-01-08 23:43:19 +00:00
Marc Gilleron
b3eeec40f3 Fix GCC not finding the right invocation of max() 2022-01-08 23:34:05 +00:00
Marc Gilleron
b112b620f7 Namespaced VoxelMeshBlock, VoxelMeshMap 2022-01-08 23:18:28 +00:00
Marc Gilleron
8166ebbfcf Namespaced VoxelDataBlock, VoxelDataGrid, VoxelDataMap 2022-01-08 23:04:49 +00:00
Marc Gilleron
38baeae2d9 Namespaced VoxelBufferInternal 2022-01-08 22:49:59 +00:00
Marc Gilleron
fad9537303 Print an error early if VoxelGeneratorImage is given an image of unsupported format.
Otherwise it would spam-print while generating.
2022-01-08 22:48:21 +00:00
Marc Gilleron
924d81f488 Unnecessary extra qualification 2022-01-08 21:24:01 +00:00
Marc Gilleron
62a314d7d7 Fix strings should really be const, to fix GCC warning write-strings 2022-01-08 21:19:23 +00:00
Marc Gilleron
79e4ed6d32 Avoid more warnings in FastNoise2 2022-01-08 20:47:12 +00:00
Marc Gilleron
b6b8a0a3f0 Avoid warning inside FastNoise2 implementation 2022-01-08 20:12:21 +00:00
Marc Gilleron
4e72f44eb5 Workaround warning on non-MSVC compilers 2022-01-08 19:07:54 +00:00
Marc Gilleron
bce0517f5c Update coding guidelines 2022-01-08 18:57:26 +00:00
Marc Gilleron
bc36ffe191 Remove old commented code, Godot uses C++17 now 2022-01-08 18:56:06 +00:00
Marc Gilleron
c44ac4ed4a Don't put has_nan() in Vector3iUtil 2022-01-08 18:54:51 +00:00
Marc Gilleron
e71d3ae2bb Switch CI to use Godot master branch 2022-01-08 01:48:48 +00:00
Marc Gilleron
71d41c871c Update getting the module 2022-01-08 01:27:57 +00:00
Marc Gilleron
9346b351fc Merge branch 'godot4'
# Conflicts:
#	doc/source/changelog.md
#	editor/about_window.cpp
#	generators/graph/image_range_grid.cpp
#	generators/graph/range_utility.cpp
#	generators/graph/voxel_generator_graph.cpp
#	terrain/instancing/voxel_instance_generator.h
#	util/voxel_raycast.h
2022-01-08 01:20:45 +00:00
Marc Gilleron
6ce0672b84 Updated changelog 2022-01-08 01:04:30 +00:00
Marc Gilleron
08cacc7ff4 Print SIMD level name in FastNoise2 test 2022-01-08 01:02:47 +00:00
Marc Gilleron
c2ff6b1894 Update changelog 2022-01-08 00:44:17 +00:00
Marc Gilleron
d98c3b0836 Fix image formats L8 and LA8 not being accepted by the Image2D node (picked from cef8bd927aee8d6c2ee55e07b9d2d6702ddb38d7) 2022-01-08 00:36:30 +00:00
Marc Gilleron
02bc6b2d02 Don't crash if mesh requests are created without mesher (need to fix this in VoxelLodTerrain) (picked from 30feecaa46a16a5c2ab4ca846ed57ace7cb85e0b) 2022-01-08 00:22:56 +00:00
Marc Gilleron
9155cd19fd Fix crash when removing an item from the library while an instancer node is using it.
The old code was assuming block indices don't change, but they do

(Picked from fefb7fb434a536f0312440a8edd316cce14a2697)
2022-01-08 00:19:48 +00:00
Marc Gilleron
c69e820eb6 Fix VoxelInstancer not refreshing when an item is modified (picked from 2d7d09534a72dc749bcb62fce6c49314fb499688) 2022-01-08 00:16:15 +00:00
Marc Gilleron
f50148cacd Fix raycast locking up when given NaN (picked from 96f259be76b697f7a02a94d113c84f3cd4e3f838) 2022-01-08 00:07:23 +00:00
Marc Gilleron
05f5aa429f Fix dangling mesh block position upon removal from map, when such block had a pending update (picked from 0bf72badbd3f129e6472c81f0ec5a4c0f5f19835) 2022-01-07 23:54:48 +00:00
Marc Gilleron
f560910a68 Fix wrong condition for unloading mesh blocks (picked from f67077b6983bb289efef4095dd3f9e701f5139a8) 2022-01-07 23:52:07 +00:00
Marc Gilleron
dab23209e2 Formatting 2022-01-07 23:51:47 +00:00
Marc Gilleron
6211b994c7 Fix AboutDialog showing on startup and kinda broken (picked from 4f8ba5549d78ac3222388ecbe04745786f9a5b89) 2022-01-07 23:49:37 +00:00
Marc Gilleron
2d6803cd59 data_lod.map_lock.read_lock(); (picked from 79d4223be4c3798e8b56bb57bbdeccbb882894b5) 2022-01-07 23:43:40 +00:00
Marc Gilleron
8d6a24833c Fix changing node name not working 2022-01-07 23:40:46 +00:00
Marc Gilleron
c0cb82888e Changed run_blocky_random_tick so it respects its given area instead of somehow snapping it 2022-01-06 22:06:43 +00:00
Marc Gilleron
72d9ed5bf9 Namespaced utility funcs 2022-01-05 18:59:59 +00:00
Marc Gilleron
4059c1faf8 Fixed this in Godot with PR https://github.com/godotengine/godot/pull/56469 2022-01-05 18:57:48 +00:00
Marc Gilleron
cef8bd927a Fix image formats L8 and LA8 not being accepted by the Image2D node 2022-01-05 00:03:39 +00:00
Marc Gilleron
bebafd263e Fix compilation errors for GCC 2022-01-04 23:17:06 +00:00
Marc Gilleron
d5c16a63ae Namespaced DirectStaticBody 2022-01-04 23:07:53 +00:00
Marc Gilleron
c1073d1bae Namespaced DirectMultiMeshInstance 2022-01-04 23:07:23 +00:00
Marc Gilleron
14840634de Re-namespaced VoxelDebug 2022-01-04 22:57:21 +00:00
Marc Gilleron
abcb307170 Namespaced DirectMeshInstance 2022-01-04 22:37:37 +00:00
Marc Gilleron
09899eef97 Namespaced Color8 2022-01-04 22:30:46 +00:00
Marc Gilleron
64415a3c86 Configure clang-format to put a newline after template declarations 2022-01-04 22:15:57 +00:00
Marc Gilleron
0c290082ff Namespaced StructDB 2022-01-04 21:44:06 +00:00
Marc Gilleron
dcbb59b15c Namespaced storage funcs 2022-01-04 20:50:33 +00:00