Commit graph

1175 commits

Author SHA1 Message Date
Fabio Alessandrelli 348725dfe0 Add option to disable automatic multiplayer poll
Automatic poll from SceneTree is enabled by default.
This allows for polling (and thus RPCs/RSETs) manually in other loops
(e.g. physics, thread, specific step) and for proper mutex protecion
when accessing the multiplayer API from threads (e.g. for sending larger
files in chunks).
2018-06-03 18:58:04 +02:00
Rémi Verschelde 819911d16e makerst.py: Properly escape \ for rst
Fixes godotengine/godot-docs#1486.
2018-05-31 15:38:33 +02:00
Max Hilbrunner 63b607257b
Merge pull request #19266 from akien-mga/os-execute-doc
Improve return value and docs on OS.execute regarding blocking/non-blocking variants
2018-05-30 15:00:10 +02:00
Rémi Verschelde f392650be2 Improve return value of OS.execute in blocking/non-blocking variants
Initialized the PID to -2, which will be the value returns in blocking-
mode where the PID is not available. (-1 was already taken to signify an
execution failure).

OS::execute will now properly return a non-OK error code when it fails
to execute the target file.

The documentation was rewritten to be very clear about the differences
between blocking and non-blocking mode.

Fixes #19056.
2018-05-30 12:55:17 +02:00
Fabio Alessandrelli 4524153b6e New sync RPC modes to match all combinations 2018-05-29 20:26:41 +02:00
Fabio Alessandrelli 1400f6fdc4 Refactor RPCMode enum and checks 2018-05-29 20:26:41 +02:00
Max Hilbrunner 4c69a495c9
Revert "RPCMode refactor, more sync modes" 2018-05-29 11:47:52 +02:00
Max Hilbrunner d0b62ce155
Merge pull request #19021 from Faless/rpc_sync_fix
RPCMode refactor, more sync modes
2018-05-29 09:44:03 +02:00
Rémi Verschelde c8a799d691 Fix MethodInfo for EditorInspectorPlugin.can_handle 2018-05-28 16:28:09 +02:00
Rémi Verschelde 4c5dd51eb9 Sync classref with current source
Also fix binding of Basis.slerp
2018-05-28 14:53:15 +02:00
Rémi Verschelde 98846b39ee
Merge pull request #18899 from ibrahn/gdscript-license-info
GDScript access to copyright, license, author and donor information.
2018-05-28 11:58:20 +02:00
Michael Alexsander Silva Dias e10687a520 Fixed GroupCallFlags links in the SceneTree's doc. 2018-05-27 01:22:34 -03:00
Max Hilbrunner 7e8b7a7815
Merge pull request #18379 from ZDDM/18-04-23-audiostream-docs
Fully expose the data variable in AudioStreamSample and AudioStreamOGGVorbis
2018-05-26 18:22:05 +02:00
Max Hilbrunner 0e5ee8d635
Merge pull request #18747 from anakimluke/patch-1
fixed minor doc wording problem
2018-05-26 17:51:16 +02:00
Fabio Alessandrelli 19ba3d5da3 New sync RPC modes to match all combinations 2018-05-26 10:43:43 +02:00
Fabio Alessandrelli 9de4ffde61 Refactor RPCMode enum and checks 2018-05-26 10:43:43 +02:00
Bastiaan Olij b7ae2ca128 Added some quick info on shaders to the docs 2018-05-26 12:08:34 +10:00
Max Hilbrunner 9115d84913
[DOCS] Array sort 2018-05-25 16:55:56 +02:00
Rémi Verschelde d522bf3b9f
Merge pull request #18752 from danilo2205/enhanced_path_follow
Up Vector for Curve3D and OrientedPathFollow Implementation
2018-05-25 10:17:37 +02:00
Max Hilbrunner acf6c326fb
Merge pull request #14715 from Krakean/string_add_rsplit2
Added rsplit() method to String class
2018-05-23 17:19:35 +02:00
danilo2205 dc639d334a Up vector implementation and OrientedPathFollow. 2018-05-20 19:51:56 -03:00
Chris Bradfield 393125a6a4 [DOCS] Update VideoPlayer classref 2018-05-20 13:43:48 -07:00
Ibrahn Sahir 1433c2cbbb GDScript access to copyright, license, author and donor information.
Adds following functions to the Engine singleton:
get_author_info - names of Godot authors
get_copyright_info - detailed source copyright get_license_info
get_donor_info - donor names
get_license_info - full text of licenses used, indexed by license names
get_license_text - the text of the Godot Expat license
2018-05-19 00:40:16 +01:00
Rémi Verschelde 36a74696d6
Merge pull request #18804 from tagcup/vec_slerp
Add SLERP to Vector{2,3}, optimize Quat's Vector3 rotation.
2018-05-16 23:24:56 +02:00
Rémi Verschelde 2cf36651b9
Merge pull request #18814 from PJB3005/18-05-12-imagetexture-load-error
ImageTexture.load returns an error code.
2018-05-16 23:23:08 +02:00
Rémi Verschelde 0888f75c25
Merge pull request #18934 from YeldhamDev/project_metadata_expose
Exposed set/get_project_metadata in EditorSettings
2018-05-16 23:13:47 +02:00
Kelly Thomas c6ed46891d [docs] fix links in class docs 2018-05-17 00:15:30 +08:00
Michael Alexsander Silva Dias e03de3ddfc Exposed set/get_project_metadata in EditorSettings. 2018-05-16 12:44:15 -03:00
Max Hilbrunner 17e84568a4
Merge pull request #18855 from clayjohn/doc_procedural_sky
Added Documentation for Procedural Sky
2018-05-16 03:02:29 +02:00
Pieter-Jan Briers 0f303c9f43 Fix missing registration for new param of TextEdit::cursor_set_line.
This caused Mono glue gen to fail and other bugs to appear
(such as in Visual Script)
2018-05-15 21:53:42 +02:00
clayjohn 6711691d10 added documentation for procedural sky
Added documentation for procedural sky

