Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly
2026-02-26 15:50:28 -06: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
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
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
kobewi
f7b9703cbd
Use actual class names in resource type hints
2026-01-29 21:07:56 +01:00
kleonc
5a275eae38
Preserve winding order for transformed tiles' navigation polygons
2026-01-08 19:41:56 +01:00
Malcolm Anderson
4eca0fbbc3
Fix wording in TileSet collision polygon error message
2025-12-27 16:04:16 -08:00
Hugo Locurcio
3e7eb5c9dc
Tweak property hints for SoftBody3D mass and SkeletonModification2DJiggle
...
Masses in Godot are specified in kilograms.
This also fixes the SoftBody3D mass being limited to increments of 1 kg,
now allowing adjustments to the nearest gram.
2025-12-18 02:28:13 +01:00
kleonc
4619b2dffa
Fix get_scene_tile_display_placeholder erroring for transformed scene tiles
2025-12-10 18:32:46 +01:00
Logan Detrick
42e60c38dc
Remove unused private variables in godot/scene
2025-12-07 03:46:26 -08:00
David Snopek
308f23f21d
Synchronize the names for RequiredParam<T> arguments in header files
2025-12-03 04:14:52 -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
David Snopek
fc92ce3e7f
Use RequiredParam/RequiredResult in some high value places
2025-12-02 10:44:12 -06:00
xuhuisheng
37a6043579
Fix empty skeleton modification keeps print error messages
2025-11-26 12:37:14 +08:00
kobewi
c4c39fba55
Fix display_placeholder not persisting
2025-11-16 03:18:24 +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
scgm0
cbc960c997
Fix some compilation errors
2025-10-14 05:54:58 +08:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
Aaron Franke
9fbf5808a0
Rename server "free" functions to "free_rid" to match exposed API
2025-09-30 16:52:25 -07:00
Thaddeus Crews
21fd4faf1b
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
...
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
Aaron Franke
754d49ac81
Skip copying values constructed immediately before returning
2025-09-26 19:13:58 -07:00
Lukas Tenbrink
abe3b481ae
Make conversions from LocalVector to Vector explicit.
2025-09-16 21:41:28 +02:00
cafebeef
bc0eba5296
Fixed Skeleton2D TwoBoneIK and LookAt mirroring
...
Co-authored-by: thiagola92 <thiagola92@gmail.com>
2025-09-06 16:20:24 -05:00
DexterFstone
6a399302c3
Add support for rotating scene tiles in TileMapLayer
2025-07-19 10:53:47 -07:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
...
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
LuoZhihao
8ba4656ea3
Compile out editor-only logic within validate_property in games
2025-06-12 12:54:19 +08:00
Rémi Verschelde
baa92252d3
TileSet: Fix -Wmaybe-uninitialized warning on CompatibilityShapeData
2025-05-27 13:51:13 +02:00
Rémi Verschelde
b323212e0e
TileSet: Prevent crash in conversion of invalid tiles from Godot 3.x
...
Fixes #80898 .
2025-05-25 15:20:56 +02:00
Thaddeus Crews
274ed34ac4
Merge pull request #93836 from aaronfranke/capsule-mid-height
...
Add mid height property to CapsuleShape2D/3D
2025-05-23 09:46:13 -05:00
Thaddeus Crews
fd1168620f
Merge pull request #105718 from aaronfranke/nav-const-caps
...
Capitalize global navigation constants
2025-05-06 08:38:07 -05:00
kobewi
34b485d62b
Remove empty constructors and destructors from scene/
2025-05-06 14:46:54 +02:00
Aaron Franke
783728fcb4
Capitalize global navigation constants
2025-05-05 12:08:15 -07:00
Aaron Franke
9f38cfe3ca
Add mid height property to CapsuleShape2D/3D
2025-05-01 15:45:51 -07:00
lawnjelly
f8f350a32a
Add GLOBAL_GET cached macros.
...
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
Thaddeus Crews
3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
...
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
RedMser
143db328e7
Fix cases where _get returned true erroneously
2025-04-25 19:06:09 +02:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
...
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews
94282d88f9
Core: Use Math namespace for constants
2025-04-10 16:29:30 -05:00
Yufeng Ying
bbc380b07e
Do not iterate Dictionary with get_key_at_index.
2025-04-07 21:54:13 +08:00
Julian
38305a2ad0
Fix editing custom data for tilesets
2025-04-04 14:28:01 -04:00
Yufeng Ying
7a1a970c25
size() <= 0 and size() < 1.
2025-04-02 19:18:44 +08:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
Michael Alexsander
556933306a
Allow to compile templates without navigation features
2025-04-01 11:53:35 -03:00
Thaddeus Crews
d52b84e472
Merge pull request #103993 from aaronfranke/geometry-segment
...
Directly use segment points in Geometry2D/3D function parameters
2025-04-01 08:01:34 -05:00
Thaddeus Crews
8f6bb119f4
Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
...
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
Aaron Franke
c1acc839a8
Directly use segment points in Geometry2D/3D function parameters
2025-03-30 16:25:59 -07:00
Rémi Verschelde
e8bc75f056
Merge pull request #103373 from YeldhamDev/build_remove_physics
...
Allow to compile templates without physics servers
2025-03-28 17:30:03 +01:00
Rémi Verschelde
3b90bb56ad
Merge pull request #89782 from KoBeWi/stdArrayList
...
Use initializer list in Arrays
2025-03-28 17:29:40 +01:00