1801 Commits

Author SHA1 Message Date
Marc Gilleron
47fbddf73b Fix nodes of the graph never get freed 2022-04-11 19:17:37 +01:00
Marc Gilleron
87d98e9162 Engine-agnostic error macros 2022-04-11 02:10:44 +01:00
Marc Gilleron
0cc3801655 Define smart pointers default allocator in a single place 2022-04-10 20:10:33 +01:00
Marc Gilleron
118563d545 Fix missing header (2) 2022-04-10 17:17:18 +01:00
Marc Gilleron
a3e3140cd9 Fix missing header 2022-04-10 16:31:31 +01:00
Marc Gilleron
2606112b99 Fix links 2022-04-10 16:19:28 +01:00
Marc Gilleron
4b5fc6bd67 Added doc about SDF 2022-04-10 16:11:00 +01:00
Marc Gilleron
18584f4e87 Added per-node profiling info 2022-04-10 14:42:40 +01:00
Marc Gilleron
cc734f7676 Fix expression node not compiled correctly, outputs were not reconnected 2022-04-10 14:40:41 +01:00
Marc Gilleron
74b94da6cd Prefix include guard to prevent conflict with Godot's version 2022-04-10 14:38:04 +01:00
Marc Gilleron
19a69b059e VoxelInstancer supports VoxelTerrain, although Godot 4 multimeshes are buggy
See https://github.com/godotengine/godot/issues/56357
2022-04-09 20:40:03 +01:00
Marc Gilleron
219c7bfda3 Changed prefix of profiling macros 2022-04-09 15:33:08 +01:00
Marc Gilleron
adb2cd2fe9 Return a ref, pointer must not be null 2022-04-09 15:15:22 +01:00
Marc Gilleron
259a914cbf Return a ref instead of pointer, it must not be null 2022-04-09 15:05:04 +01:00
Marc Gilleron
ab5d3a22d3 Abstract logging for verbose print 2022-04-09 15:00:34 +01:00
Marc Gilleron
5afab83cd6 Include less things from macros.h 2022-04-09 00:53:51 +01:00
Marc Gilleron
ca83c720ff Return reference, pointer must not be null 2022-04-08 23:54:04 +01:00
Marc Gilleron
f58199e7de Added class to schedule custom tasks from scripts 2022-04-07 22:34:07 +01:00
Marc Gilleron
22f17f6294 Fix macro not usable in release builds 2022-04-07 22:33:21 +01:00
Marc Gilleron
91cbed534e Missing header for std::find 2022-04-07 21:34:05 +01:00
Marc Gilleron
a3ef02b7e6 Fix shadowing 2022-04-07 21:24:05 +01:00
Marc Gilleron
1f032d882a Fix unused variable 2022-04-07 21:14:07 +01:00
Marc Gilleron
6663fdad92 Fix signedness warning 2022-04-07 21:05:05 +01:00
Marc Gilleron
99032d460a Fix unused function GCC warning 2022-04-07 20:57:07 +01:00
Marc Gilleron
2fece1d892 VoxelGraphNodeDB::get_singleton() must not return null, changed to reference 2022-04-07 20:44:43 +01:00
Marc Gilleron
96224c2231 ProgramGraph::get_node() must not return null, changed to a reference 2022-04-07 20:35:11 +01:00
Marc Gilleron
7517ec9a10 Merge branch 'expression_node'
# Conflicts:
#	server/load_all_blocks_data_task.cpp
2022-04-07 20:18:20 +01:00
Marc Gilleron
2fba154b42 Use Powi if the power exponent in Expression is a constant positive integer 2022-04-07 20:03:21 +01:00
Marc Gilleron
c4dddaa528 Remove unused function, use & references instead of Ref<T> 2022-04-07 19:44:29 +01:00
Marc Gilleron
9cd5fe697b Moved Godot-specific utilities to godot/ folder 2022-04-07 19:34:28 +01:00
Marc Gilleron
e43f939f3c Span doesnt depend on Godot Vector 2022-04-06 23:37:57 +01:00
Marc Gilleron
5519054c01 Unify macro prefixes 2022-04-06 23:26:54 +01:00
Marc Gilleron
090d3485e5 Use unique pointers in ExpressionParser 2022-04-06 22:00:32 +01:00
Marc Gilleron
15bf2a6980 One more unused variable 2022-04-06 01:37:47 +01:00
Marc Gilleron
c9aa295b03 Fix unused variables 2022-04-06 01:31:51 +01:00
Marc Gilleron
57357df658 Fix Variant conversion for MacOS clang 2022-04-06 01:31:34 +01:00
Marc Gilleron
0e523f79fe Added functions to expression node 2022-04-06 01:13:38 +01:00
Marc Gilleron
7e03e7f384 Fix several issues with functions in expressions
- Too many arguments error
- Too few arguments error
- Expected argument error
- Unexpected closing parenthesis
2022-04-06 01:00:06 +01:00
Marc Gilleron
d26262d03c Fix include directory 2022-04-06 00:56:48 +01:00
Marc Gilleron
7a700e0567 Fix too many arguments not being handled 2022-04-06 00:08:58 +01:00
Marc Gilleron
e2bbd75cb4 Added doc about the SCons parameters 2022-04-06 00:07:14 +01:00
Marc Gilleron
0146e05c1c Document new nodes 2022-04-05 22:31:33 +01:00
Marc Gilleron
0629566330 Show expression code in the node's title 2022-04-05 22:26:26 +01:00
Marc Gilleron
092fc6db9e Fix Powi 2022-04-05 19:10:36 +01:00
Marc Gilleron
5445042f72 Use ZN_TTR 2022-04-04 23:08:59 +01:00
Marc Gilleron
4634cfac0e Merge branch 'master' into expression_node 2022-04-04 22:43:05 +01:00
Marc Gilleron
998a5f6052 Fix parentheses 2022-04-04 01:24:55 +01:00
Marc Gilleron
9c81ccc5ba Use special TTR macro for non-editor code
Because TTR is not available in non-editor builds
2022-04-04 00:20:36 +01:00
Marc Gilleron
f90960d596 Hack something to allow using different depth than default in some cases 2022-04-03 23:15:34 +01:00
Marc Gilleron
ce4224dce8 Fix VoxelMesherCubes color mode in inspector 2022-04-03 22:58:51 +01:00