Commit Graph

760 Commits

Author SHA1 Message Date
e9eb0b6082 Implemented tools around particles seed randomization.
The purpose of this code is to expose the necessary
functions for users and engine devs to develop tooling
for properly timing and seeking inside particles.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-11 16:31:24 +01:00
03c83cea1e Style: Enable clang-format's InsertBraces config
This was part of our style guide since we started using clang-format
but the feature was only added in clang-format 15, and we hadn't
noticed it yet.
2025-01-09 16:46:51 +01:00
837d093470 Merge pull request #101322 from akien-mga/scons-fix-colorless-print-methods
SCons: Fix missing context for `print_info`/`warning`/`error` when colors are off
2025-01-09 11:17:38 +01:00
ffcd9eb630 SCons: Fix missing context for print_info/warning/error when colors are off 2025-01-09 00:34:17 +01:00
88c457efc3 CI: Ensure problem matchers handle colored output 2025-01-08 15:19:48 -06:00
76c8e76560 Merge pull request #101284 from akx/tyops
A handful of typo fixes
2025-01-08 15:53:33 +01:00
f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
a29294fddc SCons: Refactor color output implementation 2025-01-07 18:44:53 -06:00
8de13860e8 Added web support for all missing splash screen properties
show_image, fullsize and use_filter are now supported too.

bg_color, image and minimum_display_time were already supported previously.
2025-01-03 17:56:05 +01:00
048f8442e3 Style: Minor pre-commit & yaml adjustments 2024-12-29 10:51:11 -06:00
2845995b02 .clang-format: change AllowShortFunctionsOnASingleLine back to Inline 2024-12-26 22:25:13 +00:00
0153cb8c16 Fix incorrect MODIFIER_MASK value
Updated key modifier mask and documented API change

Changed the old value

Changed the old value inside the .expected file

Resolved Conflicts

Moved changes to the end
2024-12-18 02:59:29 +03:00
7a04d85ec3 Only allow valid types in Decal, Light3D projector, PointLight2D texture and CSGMesh3D mesh
If an invalid type is supplied (which can still be done from a script),
a warning is printed (along with a workaround for ViewportTexture).

This also adds support for "negative" resource hints such as
"Texture2D,-ViewportTexture" to exclude one or more subclasses
from a class hint.

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-12-17 20:41:12 +01:00
182b4741ea Merge pull request #93479 from Repiteo/scons/better-colored-output
SCons: Improve colored output
2024-12-17 16:18:41 +01:00
e5be03a42b [GraphEdit] Make connections a property 2024-12-16 02:28:34 +01:00
b9437c3938 Merge pull request #100382 from hpvb/thirdparty-ubsan-tpsdemo
Add thirdparty/ ubsan suppressions for TPS demo
2024-12-14 19:47:28 +01:00
f7f2361fa8 Merge pull request #90057 from ryevdokimov/fix-inherit2
Add ability to create a new inherited scene from code
2024-12-14 18:25:01 +01:00
49a19db0e0 Add thirdparty/ ubsan suppressions for TPS demo
With these suppressions it is possible to import and run the TPS demo
without any thirdparty/ reported ubsan.

This is useful because it is a complex project, so it is good for
testing if new errors show up in our own code.
2024-12-14 00:41:52 +01:00
70dbc311d1 Exclude known thirdparty/ ubsan errors
In my quest to make ubsan failures a build failure I've added all
current ubsan errors by type to a new suppression file which we will
then also use with CI.

