Commit graph

786 commits

Author SHA1 Message Date
Nathan Lovato
d08f7ee7bf Merge pull request #11793 from NathanWarden/updated_os_doc
Updated some documentation for the OS class.
2017-10-03 18:52:43 +02:00
Nathan Warden
0b3a49ef18 Updated some documentation for the OS class. 2017-10-03 09:30:04 -05:00
Hein-Pieter van Braam
2bece6bbd3 Merge pull request #11782 from eska014/persistent-userfs-test
Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
2017-10-03 12:24:11 +02:00
Nathan Lovato
cc40784728 Merge pull request #11653 from bojidar-bg/doc-vscript-1
[DOCS] Document some of the VisualScript classes
2017-10-03 11:58:06 +02:00
Bojidar Marinov
10469c1962
Document some of the VisualScript classes. 2017-10-03 12:01:53 +03:00
Andreas Haas
a4cfec4e21 Merge pull request #11757 from mhilbrunner/doc_status_py27
doc_status.py Python 2.7 backwards compatibility & Windows support
2017-10-02 22:24:38 +02:00
Andreas Haas
ab65a0cda0 Merge pull request #11768 from cbscribe/kcc_polygon2d_doc
[DOCS] Update Polygon2D and CollisionPolygon2D
2017-10-02 22:21:13 +02:00
Leon Krause
7b23665e72 Add OS::is_userfs_persistent to check user:// persistence
Allows starting HTML5 export when IndexedDB is not available.
2017-10-02 21:07:05 +02:00
Poommetee Ketson
30c1449289 Merge pull request #11725 from GDquest/control-docs
[DOCS] Write member, signals and constants in the Control class

[ci skip]
2017-10-02 23:39:50 +07:00
Poommetee Ketson
ce88118a71 Merge pull request #11734 from Jerome67000/json_doc
[DOCS] Adds JSON and JSONParseResult doc

[ci skip]
2017-10-02 23:39:16 +07:00
Chris Bradfield
ee1afc8bca [DOCS] Update Polygon2D and CollisionPolygon2D 2017-10-02 09:36:09 -07:00
Poommetee Ketson
5005818798 Merge pull request #11654 from bojidar-bg/docstatus-fnmatch
Allow using wildcards to filter docstatus class names
2017-10-02 23:31:52 +07:00
Jerome67000
b8db909f48 [DOCS] Adds JSON and JSONParseResult doc 2017-10-02 12:01:38 +02:00
Nathan
55ac818d9a [DOCS] Write member, signals and constants in the Control class
I left the following properties and constants out:

- rect_clip_content, I think it should let me resize the node below the content's size, but even with the minimum size set to (0,0) Godot won't let me
- mouse_filter, grow_horizontal and grow_vertical, same issue, after testing I don't know when they're necessary, so can't document them.
- GROW_DIRECTION_BEGIN, GROW_DIRECTION_END, MOUSE_FILTER_STOP, MOUSE_FILTER_PASS, MOUSE_FILTER_IGNORE, constants that correspond to the member variables above

For the mouse_filter, I couldn't see what it does in 3.0 alpha 1. For the grow_direction, I can see they might change the size calculation when the node's size changes, but in practice, with containers, I couldn't see a difference. If you know when to use it, please tell me and I'll add them to the PR.
2017-10-02 08:34:11 +02:00
mhilbrunner
2d46ee36cc doc_status.py Python 2.7 backwards compatibility 2017-10-01 21:47:54 +02:00
Poommetee Ketson
42e2821d04 Merge pull request #11635 from Jerome67000/docs_AudioEffects
[DOCS] AudioEffects doc

[ci skip]
2017-10-01 00:06:47 +07:00
Indah Sylvia
392a94686c Fixed typo: 'texure' to 'texture' 2017-09-29 04:40:01 +07:00
Jerome67000
8c19cc7b3d [DOCS] Adds AudioEffects doc 2017-09-28 13:26:18 +02:00
Bojidar Marinov
1f60d0c23f
Allow using wildcards to filter docstatus class names
[ci skip]
2017-09-28 13:13:32 +03:00
Chris Bradfield
129a37421d [DOCS] Update AnimatedSprite class ref 2017-09-26 22:56:16 -07:00
Chris Bradfield
06ce436144 [DOCS] Update SpriteFrames class ref 2017-09-24 12:21:19 -07:00
Poommetee Ketson
f5201d44a8 Merge pull request #11530 from cbscribe/kcc_area_doc
[DOCS] Area/Area2D class ref update

