d44eb95e93
[Noise/NoiseTexture2D] Allow disabling normalization
2023-01-29 14:59:10 +01:00
ffb8c74f26
Add tests for FastNoiseLite/NoiseTexture
...
+ fix some issues with seamless noise generation
2023-01-06 02:46:08 +01:00
d95794ec8a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
ea33001b95
Add safety-checks before some servers free()
2022-12-29 16:23:38 -05:00
c90d0bd84f
Use forward-declarations in big editor classes
2022-11-29 09:59:43 +01:00
ba9e619b51
Use forward-declarations in EditorPlugin where possible
2022-11-11 20:25:51 +01:00
a3e52925bf
Fix default values on virtual classes causing errors in projects
2022-11-09 01:59:53 -06:00
072f6feaba
Make some Image methods static
2022-10-14 14:34:15 +02:00
0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
2022-10-07 11:32:33 +03:00
54418ea659
Remove NO_THREADS fallback code, Godot 4 requires thread support
...
This also removes `OS::can_use_threads` from the public API since it's always
true.
2022-10-03 11:23:26 +02:00
ef5b9a06a9
Rename hint_tooltip to tooltip_text & setget
...
`hint_tooltip` -> `tooltip_text`
`set_tooltip` -> `set_tooltip_text`
`_get_tooltip` -> `get_tooltip_text`
Updates documentation, too.
2022-08-27 01:35:01 +02:00
394d058420
Rename 2D NoiseTexture to NoiseTexture2D
2022-08-24 22:44:42 -05:00
1a24c9e14b
Make _validate_property a multilevel method
2022-08-22 18:35:11 +03:00
c25b8f2876
Remove unintentional PROPERTY_USAGE_INTERNAL
...
The flag only matters for property definition,
but was also used in _validate_property a lot.
2022-08-18 16:25:00 +02:00
c5d7115038
Rename the argument tag to param in XML documentation
2022-08-08 22:34:31 +03:00
97dfbea6ad
Rename Control PRESET_WIDE to PRESET_FULL_RECT
2022-07-18 20:08:11 -05:00
4678736a39
Add suffixes to all nodes and resources
2022-06-11 09:41:05 -05:00
1654800ed7
Fix noise offset not affecting domain warp
...
- also added domain warp to get_noise_1d
2022-05-18 22:10:57 +02:00
1684459a3a
Fix domain warp fractal type defaulting to the wrong value (and refactor enum conversion)
2022-05-16 18:21:42 +02:00
de0ca3b999
Refactor module initialization
...
* Changed to use the same stages as extensions.
* Makes the initialization more coherent, helping solve problems due to lack of stages.
* Makes it easier to port between module and extension.
* removed the DRIVER initialization level (no longer needed).
2022-05-04 17:34:51 +02:00
3012b76ec5
Validate image size for Noise get image methods
2022-05-01 15:53:27 +08:00
f05ec69158
Merge pull request #60384 from timothyqiu/noise-skirt
2022-04-27 12:44:06 +02:00
0e5c41857c
Validate input in NoiseTexture::set_seamless_blend_skirt()
2022-04-20 10:47:28 +08:00
bde6fc9c82
Restructure and refine the noise module
2022-04-19 19:49:48 +02:00
6fac7158d6
Add spaces to FastNoiseLite enum hint names
2022-04-16 23:51:23 -05:00
f851c4aa33
Fix some issues found by cppcheck.
2022-04-06 14:34:37 +03:00
79b4844be5
Fix NoiseTexture._generate_texture crash
...
Fixes #59915 .
2022-04-05 22:24:58 +02:00
f8ab79e68a
Zero initialize all pointer class and struct members
...
This prevents the pitfall of UB when checking if they have been
assigned something valid by comparing to nullptr.
2022-04-04 19:49:50 +02:00
60dfe76e1f
Fix group name in FastNoise and Gradient
2022-03-31 21:21:04 -05:00
2a55f10e8b
Add FastNoiseLite / general noise overhaul
...
- replace OpenSimplexNoise
Co-authored-by: Cory Petkovsek <tinmanjuggernaut@users.noreply.github.com >
2022-03-20 14:53:45 +01:00