Commit Graph

1377 Commits

Author SHA1 Message Date
M. Huri 967831d9a0 [Docs] Fixed 'get_button_count's link and a typo related to 'button'. 2018-10-13 17:34:57 +07:00
M. Huri 32ec2e3b2c Fixed a typo, sahpe to shape. 2018-10-13 13:20:45 +07:00
clayjohn 84e82a387f update and expand surfacetool doc 2018-10-08 21:34:36 -07:00
Rémi Verschelde b17e71b6e5
Merge pull request #22808 from KellyThomas/vector-one
Add ONE constants to Vector2 and Vector3
2018-10-07 18:57:27 +02:00
Kelly Thomas b150ceb62c Update class documentation xml 2018-10-07 21:57:26 +08:00
Kelly Thomas 215db9ff71 add ONE constants to Vector2 and Vector3 2018-10-07 21:33:18 +08:00
Rémi Verschelde cff89fc4e4
Merge pull request #22678 from Dragoncraft89/set_pause
Add Behaviour of SceneTree pausing to the doc
2018-10-07 11:44:07 +02:00
Max Hilbrunner f28b032490
Merge pull request #22818 from cbscribe/kcc_doc_spatialmat
[DOCS] SpatialMaterial descriptions
2018-10-07 03:20:22 +02:00
Chris Bradfield 5e42e45c04 [DOCS] SpatialMaterial descriptions 2018-10-06 17:39:24 -07:00
Rémi Verschelde 3d91af282e
Merge pull request #22773 from KellyThomas/docs-links
[Docs] Fix some broken links
2018-10-06 12:04:08 +02:00
Kelly Thomas b1ab7b4acf [Docs] Fix some broken links 2018-10-06 04:20:16 +08:00
Guilherme Felipe 5016ef6fe0 [Docs] Add doc for Input::get_action_strength 2018-10-05 09:54:00 -03:00
Nathan Lovato 86a138f154 [DOC] Complete the TextureProgress reference
Added 6 missing entries, clarified one definition
2018-10-04 10:38:18 +09:00
Rémi Verschelde caa141a1ac
Merge pull request #22659 from YeldhamDev/animation_doc_example
Add example to Animation doc
2018-10-03 20:35:09 +02:00
Rémi Verschelde 1aa1398012
Merge pull request #22671 from Dragoncraft89/master
ItemList signals additional documentation
2018-10-03 18:20:23 +02:00
Rémi Verschelde 75fceb37f8
Merge pull request #22674 from Dragoncraft89/find_node
Document find_node()'s owner argument behaviour
2018-10-03 18:19:58 +02:00
Michael Alexsander Silva Dias a02f02b9ed Add example to Animation doc 2018-10-03 13:17:49 -03:00
florian c14e034f06 Document find_node()'s owner argument behaviour 2018-10-03 18:16:27 +02:00
florian 65d182a939 ItemList signals additional documentation
Signals:
* item_selected
* item_rmb_select
2018-10-03 18:13:59 +02:00
florian 353af122b8 Add Behaviour of SceneTree pausing to the doc 2018-10-03 15:29:25 +02:00
Rémi Verschelde d952126caf Fix warnings in Android platform
Fixes the following Clang 7 warnings:
```
platform/android/os_android.h:240:16: warning: 'OS_Android::native_video_play' hides overloaded virtual function [-Woverloaded-virtual]
platform/android/os_android.h:241:15: warning: 'OS_Android::native_video_is_playing' hides overloaded virtual function [-Woverloaded-virtual]

platform/android/audio_driver_opensl.cpp:104:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]

platform/android/audio_driver_opensl.cpp:129:10: warning: unused variable 'numOutputs' [-Wunused-variable]
platform/android/audio_driver_opensl.cpp:130:11: warning: unused variable 'deviceID' [-Wunused-variable]
platform/android/java_glue.cpp:795:10: warning: unused variable 'clsio' [-Wunused-variable]
platform/android/java_glue.cpp:890:12: warning: unused variable 'gob' [-Wunused-variable]
platform/android/java_glue.cpp:592:13: warning: unused variable 'resized' [-Wunused-variable]
platform/android/java_glue.cpp:593:13: warning: unused variable 'resized_reload' [-Wunused-variable]

modules/mobile_vr/mobile_vr_interface.cpp:401:8: warning: unused variable 'aspect_ratio' [-Wunused-variable]

drivers/unix/dir_access_unix.cpp:394:2: warning: THIS IS BROKEN [-W#warnings]
```
2018-10-03 15:17:00 +02:00
Rémi Verschelde 9941c5a132
Merge pull request #22651 from cbscribe/kcc_docs_color_rigidbody
[DOCS] Classref updates: Color, RigidBody*
2018-10-03 08:19:38 +02:00
Chris Bradfield 7bc11505b1 [DOCS] Classref updates: Color, RigidBody* 2018-10-02 15:47:10 -07:00
Rémi Verschelde f511fa35e5
Merge pull request #22647 from YeldhamDev/parallaxlayer_doc_note
Add note in ParallaxLayer doc about ignoring position/scale changes after entering the scene
2018-10-03 00:18:11 +02:00
LikeLakers2 0d6546ed44 Add extra newline after enum members and constants, to ensure they'll format properly after a multi-line description 2018-10-02 16:48:40 -04:00
Michael Alexsander Silva Dias 07e0f796af Add note in ParallaxLayer doc about ignoring position/scale changes after entering the scene 2018-10-02 17:48:01 -03:00
florian 612193b77f Add critical info to TreeItem.set_custom_draw documentation
Indicates that the method needs 2 arguments to be called
2018-10-02 19:42:58 +02:00
Rémi Verschelde 88a14949dd
Merge pull request #22612 from Dragoncraft89/master
Improve doc of ProjectSettings
2018-10-02 13:49:59 +02:00
Rémi Verschelde 0cc3aff8ed doc: Drop obsolete makemd.py, dates back to GitHub Wiki days
It has not been kept in sync with makerst.py, so it does not serve
much purpose nowadays.
2018-10-02 12:28:08 +02:00
florian 73429cf9f5 Improve doc of ProjectSettings
Documentation added for:
* bool load_resource_pack(String)
* bool property_can_revert(String)
* Variant property_get_revert(String)
* Error save()
* Error save_custom(String)
2018-10-02 11:52:37 +02:00
Rémi Verschelde 876456754d
Merge pull request #21421 from YeldhamDev/mult_view_changes
Small improvements to the Spatial Editor's multiple viewport mode
2018-10-02 11:22:49 +02:00
Rémi Verschelde a8a12daed5
Merge pull request #22355 from LikeLakers2/docs-tabs
[Docs] Remove double-spaces from descriptions, plus a couple other tiny fixes
2018-10-02 09:28:13 +02:00
Rémi Verschelde dd1e8cd774
Merge pull request #22601 from cbscribe/kcc_class_docs
[DOCS] Update VisibilityEnabler* and TileSet doc
2018-10-02 08:39:57 +02:00
Chris Bradfield 49549ce93c [DOCS] Update VisibilityEnabler* and TileSet doc 2018-10-01 15:20:18 -07:00
aBARICHELLO 6e0de76746 Add Input buttons and axes missing descriptions 2018-10-01 18:57:19 -03:00
Max Hilbrunner 84b6394a4d
[DOCS] NetworkedMultiplayerPeer: TransferMode(s) 2018-09-30 16:45:48 +02:00
FlamyAT da296ce30f
Fixed casting result in float.xml
The float-string parsing result in the documentation was inaccurate. 1e-3 is written as 0.001 when decimal.
2018-09-29 07:45:27 +02:00
Kelly Thomas 7759155ce4 [DOCS] ButtonList - extra mouse buttons 2018-09-29 00:37:25 +08:00
Rémi Verschelde f87fb2c795
Merge pull request #22413 from lupoDharkael/array-mesh-docs
Add code example to ArrayMesh class docs
2018-09-28 10:36:36 +02:00
Rémi Verschelde c7e646c30a
Merge pull request #22447 from akien-mga/fix-warnings-Wswitch
Fix warnings about unhandled enum value in switch [-Wswitch]
2018-09-28 09:47:29 +02:00
Kelly Thomas 7ecad927f3 [DOCS] InputEventMouseButton: correct description for doubleclick property 2018-09-28 01:46:49 +08:00
Rémi Verschelde 7b081a7fc8 Fix warnings about unhandled enum value in switch [-Wswitch]
Fixes GCC 5 warnings of the form:

core/io/http_client.cpp:288:9: warning: enumeration value 'STATUS_SSL_HANDSHAKE_ERROR' not handled in switch [-Wswitch]
core/io/marshalls.cpp:806:9: warning: enumeration value 'AABB' not handled in switch [-Wswitch]

Those can be trivial cases where adding a default fallback is the solution,
or more complex issues/hidden bugs where missed values are actually meant
to be handled.
2018-09-27 18:34:30 +02:00
Rémi Verschelde 9108b5fba5 doc: Fix OS.execute example (cf. #22412) 2018-09-27 09:34:08 +02:00
lupoDharkael 9b85866c07 Add code example to ArrayMesh class docs 2018-09-26 18:42:16 +02:00
Damien Picard 5e8e216ee0 Doc: fix example in Array sort_custom() 2018-09-25 11:46:45 +02:00
LikeLakers2 eaac1e3b81 [Docs] Remove double-spaces from descriptions, as well a couple other small fixes 2018-09-23 16:13:30 -04:00
homer666 194f476095 [DOCS] PhysicsDirectSpaceState updates 2018-09-23 09:31:37 +10:00
Max Hilbrunner d878c828b5
Merge pull request #22115 from akerudesu/find-parent
Added find_parent method to node class
2018-09-22 17:15:38 +02:00
Fabio Alessandrelli b9707ce08f StreamPeer get[_utf8]_string with negative length.
If the "bytes" parameter of get_string and get_utf8_string is negative,
the length will be read from the stream instead.
The bytes parameter has now a default (-1), allowing to use them
directly as reverses of put_string and put_utf8_string .
put_string was not implemented, so I implemented it to allow sending
ASCII strings (which are much smaller than UTF8 ones).
2018-09-22 13:35:41 +02:00
Rémi Verschelde ef7b384861 doc: Misc formatting fixes 2018-09-21 15:34:11 +02:00