Commit Graph

332 Commits

Author SHA1 Message Date
Henrique Campos
9bebc22dd9 Fix MarginContainer description 2017-07-11 16:38:57 +02:00
Rémi Verschelde
5e7fb570e8 Merge pull request #8714 from RandomShaper/fix-owc-2.1
Fix one-way collision detection (2.1)
2017-06-25 11:14:31 +02:00
dumitru-stama
e9e39dd6dc Added 'blit_rect_mask' method 2017-06-24 08:16:35 -07:00
d
48f8931d48 Added two new methods 'blend_rect_mask' and 'fill' 2017-06-18 10:27:50 -07:00
dumitru.stama
95dcd22b46 Added a new 'blend_rect' method acting as 'blit_rect' with alpha-blending 2017-06-14 00:55:52 -07:00
Rémi Verschelde
dc420b3b0a Doc: Sync classref with current source 2017-06-14 09:26:43 +02:00
Ferenc Arn
89703435a1 Avoid overestimating the cost in AStar heuristics.
This is a necessary condition for finding optimal solutions.
This is achieved by simply requiring/ensuring that no weights are smaller than 1.

Fixes #8584.

(cherry picked from commit e4eb093c62)
2017-05-27 00:42:59 +02:00
Christian Winter
bd32b67ab6 fixed typo 'one short connection' to 'one shot'
(cherry picked from commit 25776dbf76)
2017-05-27 00:42:58 +02:00
honix
43b0aa612f docs: ERR_EOF -> ERR_FILE_EOF
(cherry picked from commit 78c7847d1d)
2017-05-27 00:42:58 +02:00
clayjohn
831c8cb325 added documentation for SurfaceTool
(cherry picked from commit 478817abad)
2017-05-26 18:56:14 +02:00
clayjohn
c5db548d2a added descriptions for WorldEnvironment node in documentation
(cherry picked from commit 5fdc7ac88a)
2017-05-26 18:54:22 +02:00
Pedro J. Estébanez
7b192313b3 Add extended check option to GDFunctionState::is_valid() 2017-05-17 14:47:17 +02:00
Pedro J. Estébanez
5e4216fd49 Fix one-way-collision detection
Also, change the explanation of the one-way collision direction in the docs to reflect how it is actually used by the engine and clear up the usage of the "max depth" property.
2017-05-11 02:45:48 +02:00
Rémi Verschelde
6f489fbb2e classref: Sync with current source 2017-04-07 22:08:11 +02:00
Pedro J. Estébanez
9f8f8efa67 Add priority to samples in a library 2017-04-06 23:59:49 +02:00
Fabio Alessandrelli
cab9ad7657 Update docs reference for TCP_Server::listen and UDPPacketPeer::listen
(cherry picked from commit e5e4e7b6a9)
2017-03-22 21:05:02 +01:00
CrazyGuy108
10119f7b04 List Control::has_point as a virtual method
According to Issue #8018, a BIND_VMETHOD macro wasn't present in scene/gui/control.cpp, while it was declared to be a virtual method in scene/gui/control.h.

classes.xml was updated to also list this method in Control.