[ci skip]
2017-09-24 17:44:27 +07:00
Chris Bradfield
0843d2379c [DOCS] Area/Area2D class ref update 2017-09-24 00:24:41 -07:00
Poommetee Ketson
9b3215b977 Merge pull request #11526 from cbscribe/kcc_collision_doc
[DOCS] Update CollisionObject/CollisionObject2D class ref

[ci skip]
2017-09-24 10:02:13 +07:00
Chris Bradfield
29f37120dd [DOCS] Update CollisionObject/CollisionObject2D class ref 2017-09-23 19:58:48 -07:00
FigyTuna
36bc8f4f72 Added documentation for Range 2017-09-23 16:28:17 -07:00
Poommetee Ketson
ea7646aabe Merge pull request #11515 from cbscribe/kcc_staticbody2d_doc
[DOCS] Update StaticBody2D class ref
2017-09-23 23:30:48 +07:00
Chris Bradfield
d82a7cdcf7 [DOCS] Update StaticBody2D class ref. 2017-09-23 09:28:16 -07:00
Poommetee Ketson
480b417c5b Merge pull request #11514 from cbscribe/kcc_sprite_doc
[DOCS] Update Sprite class ref

[ci skip]
2017-09-23 23:24:22 +07:00
Chris Bradfield
7c863d43b8 [DOCS] Update Sprite class ref 2017-09-23 09:11:51 -07:00
Rémi Verschelde
bac8f6332e Merge pull request #11509 from StraToN/docs-environment
Partial documentation for Environment resource.

[ci skip]
2017-09-23 16:57:26 +02:00
Marcelo Fernandez
46af050e93 Rename get_position => get_playback_position and seek_pos => seek on audio classes 2017-09-23 16:55:00 +02:00
Julian Murgia
75d95fca79 Partial documentation for Environment resource. 2017-09-23 16:18:35 +02:00
Linus
c3b79b1e07 RayShape, Shape, SphereShape 2017-09-23 14:35:39 +02:00
Rémi Verschelde
210ebb5cdb doc: Sync classref with current source
[ci skip]
2017-09-23 10:59:41 +02:00
Alexander Meerhoff
a11a9ddffc makerst.py: Support split classes XML and use folders and/or single files as input
The new syntax is (from `doc/`): `tools/makerst.py classes/ ../modules/`.
Also adapted `make rst` target accordingly.

[ci skip]
2017-09-23 10:34:35 +02:00
Marcelo Paez
5e50fde3d9 Changed get_audio_bus and set functions to get_audio_bus_name and set
and edited docs for Area2D due to renaming o get_audio_bus and set_audio_bus
2017-09-22 15:05:09 -03:00
Ross Hadden
1a97d6455d Fixed a bunch of typos, including an error code. 2017-09-21 23:58:29 -04:00
Rémi Verschelde
791f69419d Merge pull request #11304 from rminderhoud/editor_import_docs
Added EditorImportPlugin class ref docs

[ci skip]
2017-09-21 10:36:49 +02:00
letheed
5ad9be4c24 Rename pos to position in user facing methods and variables
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:

* pos -> position
* rot -> rotation
* loc -> location

C++ variables are left as is.
2017-09-20 13:11:10 +02:00
FigyTuna
ba568456c6 Modified/Added documentation for RigidBody and RigidBody2D 2017-09-18 10:18:05 -07:00
RaTi17
608c2eb3b5 Added code tags and corrected some lines 2017-09-18 10:26:28 +02:00
Rémi Verschelde
fba938e574 Merge pull request #11313 from deliciousfudge/boxcontainershape-docs
Refactor the docuementation of BoxContainer and BoxShape classes

[ci skip]
2017-09-17 22:50:27 +02:00
Rémi Verschelde
39e2af32ca Merge pull request #11352 from FigyTuna/physics_body_docs
[DOCS] Modified/Added documentation for PhysicsBody and PhysicsBody2D
2017-09-17 22:43:39 +02:00
Rémi Verschelde
cb20441ac9 Merge pull request #11351 from cbscribe/kcc_kinematiccollision_doc
[DOCS] Add KinematicCollision descriptions

[ci skip]
2017-09-17 22:42:34 +02:00
Rémi Verschelde
a829c77a58 Merge pull request #11349 from willt/getsetmove
[DOCS] added member descriptions to various shapes