The idea is to only add known ubsan errors to this file, so this is not
a blanket exclusion of thirdparty/ this means that if we get new or
unexpected ubsan in thirdparty/ builds would fail.
2024-12-13 23:11:35 +01:00
7f09804154 Add inherit parameter to open_scene_from_path 2024-12-12 10:24:58 -05:00
476479419b Despaghettify NavigationServer path queries
Despaghettify NavigationServer path queries.
2024-12-11 22:29:48 +01:00
d8761f2c79 SCons: Improve colored output 2024-12-10 11:44:48 -06:00
d6473dd3fa Merge pull request #100167 from AshWolf/header-guards-crash-fix
Fix crash within header_guards when a file is too short
2024-12-09 14:33:26 -06:00
7558bed893 fixed crash when file too short 2024-12-08 01:57:49 -05:00
1daa9a180b Fix Control offset_* property types 2024-12-06 09:06:55 +01:00
2dc30a4c39 Merge pull request #99051 from bruvzg/ios_entitlements
[iOS] Add options to specify additional entitlements and capabilities in the export settings.
2024-12-02 17:20:11 +01:00
f4c9392f1b Merge pull request #98608 from bruvzg/vlk_ver_check
[Misc] Check for the available and installed Vulkan SDK versions before downloading and installing.
2024-12-02 17:19:57 +01:00
d3e16c9ee2 [iOS] Add options to specify additional entitlements and capabilities in the export settings. 2024-12-02 17:38:19 +02:00
dc71fbacc5 [RTL] Add tooltip support to meta/url tag. 2024-12-02 15:26:14 +02:00
506930063a Merge pull request #98093 from zynga-jpetersen/jpetersen/ios_xcode_PROVISIONING_PROFILE_SPECIFIER_support
Support for XCode 8+ feature `PROVISIONING_PROFILE_SPECIFIER`
2024-11-29 22:46:29 +01:00
a4b17e7852 [FileAccess] Return error codes from store_* methods. 2024-11-29 23:22:31 +02:00
56a7dba10b Merge pull request #99799 from akien-mga/fix-typos
Fix various typos and code style issues
2024-11-29 22:02:53 +01:00
88e81ee730 Fix various typos and code style issues 2024-11-28 17:40:42 +01:00
357679ceb8 CI: Add explicit problem matchers 2024-11-27 16:47:34 -06:00
ed01f5f2aa Merge pull request #98670 from DarioSamo/rd-transient-targets
Automatically resolve initial and final action for draw lists.
2024-11-27 10:47:29 -06:00
3c78eb1713 Style: Downgrade .clang-format arguments to 17.x 2024-11-27 10:11:17 -06:00
57125f48ce Merge pull request #98069 from thedinosoar/fix/service-worker-sandbox-error-98068
[Web] Fix PWA callback assignment causing crash in sandboxed iframes
2024-11-25 13:22:29 -06:00
6d5ac8f7ef Resolve load and store ops automatically for render passes for discardable textures. 2024-11-25 11:27:48 -03:00
ea3154a0d4 Merge pull request #99424 from dalexeev/core-fix-builtin-enum-const-binds
Core: Fix built-in enum constant bindings
2024-11-22 14:54:31 -06:00
e8a4b45ce4 Style: Add 19.1.0 LLVM options to .clang-format 2024-11-22 09:24:32 -06:00
03b05cf9ac Core: Fix built-in enum constant bindings 2024-11-22 14:03:21 +03:00
6f4fadf65d Expose standardize_locale add_default param publicly
Comparing locales can have surprising outcomes since it standardizes
locales with defaults. For example, zh and zh_CN result in an exact
match since the defaults change them both to zh_Hans_CN. Expose the
add_default parameter publicly with a default of false so the fully
standardized locale can be inspected.
2024-11-21 16:50:31 -07:00
45593d45b3 Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors. 2024-11-13 08:16:12 +02:00
179321a0a3 Merge pull request #91201 from bruvzg/con_type
[OS] Add functions to determine standard I/O device type.
2024-11-12 12:13:12 -06:00
a833685e75 Merge pull request #96625 from elpozewaunig/web_splash_color
Display project settings splash color on web export
2024-11-12 09:28:08 -06:00
4db5cd6e84 Display correct splash color on web export 2024-11-11 21:35:25 +01:00
1ffe8bb191 Trim a few no-break and zero-width spaces from codebase 2024-11-10 19:04:32 +01:00
76164c2aa9 [OS] Add functions to determine standard I/O device type. 2024-11-06 13:33:38 +02:00
16524a8a01 Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03:00
598cfbdfd6 Merge pull request #97020 from GuilhermeGSousa/fix-non-const-anim-node-process
Fix non const animation node `_process` virtual function
2024-10-29 19:26:00 -05:00