(cherry picked from commit 9589936d6e)
2017-03-19 00:42:34 +01:00
Chris Bradfield
c01c5fce59 grammar fixes, it's -> its
(cherry picked from commit 10176228b2)
2017-03-18 19:55:34 +01:00
Thaer Razeq
886f150b4a - Added tab_selected signal which has same behavior as tab_changed
lest breaking current API, though, it is noted in the documentation of TabContainer
class, of the upcoming Godot (v3.0+) changes in behavior, that is, `tab_selected` will be
emitted for selecting any tab, while `tab_changed` only if a tab changes.
- Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** In Godot v3.0+, only `tab_changed` can modify previous tab index.
- Add documentation for the added function and signals. Fix a typo too.
2017-03-05 03:26:53 -06:00
Rémi Verschelde
b65e553440 classref: Sync with current source 2017-01-21 14:06:17 +01:00
Bruno Ortiz
4f35fdd1e3 Exposing edit_resource method of EditorNode in the EditorPlugin (#7355)
(cherry picked from commit 7e0d0d0bb9)
2017-01-12 19:15:30 +01:00
Wilhem Barbier
0b6d4e92b5 Add the 'finished' signal to AnimatedSprite
(cherry picked from commit f6262fde11)
2017-01-12 19:15:30 +01:00
Ivan P. Skodje
0701e7c2d8 PopupMenu upgrade: Hide on item selection (#7306)
* Added the option to set hide on item selection. Usable in GDScript and from within the source code when you want to specify popup menus you don't want to close immediately when selecting an item

* Renamed getter from get_ to is_, fixed parent/child behavior, renamed bool variable to match most code and added ADD_PROPERTYNO to save some memory

(cherry picked from commit da950cd0f2)
2017-01-12 19:15:28 +01:00
Jerome67000
a8bc2f64ad doc improvement for get_colliding_bodies() methods
(cherry picked from commit 3cd5c86b1a)
2017-01-12 19:15:27 +01:00
romeojulietthotel
1a41d3351a Correct description for the return values from get_status. (#7137)
(cherry picked from commit f8d523b68b)
2017-01-12 19:15:26 +01:00
Kazuo256
b56c00cc56 Add Array.front() and Array.back()
(cherry picked from commit bf4fda64fd)
2017-01-12 19:15:26 +01:00
Emmanuel Leblond
39ce4a49fa Add Node2D's set_global_rot get_global_rot set_global_rotd get_global_rotd set_global_scale get_global_scale methods. 2017-01-10 17:15:28 +01:00
Rémi Verschelde
40de567297 classref: Sync with current code 2017-01-08 12:36:38 +01:00
Emmanuel Leblond
1e646e2797 Fix codeblock tag in classes.xml for EditorSettings
(cherry picked from commit 28d7486267)
2017-01-08 12:35:02 +01:00
Fabio Alessandrelli
e8a6cbc897 Migrate int.IP_TYPE_ constants to IP.TYPE_
(cherry picked from commit c18c5013f8)
2017-01-04 00:46:32 +01:00
Fabio Alessandrelli
3f6fe2f3f1 Update docs to IPv6
(cherry picked from commit 7f42da0330)
2016-12-11 18:12:46 +01:00
Rémi Verschelde
bf3cf5505e classref: Sync with current source 2016-11-15 09:14:02 +01:00
ISylvox
0413d85add vsnc --> vsync
(cherry picked from commit b5c383fd61)
2016-11-15 08:34:43 +01:00
DTV96Calibre
bc8dabf3d2 Fixed minor typo
(cherry picked from commit 37098419c5)
2016-11-15 08:30:35 +01:00
Rémi Verschelde
a20da0c048 classref: Sync with current sources 2016-10-31 00:15:54 +01:00
rdb
a27aee241c Add "Never" underline mode to LinkButton
(cherry picked from commit d517bc908f)
2016-10-31 00:05:32 +01:00
Karol Walasek
9f9d1eed7b Added general notes on RayCast[2D] updating behaviour and force_raycast_update()
(cherry picked from commit 8d57640d37)
2016-10-31 00:00:34 +01:00
Rémi Verschelde
14e45a55d4 Revert "Tween reset/stop/resume/remove for all object properties at once"
This reverts commit 6fc894d652.
It caused a regression, cf. #6863.
2016-10-18 21:43:46 +02:00
Rémi Verschelde
2287bac8f7 classref: Sync with current source 2016-10-17 21:07:01 +02:00
Karol Walasek
8a8ace8fa0 Fixed Particle2D docs - radians to degrees for some params
(cherry picked from commit 5687fa4709)
2016-10-17 20:49:52 +02:00
Rémi Verschelde
c757787fed classref: Sync with current 2.1 branch 2016-10-09 17:50:09 +02:00
Karol Walasek
b2a58da321 Filled blanks and normalized documentation on RayCast[2D]
(cherry picked from commit db0a46d7f7)
2016-10-09 17:25:07 +02:00
Pawel Kowal
6fc894d652 Tween reset/stop/resume/remove for all object properties at once
(cherry picked from commit acc242fd6a)
2016-10-09 17:22:16 +02:00
George Marques
1d175be921 Add docs for XMLparser, VideoPlayer and most of Tree
(cherry picked from commit 7cd64c3c8d)
2016-10-09 17:18:36 +02:00
George Marques
6a0d47f34c Add a function to plugin get the main screen parent
- Fix a bug where the main screen button did not disappear when the plugin
  was deactivated.

(cherry picked from commit 98e7c1edba)
2016-10-09 17:12:15 +02:00
Rémi Verschelde
eed5d878e8 classref: Sync with current source 2016-09-19 09:08:12 +02:00
Andreas Haas
521b5bd90f Update documentation on joystick vibration.
Added a note that long vibration durations are not recommended because of hardware limitations.
For example, my ps4 controller can only vibrate for ~3s on linux.

(cherry picked from commit cef70a5f8b)
2016-09-18 23:22:14 +02:00
Pawel Kowal
2b43d0a028 ScrollContainer expand children bug fix
(cherry picked from commit 853161a000)
2016-09-18 23:16:33 +02:00
Paulb23
71dc733ad2 Added ItemList get_v_scroll to docs
(cherry picked from commit 7d455fca71)
2016-09-18 23:13:40 +02:00
Gastronok
3b691907e9 Change the documentation to reflect that Directory.list_dir_begin()
returns true (not false) when a stream could not be initialized. (See, for
example,
https://github.com/godotengine/godot/blob/master/drivers/windows/dir_access_windows.cpp#L76
)

(cherry picked from commit cd82fafd58)
2016-09-18 23:12:55 +02:00