[ci skip]
2017-09-17 22:42:10 +02:00
Rémi Verschelde
574a5714dc doc: Sync classref and escape comparators
[ci skip]
2017-09-17 18:57:17 +02:00
Grosskopf
10269b74c8 Added Documentation of AudioStream 2017-09-17 13:48:10 +02:00
Poommetee Ketson
27370a9d16 Merge pull request #11322 from Grosskopf/audio-stream-player-3D-docs
[DOCS] wrote documentation for audio stream player 3D

[ci skip]
2017-09-17 18:19:51 +07:00
Grosskopf
4ca06efd11 wrote documentation for audio stream player 3D 2017-09-17 13:08:08 +02:00
Rémi Verschelde
2115935f46 Merge pull request #11346 from cbscribe/kcc_light2d_doc
[DOCS] Add Light2D member descriptions.

[ci skip]
2017-09-17 12:39:09 +02:00
Rémi Verschelde
d67c9ef8a3 Merge pull request #11332 from Grosskopf/audio-stream-player-docs
[DOCS] Added Documentation of AudioStreamPlayer

[ci skip]
2017-09-17 12:38:14 +02:00
Rémi Verschelde
7d35a8c6fd Merge pull request #11331 from Grosskopf/audio-stream-player-2D-docs
[DOCS] Added Documentation of AudioStreamPlayer2D

[ci skip]
2017-09-17 12:38:07 +02:00
Rémi Verschelde
bc404c093a Merge pull request #11311 from FigyTuna/collision_polygon_docs
[DOCS] Modified the docs for CollisionPolygon and CollisionPolygon2D

[ci skip]
2017-09-17 12:37:01 +02:00
Rémi Verschelde
5d8d899385 Merge pull request #11227 from willt/@GDScript
In @GDScript added previous changes that went missing. added more des…

[ci skip]
2017-09-17 12:35:40 +02:00
Grosskopf
a2f9ffb0c7 Added Documentation of AudioStreamPlayer
Fixed according to Comments
autoplay issue fixed
2017-09-17 10:54:13 +02:00
Grosskopf
0babf9cd0c Added Documentation of AudioStreamPlayer2D
Fixxed according to comments
Somehow that fix was messed up again
Forgot some quotationmarks
updated autoplay, tried again
2017-09-17 10:52:41 +02:00
FigyTuna
4fc0910ed3 Modified/Added documentation for PhysicsBody and PhysicsBody2D 2017-09-16 23:47:20 -07:00
Chris Bradfield
ffe7708491 [DOCS] Add KinematicCollision descriptions 2017-09-16 21:56:03 -07:00
William Taylor
d2419c840e [DOCS] added member descriptions to various shapes 2017-09-16 21:55:23 -07:00
Chris Bradfield
9b4a0e2836 [DOCS] Add Light2D member descriptions. 2017-09-16 21:05:40 -07:00
Chris Bradfield
e1e9dde4f3 [DOCS] CanvasLayer member descriptions 2017-09-16 19:14:03 -07:00
Poommetee Ketson
7df94c69b2 Merge pull request #11279 from cbscribe/kcc_kinematiccollision_doc
Document new KinematicCollision2D class

[ci skip]
2017-09-17 08:43:48 +07:00
FigyTuna
60a929d18e Modified the descriptions for CollisionPolygon2D and created descriptions for CollisionPolygon 2017-09-16 18:42:47 -07:00
Chris Bradfield
33da7b4913 Document new KinematicCollision2D class 2017-09-16 18:42:07 -07:00
Poommetee Ketson
82aaaad30c Merge pull request #11330 from cbscribe/kcc_textureprogress_doc
[DOCS] Update TextureProgress class ref
2017-09-17 08:41:05 +07:00
Poommetee Ketson
b31123c670 Merge pull request #11329 from cbscribe/kcc_visibilitynotifier2d_doc
[DOCS] update VisibilityNotifier(2D) class ref
2017-09-17 08:40:28 +07:00
Poommetee Ketson
91b5a15ebc Merge pull request #11324 from GDquest/ui-nodes
[DOCS] Write and update TextureRect, Label and NinePatchRect
2017-09-17 08:38:52 +07:00
Poommetee Ketson
515869537e Merge pull request #11320 from bojidar-bg/x-doctool-markdownify
Make doc_status output a bit more markdown-friendly, hide some prints
2017-09-17 08:36:47 +07:00
Poommetee Ketson
d30682ad2e Merge pull request #11312 from deliciousfudge/acceptdialog-docs
Rewrite the documentation of AcceptDialog class
2017-09-17 08:33:04 +07:00
Chris Bradfield
b5838bc4de [DOCS] update VisibilityNotifier2D class ref. 2017-09-16 17:13:33 -07:00
Nathan
dfb3386184 Write TextureRect, Label and NinePatchRect 2017-09-16 21:09:43 +02:00
Rémi Verschelde
191ff0ecb5 Merge pull request #11255 from n-pigeon/spatial_doc_tweaks
Spatial, Transform and Transform2D documentation tweaks