added documentation for procedural sky

added documentation for procedural sky
2018-05-14 21:06:41 -07:00
Pieter-Jan Briers 622a754584 ImageTexture.load returns an error code. 2018-05-14 19:11:41 +02:00
Kelly Thomas 888eefa0fd [docs] fix links in class docs 2018-05-14 23:06:22 +08:00
Max Hilbrunner af6513b7ff
Merge pull request #18821 from PJB3005/18-05-12-doc-enums
Makes doc methods display enums.
2018-05-13 23:46:27 +02:00
clayjohn 1bf7f8fcd1 filled in docs for panorama sky
filled in docs for panorama sky
2018-05-13 13:56:34 -07:00
Chris Bradfield 8bc4882dd3 [DOCS] Vector2/Vector3/TileMap wording fixes 2018-05-12 17:58:45 -07:00
Max Hilbrunner ca10cb6eea
Merge pull request #18823 from Faless/multiplayer_raw
Allow sending raw bytes via the Multiplayer API
2018-05-12 23:50:26 +02:00
Fabio Alessandrelli 0ad07a823c Fix and improve docs, adds send_bytes 2018-05-12 23:22:09 +02:00
Pieter-Jan Briers 331b0e8526 Makes doc methods display enums. 2018-05-12 20:08:39 +02:00
tagcup ed7aadcd87 Add SLERP to Vector{2,3}, optimize Quat's Vector3 rotation.
Also even out Basis and Quat APIs a little.
2018-05-12 13:05:04 -04:00
Daniel "Orangestar" O 40ec56801b
Fix Error in the ScrollContainer Tooltips 2018-05-12 03:45:56 -05:00
Rémi Verschelde 3d9deda8b3 Sync classref with current source 2018-05-12 09:38:00 +02:00
Noshyaar 41e9e5501b
Fix docs regarding Color.from_hsv hue range [0,360] -> [0,1]
Per changes in #17407
2018-05-11 18:57:11 +07:00
Guilherme Felipe 50a0220d2d Reset the cursor with Input.set_custom_mouse_cursor(null) 2018-05-10 20:02:12 -03:00
anakimluke 4fe2605ab3
fixed minor doc wording problem 2018-05-09 17:50:43 -03:00
Fabio Alessandrelli dd546dc5b8 Document websocket module, further document enet 2018-05-08 21:15:50 +02:00
Fabio Alessandrelli cbb744c4e0 Document MultiplayerAPI class 2018-05-08 21:15:50 +02:00
Rémi Verschelde de9683b605
Merge pull request #17559 from simedis/joint_motors
Implemented interface for bullet linear motors
2018-05-08 10:23:41 +02:00
Juan Linietsky 7811156c4f
Merge pull request #17451 from Goutte/feat-base-button-mask
Allow configuration of which mouse buttons the BaseButton responds to
2018-05-07 18:24:17 -03:00
Juan Linietsky 7b065a59fa
Merge pull request #15911 from Zephilinox/ready_signal
Add ready signal to Node
2018-05-07 17:56:10 -03:00