summaryrefslogtreecommitdiff
path: root/doc/base
AgeCommit message (Collapse)Author
2017-05-21Avoid overestimating the cost in AStar heuristics.Ferenc Arn
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.
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-17Add extended check option to GDFunctionState::is_valid()Pedro J. Estébanez
2017-05-14Merge pull request #8762 from honix/masterRémi Verschelde
Docs: ERR_EOF -> ERR_FILE_EOF
2017-05-14fixed typo 'one short connection' to 'one shot'Christian Winter
2017-05-14docs: ERR_EOF -> ERR_FILE_EOFhonix
2017-05-08Put brave old bb10 platform to a well-deserved restRémi Verschelde
Add some 🔥 to appease @reduz. Fixes #8692.
2017-05-01Rename project file to "project.godot"Rémi Verschelde
Slimmed down variant from the reverted #8375. The rationale behind the name change is to give Godot's project file a unique extension (".godot") that can be registered on the OS to be associated with the Godot binary (OS registration not implemented here). This PR also adds the possibility to start the game or editor if launched with the project.godot passed as argument, which paves the way for allowing a similar behaviour on a double-click in the OS file manager (code originally by @Hinsbart). Closes #6915.
2017-04-29Revert "Use .godot as file extension for project files."Juan Linietsky
2017-04-25added documentation for SurfaceToolclayjohn
2017-04-24added descriptions for WorldEnvironment node in documentationclayjohn
2017-04-24Merge pull request #8277 from tagcup/math_checksRémi Verschelde
Added various functions basic math classes. Also enabled math checks …
2017-04-20Clarification of degrees/radians in angle methodsChris Bradfield
2017-04-16Use .godot as file extension for project files.Andreas Haas
Now project files don't have to be named "godot.cfg" anymore, they can have any name so as long as it ends with *.godot. Also godot will automatically start the editor now if launched with a project file as an argument. This allows for double-clicking of projects to open them :) Code-wise this should be complete, but there's still work to do: - Make a nice icon for godot projects. - Work on installers/packaging -> register the extension and icon with godot. - Update the 2.1 to 3.0 exporter. Tested on linux and windows so far.
2017-04-10Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei
Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
2017-04-07classref: Sync with current sourceRémi Verschelde
2017-04-06Added various functions basic math classes. Also enabled math checks only ↵Ferenc Arn
for debug builds. Added set_scale, set_rotation_euler, set_rotation_axis_angle. Addresses #2565 directly. Added an euler angle constructor for Basis in GDScript and also exposed is_normalized for vectors and quaternions. Various other changes mostly cosmetic in nature.
2017-04-05Merge pull request #8259 from bojidar-bg/move-slide-wall-fixRémi Verschelde
Fix is_move_and_slide_on_wall, make move_and_slide floor angle configurable
2017-04-04Fix is_move_and_slide_on_wall, make move_and_slide floor angle configurableBojidar Marinov
Fixes #7313
2017-04-03Made slide and reflect active verbs acting on itself in Vector2 and Vector3.Ferenc Arn
This is in alignment with other functions in vector classes. Also added checks for normalization, fixed the sign of reflect (which now corresponds to reflection along a plane mathematically), added bounce method and updated docs. Fixes #8201.
2017-03-29Update classes.xml to master version, add a small feature to doc_statusBojidar Marinov
2017-03-24Merge pull request #8122 from tagcup/axis_check_normalizationRémi Verschelde
Explicitly documented that Transform.basis is not necessarily an orth…
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-23Explicitly documented that Transform.basis is not necessarily an orthogonal ↵Ferenc Arn
matrix. Also added a check that in axis-angle rotations, axis is a normalized vector, and modified the docs accordingly. Fixes #8113.
2017-03-14List Control::has_point as a virtual methodCrazyGuy108
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.
2017-03-05Merge pull request #7916 from RebelliousX/tab_containerRémi Verschelde
TabContainer's signal changes (v3)
2017-03-05- `tab_changed` signal emits only by selecting a different tab.Thaer Razeq
- Added `tab_selected` signal. Which emits a signal by selecting any tab, if current tab is selected again. - Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** only `tab_changed` can modify previous tab index. - Add documentation for the added function and signals. Fix a typo too.
2017-03-04Added a SceneTree.has_network_peer, closes #7922Karol Walasek
2017-02-12Merge pull request #7581 from Faless/v6_wild_bindRémi Verschelde
TCP/UDP listen bind to address and bugfixes
2017-02-04Renamed engine.cfg to godot.cfg, to forcefully break compatibility with 2.xJuan Linietsky
2017-01-29grammar fixes, it's -> itsChris Bradfield
2017-01-23Update docs reference for TCP_Server::listen and UDPPacketPeer::listenFabio Alessandrelli
2017-01-15Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant ↵Ferenc Arn
with 32-bit output, 64-bit state). PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed.
2017-01-14Finish renaming *Frame GUI classes to *RectRémi Verschelde
ReferenceFrame had been overlooked, and the cpp files still used the old names. Also ripgrep'ed it all to find some forgotten references.
2017-01-13Tween: Rename times_in_sec (sic) param to durationRémi Verschelde
2017-01-12some class renamesJuan Linietsky
TextureFrame -> TextureRect Patch9Frame -> NinePatchRect ColorFrame -> ColorRect
2017-01-10Merge pull request #7426 from m4nu3lf/bugfix/physicsJuan Linietsky
Fixed inertia tensor computation and center of mass
2017-01-10Merge pull request #7438 from tagcup/matrix3_rotate_fixJuan Linietsky
Fix the order in which additional transformations are applied
2017-01-10Remove deprecated Vector2.floorf methodEmmanuel Leblond
2017-01-09Fixed inertia tensor computation and center of massm4nu3lf
2017-01-08Fix the order in which additional transformations are applied in Matrix3 and ↵Ferenc Arn
Transform. This is a part of the breaking changes proposed in PR #6865, solving the issue regarding the order of affine transformations described in #2565. This PR also fixes the affected code within Godot codebase. Includes improvements to documentation too. Another change is, Matrix3::get_scale() will now return negative scaling when the determinant of the matrix is negative. The rationale behind this is simple: when performing a polar decomposition on a basis matrix M = R.S, we have to ensure that the determinant of R is +1, such that it is a proper rotation matrix (with no reflections) which can be represented by Euler angles or a quaternion. Also replaced the few instances of float with real_t in Matrix3 and Transform. Furthermore, this PR fixes an issue introduced due to the API breakage in #6865. Namely Matrix3::get_euler() now only works with proper rotation matrices. As a result, the code that wants to get the rotation portion of a transform needs to use Matrix3::get_rotation() introduced in this commit, which complements Matrix3::get_scaled(), providing both parts of the polar decomposition. Finally, it is now possible to construct a rotation matrix from Euler angles using the new constructor Matrix3::Matrix3(const Vector3 &p_euler).
2017-01-08Fix codeblock tag in classes.xml for EditorSettingsEmmanuel Leblond
2017-01-03Use right handed coordinate system for rotation matrices and quaternions. ↵Ferenc Arn
Also fixes Euler angles (XYZ convention, which is used as default by Blender). Furthermore, functions which expect a rotation matrix will now give an error simply, rather than trying to orthonormalize such matrices. The documentation for such functions has be updated accordingly. This commit breaks code using 3D rotations, and is a part of the breaking changes in 2.1 -> 3.0 transition. The code affected within Godot code base is fixed in this commit.
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-02Merge pull request #7410 from nounoursheureux/masterRémi Verschelde
Add the 'finished' signal to AnimatedSprite
2017-01-02Merge pull request #7271 from Faless/ipv6_cleanupRémi Verschelde
Fixes and improvementes for IPv6 implementation.
2017-01-02Exposing edit_resource method of EditorNode in the EditorPlugin (#7355)Bruno Ortiz
2017-01-02Add the 'finished' signal to AnimatedSpriteWilhem Barbier
2016-12-23Merge pull request #7322 from Jerome67000/classref-editRémi Verschelde
doc improvement for get_colliding_bodies() methods
2016-12-23PopupMenu upgrade: Hide on item selection (#7306)Ivan P. Skodje
* 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