[ci skip]
2017-09-16 20:10:18 +02:00
Chris Bradfield
bbed82de29 [DOCS] Update TextureProgress class ref 2017-09-16 09:45:41 -07:00
Ralph Minderhoud
ef0671763e Added EditorImportPlugin class ref docs 2017-09-16 07:51:38 -05:00
Bojidar Marinov
ca72a4806f
Make doc_status output a bit more markdown-friendly, hide some prints 2017-09-16 13:47:44 +03:00
Roger Smith
f818448199 Refactor the BoxContainer and BoxShape classes 2017-09-16 18:39:00 +12:00
Roger Smith
cbe7e9e309 Rewrite the AcceptDialog class 2017-09-16 14:56:04 +12:00
Rémi Verschelde
62cb43bb8d doc: Sync classref with current source
[ci skip]
2017-09-16 01:46:29 +02:00
Daniel J. Ramirez
e23454d5c3 Update doc status generator.
[ciskip]
2017-09-15 12:12:22 -05:00
Przemysław Gołąb (n-pigeon)
c32d857480 Spatial, Transform and Transform2D documentation tweaks 2017-09-15 09:16:30 +02:00
Jeroen
ca5abae1e7 Fix 2 typos 2017-09-14 10:31:43 +02:00
William Taylor
b1894e6016 Fix up examples/descriptions based on feedback. Added more content
In @GDScript added previous changes that went missing. added more descriptions and code examples
2017-09-13 23:07:19 -07:00
Rémi Verschelde
cc30e2a9a5 doc: Sync classref with current source
[ci skip]
2017-09-13 20:56:23 +02:00
Rémi Verschelde
375378b4e8 Merge pull request #11226 from StraToN/docssprint-atlastexture-2
Documentation for AtlasTexture.
2017-09-13 20:22:59 +02:00
Rémi Verschelde
e6a3ea1e26 Merge pull request #11209 from djrm/pr_docs
Added documentation for ClassDB and Marshalls

