Commit Graph

62 Commits

Author SHA1 Message Date
Aaron Franke 1bcbbe96c4
Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
Rémi Verschelde bbe263d329
Merge pull request #88823 from jsjtxietian/limit-NoiseTexture3D
Do overflow check in when generating NoiseTexture3D
2024-02-27 10:18:09 +01:00
jsjtxietian 3d17aaca71 Do overflow check in when gererating NoiseTexture3D 2024-02-27 12:20:03 +08:00
Rémi Verschelde a5c52c1e38
FastNoiseLite: Sync with 1.1.0, clean up SCsub
Doesn't fix the LTO warning about `-Waggressive-loop-optimizations`
due to GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80922.
2024-02-19 01:03:38 +01:00
Yuri Sizov 95b27fe8c7 Reorganize code related to editor theming
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.

Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.

All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
kobewi 0e8f90f4c8 Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
Hugo Locurcio 6b7ec62b96
Tweak FastNoiseLite property hints for better slider usability
- Mark Frequency as exponential to make low frequency values easier
  to control when dragging the slider. The default now
  conveniently appears halfway in the middle.
- Reduce range hint for Offset to make "absolute"
  slider dragging more controllable, but allow lower/greater
  values to be entered manually.
2023-11-05 23:25:05 +01:00
jsjtxietian ff45c08143 Fix FastNoiseLite.get_image crashes with bad param 2023-10-30 18:44:44 +08:00
jsjtxietian 1fafca56a6 Fix FastNoiseLite.get_seamless_image function will crashes with bad param 2023-10-26 17:13:04 +08:00
Rémi Verschelde 4332a798f9
Merge pull request #79922 from Auburn/cellular-jitter-fix
FastNoiseLite: Fix cellular jitter using incorrect default value
2023-08-17 12:28:41 +02:00
Rémi Verschelde 6203f56875
Merge pull request #78865 from MewPurPur/improve-docs-top-sections-VFX
Improve the top docs sections of VFX classes
2023-08-16 16:54:32 +02:00
MewPurPur 57d05ffc66 Improve the top docs sections of VFX classes 2023-08-11 21:17:04 +03:00
Rémi Verschelde ff1f50f952
Merge pull request #80407 from clayjohn/NoiseTexture3D-format
Remove GPU readback from NoiseTexture3D.get_format()
2023-08-08 17:01:10 +02:00
clayjohn 60d5571d6c Remove GPU readback from NoiseTexture3D.get_format 2023-08-08 10:56:54 +02:00
Rémi Verschelde 524c8f03e7
Merge pull request #78903 from MewPurPur/forget-dice-we-have-texture-cubes-now
Add icons for 3D texture classes
2023-08-07 14:44:58 +02:00
MewPurPur 3510b6e02c Add icons for 3D texture classes 2023-08-04 19:38:27 +03:00
Jordan Peck 8649ab831d FastNoiseLite Fix cellular jitter using incorrect default value
Default value for cellular jitter should be 1.0, using 0.45 will make the cellular noise look bad
2023-07-26 19:44:48 +02:00
kobewi de4a3fa151 Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
Rémi Verschelde 81064cc239
Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
Rémi Verschelde 346f1ab86b
Bump version to 4.2-dev
Keep on waitin'
2023-07-05 22:07:03 +02:00
Rémi Verschelde 25b2f1780a
Style: Harmonize header includes in modules
This applies our existing style guide, and adds a new rule to that style
guide for modular components such as platform ports and modules:

Includes from the platform port or module ("local" includes) should be listed
first in their own block using relative paths, before Godot's "core" includes
which use "absolute" (project folder relative) paths, and finally thirdparty
includes.

Includes in `#ifdef`s come after their relevant section, i.e. the overall
structure is:

- Local includes
  * Conditional local includes
- Core includes
  * Conditional core includes
- Thirdparty includes
  * Conditional thirdparty includes
2023-06-15 14:35:45 +02:00
Yuri Sizov f067e27e0b
Merge pull request #77017 from Calinou/doc-noisetexture-seamless-small
Document seamless caveats on small textures in NoiseTexture2D and NoiseTexture3D
2023-05-30 15:43:22 +02:00
VolTer ac8a9df2bf Reinstate NoiseTexture2D icon 2023-05-27 21:37:54 +02:00
Hugo Locurcio 9e21647578
Document seamless caveats on small textures in NoiseTexture2D and NoiseTexture3D
This also harmonizes "normal map" spelling across the class reference.
2023-05-13 01:06:33 +02:00
Max Hilbrunner c14f8701a7
Merge pull request #76557 from clayjohn/NoiseTexture3D
Fix compatibility breakage from adding NoiseTexture3D
2023-05-03 20:17:03 +02:00
Alex Drozd 2b053e4e4c adjusting step size for fastnoise frequency hint 2023-05-02 23:25:36 +02:00
clayjohn ccff24597f Fix compatibility breakage from adding NoiseTexture3D
Also optimize some of the Noise methods
2023-04-28 18:49:09 -07:00
Rémi Verschelde 7780926b25
GDScript: Fix template_debug compilation with TOOLS/DEBUG macro mismatch 2023-04-28 11:09:12 +02:00
Rémi Verschelde fb3d3bf0cf
Merge pull request #76486 from Lasuch69/add-noisetexture3d-no-mipmaps
Add NoiseTexture3D
2023-04-27 23:56:13 +02:00
Samuele Panzeri 4aaa2e6477 Fix wait for thread not started 2023-04-27 20:28:22 +02:00
Lasuch 0de6ad6a71 Add NoiseTexture3D 2023-04-26 20:00:18 +02:00
Rémi Verschelde 1c1524a651
Bump version to 4.1-dev
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
Hendrik Brucker d44eb95e93 [Noise/NoiseTexture2D] Allow disabling normalization 2023-01-29 14:59:10 +01:00
Hendrik Brucker ffb8c74f26 Add tests for FastNoiseLite/NoiseTexture
+ fix some issues with seamless noise generation
2023-01-06 02:46:08 +01:00
Rémi Verschelde 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
Adam Scott ea33001b95 Add safety-checks before some servers `free()` 2022-12-29 16:23:38 -05:00
trollodel c90d0bd84f Use forward-declarations in big editor classes 2022-11-29 09:59:43 +01:00
trollodel ba9e619b51 Use forward-declarations in EditorPlugin where possible 2022-11-11 20:25:51 +01:00
Aaron Franke a3e52925bf
Fix default values on virtual classes causing errors in projects 2022-11-09 01:59:53 -06:00
kobewi 072f6feaba Make some Image methods static 2022-10-14 14:34:15 +02:00
bruvzg 0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
Rémi Verschelde 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
Micky 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
Aaron Franke 394d058420
Rename 2D NoiseTexture to NoiseTexture2D 2022-08-24 22:44:42 -05:00
Yuri Sizov 1a24c9e14b Make `_validate_property` a multilevel method 2022-08-22 18:35:11 +03:00
RedMser 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
Yuri Sizov c5d7115038 Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
FireForge 97dfbea6ad Rename Control PRESET_WIDE to PRESET_FULL_RECT 2022-07-18 20:08:11 -05:00
FireForge 4678736a39 Add suffixes to all nodes and resources 2022-06-11 09:41:05 -05:00
Hendrik Brucker 1654800ed7 Fix noise offset not affecting domain warp
- also added domain warp to get_noise_1d
2022-05-18 22:10:57 +02:00