Commit graph

2601 commits

Author SHA1 Message Date
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
scgm0
cbc960c997 Fix some compilation errors 2025-10-14 05:54:58 +08:00
Lukas Tenbrink
985e6178b4 Remove extraneous includes from texture.h. 2025-10-10 18:39:16 +02:00
Lukas Tenbrink
33689d7beb Remove transitive mesh.h, rendering_server.h and shader.h includes from node.h. 2025-10-08 12:16:52 +02:00
Harper Stoeckle
6aab67da6b Fix incorrect transform calculation in Camera2D when using a custom viewport 2025-10-07 15:17:56 -06:00
Thaddeus Crews
fb572aff53
Merge pull request #107666 from Sch1nken/add-physics-interpolation-multimesh2d
Add MultiMesh physics interpolation for 2D transforms (MultiMeshInstance2D)
2025-10-03 12:01:07 -05:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews
a430bf6e8b
Merge pull request #110768 from Ir1ana/fix/110710
Fix nested TileMapLayers highlight rendering in editor
2025-09-30 20:10:41 -05:00
Aaron Franke
9fbf5808a0
Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
Aaron Franke
754d49ac81
Skip copying values constructed immediately before returning 2025-09-26 19:13:58 -07:00