780cf03051
Merge pull request #104556 from Ivorforce/string-extend-instead-of-parse
...
Use `append_` instead of `parse_` for `String` methods.
2025-03-29 10:16:33 -05:00
ffa6ef220b
Use append_ instead of parse_ for String methods.
2025-03-27 17:51:02 +01:00
75881f8322
Use initializer list in Arrays
2025-03-26 18:38:15 +01:00
8f331ebd9c
Merge pull request #103099 from YeldhamDev/build_res_loader_disable
...
Disable `ResourceFormatLoader/Saver`s of disabled classes
2025-03-23 19:04:01 -05:00
f09ee0171a
Style: Begin integrating simple .clangd fixes
2025-03-22 13:24:35 -05:00
090358afcf
Disable ResourceFormatLoader/Savers of disabled classes
2025-03-21 14:23:05 -03:00
10f6c01b9c
Remove ABS in favor of Math::abs
2025-03-19 13:52:40 +01:00
1de900c6ec
Add MultiplayerSpawner unit tests
...
Partially fixes #43440 .
2025-03-19 10:03:28 +01:00
6f25babd6b
Remove empty constructors and destructors from editor/
2025-03-17 21:20:02 +01:00
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
c7ef85a92f
Use FlowContainer for EditorNetworkProfiler bar
2025-02-08 12:42:54 +03:00
a1846b27ea
Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
33817b186f
Remove unused header in drivers and modules.
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com >
2024-12-24 00:40:47 +08:00
bf4e5cca3f
Make editor's shortcut names translated on-site
2024-12-18 13:00:30 +08:00
9f8bbe43ee
Add profiler autostart indicator to EditorRunBar
2024-12-16 10:15:24 +01:00
ba39b078f5
[Scene] Add SceneStringName::FlatButton
2024-12-10 11:12:26 +03:00
ab58a339df
Merge pull request #99712 from KoBeWi/bug_spawner_spawns_new_bugs_to_fix
...
Fix UID support in MultiplayerSpawner
2024-12-04 11:02:02 -06:00
67b95f341e
Fix UID support in MultiplayerSpawner
2024-12-03 22:11:43 +01:00
ab54ba92a4
Merge pull request #99752 from Faless/mp/fix_offlfine_mp_docs
...
[MP] Move OfflineMultiplayerPeer docs to the module
2024-12-02 15:51:34 +01:00
af56d6e8e8
Use SceneStringName in more places
2024-12-02 14:39:16 +01:00
f511ef26f1
[MP] Move OfflineMultiplayerPeer docs to the module
...
Was missing from the module config, causing the XML to be added to the
main doc folder
2024-11-27 13:18:33 +01:00
dd0c24bcd3
Merge pull request #99137 from KoBeWi/uideal_scenario
...
Handle scene UIDs in MultiplayerSpawner
2024-11-19 15:20:00 -06:00
68f638cf02
Use (r)find_char instead of (r)find for single characters
2024-11-17 10:02:18 +01:00
e4608dd6c2
Merge pull request #98138 from CrayolaEater/better-explanation-mp-sync
...
Better explanation for replication interval and delta interval (MultiplayerSynchronizer)
2024-11-15 10:42:47 -06:00
f72b841390
Better explanation for the replication interval and delta interval in the MultiplayerSynchronizer node
2024-11-15 02:46:10 +02:00
88b3090745
Handle scene UIDs in MultiplayerSpawner
2024-11-14 23:41:58 +01:00
9be806aef1
Merge pull request #92986 from Repiteo/core/ref-instantiate-integration
...
Core: Integrate Ref `instantiate` where possible
2024-11-11 14:18:15 -06:00
def34fb06e
Merge pull request #98472 from rune-scape/sort-rpc
...
SceneRPCInterface: Sort rpc names using `StringLikeVariantOrder`
2024-11-11 14:18:07 -06:00
925b690c98
Core: Integrate Ref::instantiate where possible
2024-11-10 12:41:26 -06:00
696ca9db3c
Merge pull request #98039 from aaronfranke/button-icon
...
Rename internal Button `*_icon` functions to `*_button_icon` to match exposed methods
2024-10-29 19:25:59 -05:00
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
0d350e7108
Set clang-format RemoveSemicolon rule to true
...
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
3c8615221a
SceneRPCInterface: Sort rpc names using StringLikeVariantOrder
2024-10-24 14:16:30 -07:00
e376c4f30c
Add unit tests for SceneMultiplayer
...
This PR aims to help "fix" #43440
Also fixing a small typo on `SceneMultiplayer` docs.
2024-09-29 21:44:52 -03:00
807136b679
Merge pull request #97425 from CrayolaEater/better-description-multiplayer-spawner-signals
...
Better description for multiplayer spawner signals
2024-09-26 18:45:42 +02:00
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
2cfe6d9f64
Better description for multiplayer spawner signals
2024-09-24 23:15:51 +03:00
7d7e0344ee
Fix Network Profiler not disabling buttons
2024-09-17 13:19:15 +05:30
b573994730
Merge pull request #97045 from Calinou/doc-scenemultiplayer-auth-timeout
...
Document SceneMultiplayer `auth_timeout` being in seconds
2024-09-16 13:36:02 +02:00
4d35402c1c
Merge pull request #96400 from Maran23/inputmap-usage-for-filter-and-corresponding-refactor
...
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
2024-09-16 13:34:38 +02:00
8ebfd89359
Merge pull request #96024 from Ryan-000/expose_get_rpc_config
...
Expose `get_rpc_config` and `get_node_rpc_config`
2024-09-16 13:34:34 +02:00
212c34029e
Document SceneMultiplayer auth_timeout being in seconds
2024-09-15 17:49:38 +02:00
97843116f6
Merge pull request #96759 from Geometror/implement-autostart-profilers
...
Implement autostart for all profilers
2024-09-13 11:21:54 +02:00
32e4ab91e8
[MP] Fix broken RPCs after dictionary keys type change
...
As part of RPCs processing, they need to be sorted reliably across all
peers, so that unique IDs can be assigned to greatly optimize the
network layer.
The RPC configuration nodes are stored in dictionaries which, until
recently, always casted StringName keys to String.
Since method names (keys) in the RPC configuration were StringName,
a side effect of the above change is that sorting the dictionary keys no
longer sort them alphabetically by default (StringName are compared
using their pointers).
This commit changes the RPC processing logic to use sort_custom to
provide a function that can handle the StringName comparison.
2024-09-12 16:38:14 +02:00
c53fd9c7be
Implement Autostart Feature for Profiler / Visual Profiler / Network Profiler
...
Co-authored-by: stmSi <stm1998sithumyo@gmail.com >
2024-09-10 19:40:42 +02:00
8835f326b1
Expose get_rpc_config and get_node_rpc_config
...
add documentation
Update doc/classes/Node.xml
change name of get_node_rpc_config to get_rpc_config
Co-Authored-By: moondog <159832633+dog-on-moon@users.noreply.github.com >
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com >
2024-09-04 15:45:22 -04:00
13a90e938f
Merge pull request #70096 from rune-scape/stringname-dict
...
StringName Dictionary keys
2024-09-03 17:38:06 +02:00
042b264c55
[MP] Fix division by zero in network profiler
...
The debugger reports synchronizers with empty state to the editor
even if no data is being sent to other peers.
The editor conditional to avoid division by zero was checking the wrong
variable.
2024-09-02 13:29:38 +02:00
74f64aaf98
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
...
- Instead of checking for Key::UP, Key::DOWN, Key::PAGEUP, Key::PAGEDOWN etc., we rather check for the action like 'ui_up' or 'ui_down'.
- Also use AcceptDialog's 'register_text_enter' functionality to consistently close a dialog when ENTER is pressed while the LineEdit has focus (instead of redirecting ENTER keys to e.g. the underlying Tree).
- Unify the LineEdit filter behavior for the SceneTreeDialog and corresponding usages
- Improve OK Button disablement (something should be selected)
2024-08-31 21:10:27 +02:00
154049ce17
StringName Dictionary keys
...
also added 'is_string()' method to Variant
and refactored many String type comparisons to use it instead
2024-08-29 13:39:27 -07:00