Commit Graph

4576 Commits

Author SHA1 Message Date
bcc4d26c48 Add more information on triangulate polygon 2022-02-05 10:49:25 -05:00
feb34dfb2e Merge pull request #57385 from madmiraal/update-mouse-pointer-definitions
Update definitions of get_mouse_position methods
2022-02-05 16:09:52 +01:00
189dab2d76 Add visibility to CanvasLayer 2022-02-05 14:02:21 +01:00
df1724470d Merge pull request #49775 from fire/faster-cvtt
Faster CVTT by lowering default quality
2022-02-05 10:28:07 +01:00
9fd095011e Merge pull request #57639 from Sauermann/fix-onready-docs
Add @ to onready annotated variables in docs
2022-02-05 10:11:13 +01:00
e714f5e56e Rework TextureButton stretch 2022-02-05 02:11:32 +01:00
70da14db68 Add @ to onready annotated variables in docs 2022-02-05 01:08:41 +01:00
d091995e05 Merge pull request #57518 from pycbouh/docs-theme-refinement 2022-02-05 00:58:43 +01:00
419b342a9a Faster CVTT by reducing quality.
Make BC6 and BC7 CVTT faster while still having better quality than DXT5.
2022-02-04 15:15:26 -08:00
2885befbe6 Merge pull request #55950 from Faless/mp/4.x_replication_nodes 2022-02-04 19:03:10 +01:00
54b47b8fa6 Refine Theme documentation to make it more factual 2022-02-04 20:29:54 +03:00
012809d8ae Update definitions of get_mouse_position methods 2022-02-04 14:21:47 +00:00
d219547c96 [Net] New replication interface, spawner and synchronizer nodes.
Initial implementation of the MultiplayerReplicationInterface and its
default implementation (SceneReplicationInterface).

New MultiplayerSpawner node helps dealing with instantiation of scenes
on remote peers (e.g. clients).
It supports both custom spawns via a `_spawn_custom` virtual function,
and optional auto-spawn of known scenes via a TypedArray<PackedScenes>
property.