[ci skip]
2017-09-13 20:22:29 +02:00
Daniel J. Ramirez
2551647690 Added documentation for ClassDB and Marshalls 2017-09-13 12:43:12 -05:00
Julian Murgia
cb3bb26521 Documentation for AtlasTexture. 2017-09-13 13:37:33 +02:00
Rémi Verschelde
a4005221f5 doc: Sync classref with current source
[ci skip]
2017-09-13 08:53:01 +02:00
Juan Linietsky
4f929a0fdf Changed the doc class generation to individual files per class. It is also possible to save module files in module directories and the build system will
recognize them.
2017-09-12 17:45:41 -03:00
Julian Murgia
b7a0a77f4f Documentation for AtlasTexture. 2017-09-12 21:58:22 +02:00
Juan Linietsky
50bc1f2922 Merged docs and small correction to lowdpi feature (it supports windows now) 2017-09-12 11:40:18 -03:00
Juan Linietsky
512b9fbf4a Fixed conflict in len() function 2017-09-12 10:51:24 -03:00
Franco Falleti
69017974be Document AStar (#11056)
Add code examples
2017-09-12 15:02:57 +02:00
Rémi Verschelde
aebf4fb48c Merge pull request #11106 from hpvb/documentation-fix-poolarrays
Correct the Pool*Array documentation
2017-09-12 15:02:22 +02:00
aarroz
017e6e8a4c Added descriptions to AudioEffect, AudioEffectAmplify, and AudioEffecChorus 2017-09-12 15:01:55 +02:00
Rémi Verschelde
574fdf89be Merge pull request #11083 from BastiaanOlij/doc_arvr_server
Added documentation for the ARVR server classes
2017-09-12 15:01:24 +02:00
William Taylor
8632408dbd Changed/Added descriptions in @GDScript. Added examples. Fixed return types of two … (#11146)
Doc: Improved descriptions in GDScript docs

Added examples and fixed return types of two methods.
2017-09-12 15:00:29 +02:00
Rémi Verschelde
d6fa5e302c Merge pull request #11144 from deliciousfudge/thread-docs
Rewrite the methods section of the Thread class

[ci skip]
2017-09-12 14:59:14 +02:00
Nathan
ae78127ca5 rewrite the methods and member variables for the Node2D class 2017-09-12 14:21:23 +02:00
Bastiaan Olij
2bee3fba18 Added documentation for the ARVR server classes 2017-09-12 22:00:08 +10:00
Rémi Verschelde
4f51211dfb Merge pull request #11028 from mrawlingst/color-RGBA32
Change Color.to_32() to Color.to_rgba32() and lowercase other functions
2017-09-12 13:44:43 +02:00
Rémi Verschelde
c5e0e31f51 Merge pull request #11108 from oOo0oOo/docs-meshes
Added docs for Mesh and MeshInstance
2017-09-12 12:09:48 +02:00
Rémi Verschelde
d455b13fcf Merge pull request #11051 from mrawlingst/classref-colorrect
Update ColorRect class ref documentation
2017-09-12 11:20:10 +02:00
Rémi Verschelde
cbe7c23afe Merge pull request #11023 from mrawlingst/classref-color
Update Color class ref documentation

[ci skip]
2017-09-12 11:15:32 +02:00
Oliver Dressler
8aa778cee5 Added Mesh docs 2017-09-12 09:58:42 +02:00
Rémi Verschelde
9bacb67754 Merge pull request #11140 from deliciousfudge/boneattachment-docs
Document methods for the BoneAttachment and IP classes

[ci skip]
2017-09-12 08:59:19 +02:00
Rémi Verschelde
e8ad604865 Merge pull request #11181 from cbscribe/kcc_tilemap_doc
Update TileMap class ref.

[ci skip]
2017-09-12 08:21:33 +02:00
Rémi Verschelde
40f7b6b47b Merge pull request #11082 from cbscribe/kcc_raycast2d_doc
Update RayCast2D class ref

[ci skip]
2017-09-12 08:20:31 +02:00
Poommetee Ketson
fb9f41a071 Merge pull request #11135 from willnationsdev/area2d-docs
Area2D Documentation + constants in _bind_methods
2017-09-12 13:16:27 +07:00
Poommetee Ketson
db4b81d96f Merge pull request #11117 from cbscribe/kcc_timer_doc
Update Timer class ref.
2017-09-12 13:10:44 +07:00
Poommetee Ketson
a1007cceb0 Merge pull request #11113 from cbscribe/kcc_texturerect_doc
Update TextureRect class ref
2017-09-12 13:10:12 +07:00
Poommetee Ketson
73a8f621dd Merge pull request #11085 from cbscribe/kcc_raycast_doc
Update RayCast class ref
2017-09-12 13:09:23 +07:00
Chris Bradfield
11cbf8e2ec Update TileMap class ref. 2017-09-11 22:52:12 -07:00
Roger Smith
41cfa664a5 Rewrite the methods section of the IP class
Document methods for the BoneAttachment class

Fix indentation issues present in IP and BoneAttachment class doc commits

Further indentation corrections to the IP and BoneAttachment classes
2017-09-12 17:36:21 +12:00
Will Nations
d441cc9660 Updated Area2D docs and added enum constants to scripting 2017-09-11 22:39:28 -05:00
Roger Smith
05b3bec70d Rewrite the methods section of the Thread class 2017-09-12 15:33:55 +12:00
Chris Bradfield
e42176d549 Update RayCast class ref 2017-09-11 18:06:36 -07:00
Chris Bradfield
693510984f Update RayCast2D class ref. 2017-09-11 17:57:33 -07:00
Nathan Warden
767f9ce29a Documented 'resource_changed' for CollisionShape 2017-09-11 18:17:01 -05:00
Poommetee Ketson
b7ee8b2f32 Merge pull request #11097 from GDquest/control-docs
rewrite the Control node's class description, improve some others
2017-09-12 06:06:05 +07:00
Poommetee Ketson
3d50a9d958 Merge pull request #11098 from oOo0oOo/classref-edit
Added documentation for PrimitiveMeshes
2017-09-12 06:04:53 +07:00
Poommetee Ketson
7947b7c1d6 Merge pull request #11100 from NathanWarden/rigidbody_docs
Updated the 'members' documentation for Rigidbody.
2017-09-12 06:02:52 +07:00
Poommetee Ketson
bdf7ab1b05 Merge pull request #11101 from n-pigeon/spatial-doc
Documented Spatial node.
2017-09-12 06:01:58 +07:00
Poommetee Ketson
d891a91ef1 Merge pull request #11105 from NathanWarden/static_body_docs
Updated documentation for StaticBody.
2017-09-12 05:56:20 +07:00
Poommetee Ketson
adc8215e9c Merge pull request #11107 from hpvb/document-inputevent
Correct InputEvent documentation
2017-09-12 05:50:23 +07:00
Poommetee Ketson
5665bdea1b Merge pull request #11112 from LikeLakers2/master
Make Node.queue_free's documentation description a little more verbose
2017-09-12 05:47:07 +07:00
Poommetee Ketson
f45258ad8d Merge pull request #11115 from hpvb/document-line2d
Document Line2D
2017-09-12 05:45:32 +07:00
Poommetee Ketson
1aa5fe387f Merge pull request #11120 from cbscribe/kcc_lightoccluder2d_doc
Update LightOccluder2D class ref
2017-09-12 05:39:05 +07:00
Poommetee Ketson
b259fcfbd3 Merge pull request #11134 from notonfire/script-doc
Document the Script and GDScript classes
2017-09-12 05:33:22 +07:00
Poommetee Ketson
a447fdb199 Merge pull request #11139 from djrm/pr_docs
Added documentation for some clases (Variant, ToolButton, Button (partial), GradientTexture, BitMap, CollisionShape2D, CollisionShape)
2017-09-12 05:25:01 +07:00
Przemysław Gołąb (n-pigeon)
decd5052d8 Documented Transform and Transform2D. 2017-09-11 23:13:39 +02:00
Daniel J. Ramirez
ecb92bc6c3 Added documentation for some clases
Variant, ToolButton, Button, GradientTexture, BitMap

Added documentation for CollisionShape(2D)
2017-09-10 13:38:40 -05:00
Ryan Phillips
d12ff0d09e Document the Script and GDScript classes 2017-09-10 11:16:15 -07:00
Oliver Dressler
d73f09ef48 Added docs for PrimitiveMesh 2017-09-10 13:12:44 +02:00
Chris Bradfield
134e24408a Merge branch 'master' of git://github.com/godotengine/godot into kcc_lightoccluder2d_doc 2017-09-09 20:10:28 -07:00
Chris Bradfield
030528a285 Update Timer class ref. 2017-09-09 13:30:27 -07:00
Chris Bradfield
f66e9158a8 Update LightOccluder2D class ref 2017-09-09 13:15:01 -07:00
Hein-Pieter van Braam
b7c4b9b8cd Document Line2D 2017-09-09 21:53:58 +02:00
Chris Bradfield
c68a34d6bf Update TextureRect class ref 2017-09-09 11:17:37 -07:00
LikeLakers2
e4c274752a Use gdquest's suggestions 2017-09-09 13:12:06 -04:00
Przemysław Gołąb (n-pigeon)
9ee65942db Documented Spatial node. 2017-09-09 17:23:29 +02:00
Hein-Pieter van Braam
13fe1a344e Correct InputEvent documentation 2017-09-09 17:22:14 +02:00
Hein-Pieter van Braam
daa66cd5c2 Correct the Pool*Array documentation 2017-09-09 16:39:22 +02:00
Nathan Warden
236025dccf Updated documentation for StaticBody. 2017-09-09 09:30:38 -05:00
Nathan Warden
8f1cf87a82 Updated the 'members' documentation for Rigidbody. 2017-09-09 08:55:41 -05:00
Nathan
6cb6be4b89 improve some descriptions for the Control node 2017-09-09 15:31:42 +02:00
mrawlingst
06627fad20 Update ColorRect class ref documentation 2017-09-08 09:24:16 -04:00
mrawlingst
4f65c4d092 Update Color class ref documentation 2017-09-08 09:17:31 -04:00
Poommetee Ketson
11ccf22540 ClassRef: fill in the blanks 2017-09-08 15:15:04 +07:00
mrawlingst
6aa5bc2347 Change Color.to_32() to to_rgba32() and format as RGBA 2017-09-07 16:19:44 -04:00
Rémi Verschelde
7e2d03bd14 doc: Sync classref with current source
[ci skip]
2017-09-06 11:35:10 +02:00
Ignacio Etcheverry
a9f917c649 Escape special character in classes.xml 2017-09-05 22:02:52 +02:00
Rémi Verschelde
b295163d67 Merge pull request #10912 from toger5/doc_sbf
documented StyleBoxFlat

[ci skip]
2017-09-04 21:45:05 +02:00
toger5
0bf521f33b documented StyleBoxFlat 2017-09-04 19:39:38 +02:00
Jared A. Scheel
11947b4584 Add note to Array#sort_custom about the dangers of using random return values 2017-09-03 15:56:34 -05:00
Rémi Verschelde
0da386a9ea doc: Sync classref to fix default args and enum returns
Following #10903 and #10906.
2017-09-03 12:27:29 +02:00
Poommetee Ketson
459f526119 Fix typos 'a' and 'an' 2017-09-02 21:19:06 +07:00
Rémi Verschelde
4d580d76ca doc: Sync classref with current source
Lots of changes due to new MethodBind logic, a few issues here and there
that will need to be fixed later on (wrong default values, imprecise return types).
2017-09-02 11:47:54 +02:00
Poommetee Ketson
e5aec72bae Fix typo 'inetria' to 'inertia' 2017-09-01 01:32:29 +07:00
toger5
2aa735757a unified draw_center naming for (9patch,StyleBoxes)
- filled -> draw_center
 - is_draw_center -> is_draw_center_enabled
 - get_draw_center -> is_draw_center_enabled
2017-08-31 15:25:24 +02:00
Ferenc Arn
a0bbf5c9af Remove Basis::set_scale and Basis::set_rotation_* functions.
Those functions were added in #8277 but they did more harm than good. They're subtle, don't do what people think and requires users to understand the non-uniqueness of polar decomposition. They ended up confusing people.

Until we store additional information enough to make a unique polar decomposition, these functions shouldn't be a part of Basis.
2017-08-29 21:47:59 -04:00
Evgeny Zuev
1a2622d344 Add stretching to TextureProgress
Now `TextureProgress` has `nine_patch_stretch` flag. With this flag enabled,
it's being rendered as 9-path using `stretch_margin_*` properties as texture margins.

Stretching doesn't support `FILL_CLOCKWISE` and `FILL_COUNTER_CLOCKWISE` fill modes.
2017-08-22 13:46:59 +07:00
Rémi Verschelde
d37bd15cb9 Merge pull request #10443 from karroffel/propagate_call
add "propagate_call" method to Node
2017-08-21 23:21:47 +02:00
Rémi Verschelde
93f1fb1c2f Fixes for new two-dash long command line arguments
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping
- Cleanup obsolete code here and there
2017-08-21 08:09:22 +02:00
Juan Linietsky
b9dcebb37c Revert "Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup" 2017-08-19 17:47:27 -03:00
Rémi Verschelde
70b0857f6c Fixes for new two-dash long command line arguments
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Cleanup obsolete code here and there
2017-08-19 16:48:11 +02:00
Karroffel
390f7def39 add "propagate_call" method to Node
It is possible to propagate a notification down the Node tree by
using `propagate_notification`, but there was no such method for
doing the same but with method calls.

This commit adds the `propagate_call` method, which calls a method
on a node and all child nodes. An optional paramter `parent_first`
determines whether the parent node gets called before or after the
children have been visited. It defaults to false, so the parent
gets called last.
2017-08-19 15:22:37 +02:00
Rémi Verschelde
18a7315381 Rename localization method to tr again
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-18 22:38:38 +02:00
Rémi Verschelde
c72529baf0 Rename XL_MESSAGE aka tr to localize
Also renames `set_message_translation` to `set_message_localization`
for consistency.
2017-08-17 18:10:22 +02:00
Rémi Verschelde
5c6e41cc13 Merge pull request #10190 from tagcup/euler_yxz
Use YXZ convention for Euler angles.
2017-08-11 10:38:46 +02:00
Ferenc Arn
53c23b0222 Use YXZ convention for Euler angles.
As discussed in issues #1479 and #9782, choosing the up axis (which is Y in Godot) as the axis of the last (or first) rotation is helpful in practical use cases.
This also aligns Godot's convention with Unity, helping with a smoother transition for people who are used to working with Unity (issue #9905).

Internally, both XYZ and YXZ functions are kept, for potential future applications.
2017-08-09 09:05:37 -04:00
Naughty
ce543bc079 Added missing descriptions to Vector2 methods abs and clamped. 2017-08-07 19:55:59 -07:00
Indah Sylvia
5ae78fdf6a Makes all Godot API's methods Lower Case 2017-08-07 18:24:35 +07:00
Bojidar Marinov
7b7c7c8dc0
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
Closes #7695
2017-08-06 16:26:07 +03:00
Poommetee Ketson
c6740ddc05 Docs: fix method/type renames, fill some blanks 2017-08-02 14:47:34 +07:00
Rémi Verschelde
7348fbbea2 Merge pull request #9909 from kubecz3k/docs-collobject-collshapes
firsts docs for CollisionObject -> collision shape api
2017-07-31 22:44:36 +02:00
Rémi Verschelde
2d162a60da Merge pull request #9863 from kubecz3k/move-docs
Documentation update for KinematicBody.move()
2017-07-28 11:06:23 +02:00
Jakub Grzesik
bb4b98defe Documentation update for KinematicBody.move() 2017-07-27 18:41:44 +02:00
Jakub Grzesik
fe7365dcde firsts docs for CollisionObject -> collision shape api 2017-07-27 11:30:19 +02:00
bruvzg
7de7ca8ae4 Remove duplicate keycode constant for Numpad Enter key. 2017-07-26 14:43:02 +03:00
Julian Murgia
61572a57e9 Corrects usage of 'is' instead of 'extends' for testing node inheritance. 2017-07-26 13:12:44 +02:00
ISylvox
cefc02a4f9 tagents --> tangents 2017-07-26 15:14:52 +07:00
Rémi Verschelde
b6665c6c93 Merge pull request #9690 from 648trindade/classref-edit
Improved math functions descriptions and added many AStar descriptions
2017-07-25 21:08:34 +02:00
Jakub Grzesik
d3d4ad193e documentation for EditorPlugin and ScriptEditor 2017-07-25 18:27:42 +02:00
Rémi Verschelde
374cffaa11 Merge pull request #9764 from Noshyaar/pr-fix2
Add object type hint for docs
2017-07-24 08:07:32 +02:00
Poommetee Ketson
2777f81d29 Add object type hint for docs 2017-07-23 18:57:03 +07:00
Rémi Verschelde
56724dc07b Merge pull request #9772 from Noshyaar/pr-classxml
Docs: fix broken ref tags
2017-07-23 13:13:29 +02:00
Poommetee Ketson
90c2c1e7f8 Docs: fix broken ref tags 2017-07-22 22:15:59 +07:00
Poommetee Ketson
5bbbecc315 Docs: ignore tags inside code,codeblock tag 2017-07-22 21:22:38 +07:00
Juan Linietsky
25678b1876 -Renamed GlobalConfig to ProjectSettings, makes more sense.
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
Rafael Gauna Trindade
5dee7161b6 Improved math functions descriptions and added many AStar descriptions 2017-07-19 12:35:39 -03:00
Rémi Verschelde
1bed4c6783 Merge pull request #9629 from kubecz3k/tabs-addons
Tabs enhancements: get_tab_rect(), move_tab()
2017-07-18 18:12:26 +02:00
Jakub Grzesik
b5de36b29d Tabs enhancements: get_tab_rect(), move_tab_from_to()
exposed: get_tab_rect(tab_idx)
new and exposed: move_tab_from_to(idx_from, idx_to)
2017-07-18 17:57:02 +02:00
Rémi Verschelde
f36cd77feb Merge pull request #9639 from rminderhoud/primitives
Moved binds of PRIMITIVE_* contants from ArrayMesh to Mesh
2017-07-18 00:44:57 +02:00
Jakub Grzesik
fb33644652 missing object.get_incoming_connections() documentation 2017-07-17 20:22:38 +02:00
dumitru-stama
06831d5088 Added documentation for blit_rect_mask 2017-07-15 09:40:52 -07:00
dumitru-stama
03425fe088 sync doc template 2017-07-15 09:38:46 -07:00
Rémi Verschelde
e70d36071e doc: Sync classref with current source
Some descriptions were lost for refactored APIs, but they cannot be matched 1:1
with the new ones, so will need to be rewritten anyway.
2017-07-14 17:56:27 +02:00
Ralph Minderhoud
bf18c35dd7 Moved binds of PRIMITIVE_* contants from ArrayMesh to Mesh 2017-07-14 08:46:21 -05:00