Rémi Verschelde
2dd1f4ef60
Decouple node.h from scene_tree.h, minimize its other includes
2026-03-05 13:54:46 +01:00
Rémi Verschelde
18edfa5245
Explicitly include scene_tree.h where used
...
Pre-requisite before removing `scene_tree.h` from `node.h`
which has cascading consequences on most of the codebase.
2026-03-05 10:43:25 +01:00
Thaddeus Crews
98e6b3c460
Merge pull request #116956 from KoBeWi/missingmesh
...
Add configuration warning for missing Mesh
2026-03-04 14:32:31 -06:00
Rémi Verschelde
eabb9a63d4
Rename callable_method_pointer.h to callable_mp.h and include it explicitly
...
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.
Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde
765362b033
Explicitly include core/config/engine.h where used
2026-03-04 10:17:10 +01:00
Rémi Verschelde
f332faf46b
Explicitly include core/os/os.h where used
2026-03-04 09:54:10 +01:00
Rémi Verschelde
8c0f175c94
Decouple RenderingServer from as much of the codebase as possible
...
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
kobewi
75f0e931e2
Add configuration warning for missing Mesh
2026-03-02 14:00:26 +01:00
Pāvels Nadtočajevs
1306221592
Move accessibility methods/enums from DisplayServer to the AccessibilityServer dedicated singleton.
2026-03-02 13:48:29 +02:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly
2026-02-26 15:50:28 -06:00
Rémi Verschelde
cb9b4cff90
Decouple MeshStorage from RenderingServer
...
By moving RS::SurfaceData and RS::MeshInfo to RenderingServerTypes.
This notably allows removing RS dependency from `mesh.h`.
2026-02-25 20:17:28 +01:00
Rémi Verschelde
f5a290ac46
Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
...
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.
With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
kobewi
6f86914f55
Cleanup _validate_property() implementations
2026-02-23 15:05:25 +01:00
Lukas Tenbrink
d6540e4aa7
Add move semantics to RBMap and RBSet. Make copy constructors explicit.
2026-02-20 20:47:15 +01:00
Thaddeus Crews
46729d4b5e
Merge pull request #116430 from bruvzg/l2os
...
Apply viewport oversampling to Line2D
2026-02-18 12:04:31 -06:00
Pāvels Nadtočajevs
4c0de4f538
Apply viewport oversampling to Line2D
2026-02-18 14:34:36 +02:00
Rémi Verschelde
ad4b910a10
Minimize include dependencies of display_server.h
...
- Removes `native_menu.h` dependency from `display_server.h`.
It's now forward-declared in all DisplayServer implementations and should
be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
having to include them explicitly in half the scene and editor codebase...
which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
Lukas Tenbrink
c9249346c4
Change HashSet copy constructor from implicit to explicit.
2026-02-16 23:10:33 +01:00
Thaddeus Crews
ba5a0758e9
Revert "Change curve range for particle multipliers"
...
This reverts commit c6021f1e5b .
2026-02-10 09:58:58 -06:00
Thaddeus Crews
c44b01cd1f
Merge pull request #104736 from szunami/master
...
Add one-way collision direction for CollisionShape2Ds
2026-02-10 08:29:38 -06:00
Lukas Tenbrink
c5df0cb82b
Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history.
2026-02-04 19:31:28 +01:00
Sam Szuflita
967c0a2650
Add one-way collision direction for CollisionShape2Ds
2026-02-02 13:12:00 -05:00
Rémi Verschelde
63c78e684b
Merge pull request #114165 from KoBeWi/static ⚡ ⚡
...
Use actual class names in resource type hints
2026-02-02 10:10:24 +01:00
Rémi Verschelde
429750f60b
Merge pull request #115093 from Ivorforce/hashmap-explicit-copy
...
Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit
2026-01-31 22:50:51 +01:00
kobewi
f7b9703cbd
Use actual class names in resource type hints
2026-01-29 21:07:56 +01:00
Lukas Tenbrink
72b281d41e
Remove a few includes of curve.h, texture.h and resource_loader.h + resource_saver.h.
2026-01-29 15:59:29 +01:00
Nintorch
eb019511ed
Optimize files that #include input.h header
2026-01-28 14:21:00 +05:00
Lukas Tenbrink
1825e89787
Change copy constructors of HashMap and AHashMap from implicit to explicit.
2026-01-21 13:01:23 +01:00
kleonc
5a275eae38
Preserve winding order for transformed tiles' navigation polygons
2026-01-08 19:41:56 +01:00
Logan Detrick
42e60c38dc
Remove unused private variables in godot/scene
2025-12-07 03:46:26 -08:00
aXu-AP
c6021f1e5b
Change curve range for particle multipliers
...
Fixes #91404
Curves are applied as a multiplier, so ranges [-1, 1] or [0, 1] make much more sense than ranges like [-360, 360] or [0, 100]. The actual range is selected with separate min and max parameters.
2025-12-03 20:47:40 -06:00
David Snopek
308f23f21d
Synchronize the names for RequiredParam<T> arguments in header files
2025-12-03 04:14:52 -06:00
Thaddeus Crews
9f5309a2a4
Merge pull request #113471 from smix8/issue_113446
...
Fix build error when Navigation 2D is disabled
2025-12-02 20:43:06 -06:00
Thaddeus Crews
9f76aa3df5
Merge pull request #113282 from dsnopek/required-ptr-get-out-there
...
Use `RequiredParam`/`RequiredResult` in some high value places
2025-12-02 20:42:53 -06:00
smix8
1977969759
Fix build error when Navigation 2D is disabled
...
Fixes build error when Navigation 2D is disabled.
2025-12-02 21:18:40 +01:00
David Snopek
fc92ce3e7f
Use RequiredParam/RequiredResult in some high value places
2025-12-02 10:44:12 -06:00
Hugo Locurcio
2cf7af9149
Make all unsupported renderer message features consistently warnings
...
Previously, some messages indicating a lack of support were errors
instead of warnings. Some messages were also not shown when running
a release export template.
- Use "renderer" terminology consistently instead of "rendering method".
2025-12-01 17:38:12 +01:00
Thaddeus Crews
4dbac6eaea
Merge pull request #112810 from lawnjelly/fti_camera2d_accept_resets
...
`FTI` - `Camera2D` accepts resets only after entering tree
2025-11-25 09:52:26 -06:00
lawnjelly
087dea4b15
FTI - Camera2D accepts resets only after entering tree
2025-11-15 12:02:43 +00:00
kleonc
944bd82d45
Fix TileMapLayer transformations for Node2D scene tiles
2025-11-15 00:39:34 +01:00
Thaddeus Crews
d1a90109b4
Merge pull request #108010 from DexterFstone/add-scene-tile-rotation
...
Add support for rotating scene tiles in TileMapLayer
2025-11-14 14:23:13 -06:00
Thaddeus Crews
7d5034c50a
Merge pull request #108507 from dementive/optimize-scene-tree-groups
...
Optimize scene tree groups
2025-11-14 14:22:57 -06:00
Thaddeus Crews
3d6ad3f806
Merge pull request #94929 from StamesJames/emission-shape-ring-for-2d
...
Add emission shape ring for CPUParticles2D
2025-11-10 08:20:16 -06:00
Pāvels Nadtočajevs
4f4d4ca26c
Apply viewport oversampling to Polygon2D.
2025-11-03 22:34:40 +02:00
Rémi Verschelde
04a089d469
Merge pull request #111651 from zuedev/zuedev/issue-111587
...
Fix Camera2D limit checks for inverted boundaries
2025-11-01 19:05:24 +01:00
Rémi Verschelde
accf00c000
Merge pull request #111384 from harperstoeckle/fix-camera-2d-size
...
Fix incorrect transform calculation in `Camera2D` when using a custom viewport
2025-11-01 19:05:18 +01:00
Thaddeus Crews
92f57ed14d
Merge pull request #112145 from IphStich/fix-erasecorner-tileterrain
...
Fix "Match Corners" not correctly updating cells when erasing
2025-10-29 13:13:54 -05:00
Elise
b2a4bda3b0
Fix a bug where erasing cells with "Match Corners" mode would not result in all neighbors updating correctly
2025-10-29 18:48:22 +11:00
DexterFstone
7d8370a5fb
Add ability to copy and paste animations in SpriteFrames
2025-10-28 23:00:55 +03:30
Alex Pooley (@zuedev)
3d7b3fa0e4
Fix Camera2D limit checks for inverted boundaries
...
Update limit boundary conditions to properly detect when limits are inverted (left > right or top > bottom).
Issue #111587
2025-10-14 18:49:48 +01:00