New MultiplayerSynchornizer helps synchronizing states between the local
and remote peers, supports both sync and spawn properties and is
configured via a `SceneReplicationConfig` resource.
It can also sync via path (i.e. without being spawned by a
MultiplayerSpawner if both peers has it in tree, but will not send the
spawn state in that case, only the sync one.
2022-02-04 14:56:30 +01:00
89eb6d372d Merge pull request #57591 from vnen/gdscript-enum-fixes 2022-02-04 13:49:15 +01:00
225a3b2545 Merge pull request #57341 from bruvzg/win_multiwin_fs 2022-02-04 13:28:56 +01:00
d235c1bb19 Merge pull request #57335 from jordigcs/display-refresh-rate 2022-02-04 11:51:07 +01:00
f4ea9cd9f3 [Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to allow multi-window interface in full-screen.
[Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
2022-02-04 12:08:46 +02:00
2a3c4f00c8 Merge pull request #57541 from reduz/node-add-remove-hook 2022-02-04 10:13:29 +01:00
54dec44dba Add screen_get_refresh_rate to DisplayServer 2022-02-03 21:50:32 -06:00
f8f19b313d Merge pull request #57562 from AnilBK/string-add-contains
String: Add contains().
2022-02-03 22:21:24 +01:00
adbe948bda String: Add contains(). 2022-02-04 01:28:02 +05:45
7191605324 Merge pull request #57587 from bruvzg/gde_fix_ptr_and_enum_returns
[GDExtension] Fix registration of functions with enum or native pointer return type.
2022-02-03 20:36:59 +01:00
bf0253bab9 Merge pull request #56764 from madmiraal/fix-45592-2 2022-02-03 18:10:30 +01:00
ad6e2e82a9 GDScript: Consolidate behavior for assigning enum types
This makes sure that assigning values to enum-typed variables are
consistent. Same enum is always valid, different enum is always
invalid (without casting) and assigning `int` creates a warning
if there is no casting.

There are new test cases to ensure this behavior doesn't break in
the future.
2022-02-03 13:32:16 -03:00
5e39a8eded Merge pull request #56992 from YeldhamDev/smarter_popmenu_focus 2022-02-03 17:15:06 +01:00
45d5aa5d47 Merge pull request #56365 from aaronfranke/default-shape-size 2022-02-03 16:59:07 +01:00
ead6f67670 Add auto-wrap mode property to the RichTextLabel, set default auto-wrap mode to AUTOWRAP_WORD_SMART to match 3.x behavior. 2022-02-03 16:04:07 +02:00
ddd96b3059 [GDExtension] Fix registration of functions with enum or native pointer return type. 2022-02-03 16:03:23 +02:00
73e784de1e Remove get_focus_owner() from Control, replaced by get_viewport()->gui_get_focus_owner() 2022-02-03 11:59:32 +01:00
36880714e4 Merge pull request #57517 from groud/viewport_expose_gui_focus 2022-02-03 11:20:20 +01:00
309b9d3301 Merge pull request #57575 from timothyqiu/doc-stream-peer-buffer 2022-02-03 10:24:12 +01:00
b30c566c19 Add documentation for StreamPeerBuffer 2022-02-03 16:00:55 +08:00
3dc1fad262 Expand description for warp_mouse_position method
Add more detail to the description for the warp_mouse_position method, clarifying that the vector is in screen coordinates and relative to an origin at the top of the game window.
2022-02-03 10:11:25 +11:00
ca42bfb2a5 Merge pull request #57504 from Chaosus/vs_vector2 2022-02-02 21:12:45 +03:00
59af063636 Add support for 2D vector type to visual shaders 2022-02-02 19:59:34 +03:00
68e62fb5cd Merge pull request #57540 from mhilbrunner/docs-object-set
DOCS: Object.set() does nothing on type mismatch
2022-02-02 16:31:26 +01:00
c8ee8082f4 Merge pull request #57531 from Calinou/doc-area-overlaps
Clarify Area2D/Area3D `overlaps_area()`/`overlaps_body()` documentation
2022-02-02 15:22:38 +01:00
fbd9599b04 Add a signal to notify when children nodes enter or exit tree
-Allows more fine grained notifications (hence better performance) than using the global scene tree signals (node added and removed).
-Required for #55950
2022-02-02 11:28:11 +01:00
bb7d003881 DOCS: Object.set() does nothing on type mismatch 2022-02-02 11:24:47 +01:00
215bede6ff [TextServer] Add function to change font, font size, and OpenType features without invalidating line break points, justification points, or recreating shaped text buffer. 2022-02-02 11:20:44 +02:00
2ea08134c3 Clarify Area2D/Area3D overlaps_area()/overlaps_body() documentation 2022-02-01 22:20:29 +01:00
10e7977be3 Clarify documentation for Rect2/Rect2i's has_no_area() 2022-02-01 18:00:05 +01:00
3521eecb4c Exposes gui_release_focus and gui_get_focus_owner to Viewport 2022-02-01 15:07:22 +01:00
d4e21b7d62 Merge pull request #57358 from akien-mga/signal-bindings-object 2022-02-01 14:24:47 +01:00
f1bff648f2 Merge pull request #57355 from akien-mga/method-bindings-clearer-types 2022-02-01 14:24:35 +01:00
8cfd264148 Improve the default size for 3D shapes (Box, Capsule, and Cylinder) 2022-02-01 06:43:16 -06:00
dafadd73ac Merge pull request #57375 from Calinou/gradienttexture-curvetexture-decrease-default-size 2022-02-01 13:39:16 +01:00
7b4635d9cd Fix TileMap remove_layer description 2022-02-01 00:45:12 +01:00
8c7cd904f5 Merge pull request #57469 from Sauermann/fix-rect2i-intersect 2022-02-01 00:05:02 +01:00
45553fd586 Merge pull request #56970 from YeldhamDev/rise_tabbar_rise 2022-01-31 21:46:07 +01:00