aboutsummaryrefslogtreecommitdiff
path: root/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix a pesky bug in marshalls.cpp/encode_variantBojidar Marinov2017-04-111-1/+1
| | | | Fixes #7556 running game from editor on LLVM builds.
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-105-7/+7
| | | | | | | | 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
* Merge pull request #8333 from touilleMan/classdb-class_sget_property-bindingRémi Verschelde2017-04-092-0/+21
|\ | | | | Add _ClassDB.class_[g|s]et_property to ClassDB exposed methods
| * Add return value in ClassDB.class_[g|s]et_property bindingsEmmanuel Leblond2017-04-091-2/+2
| |
| * Add _ClassDB.class_[g|s]et_property to ClassDB exposed methodsEmmanuel Leblond2017-04-092-0/+21
| |
* | Particle system is complete. Rejoice!Juan Linietsky2017-04-081-10/+11
| |
* | Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-08233-0/+233
|/
* New particle system, mostly working, some small features missing.Juan Linietsky2017-04-062-24/+1
|
* Merge pull request #8286 from Hinsbart/memleaksRémi Verschelde2017-04-062-2/+2
|\ | | | | Core: fix possible memory leaks.
| * Core: fix possible memory leaks.Andreas Haas2017-04-062-2/+2
| |
* | Merge pull request #8214 from tagcup/bounce_reflect_slideRémi Verschelde2017-04-054-13/+43
|\ \ | |/ |/| Made slide and reflect active verbs acting on itself in Vector2 and V…
| * Made slide and reflect active verbs acting on itself in Vector2 and Vector3.Ferenc Arn2017-04-034-13/+43
| | | | | | | | | | | | | | 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.
* | Merge pull request #8246 from GodotNativeTools/dlscript-moduleRémi Verschelde2017-04-042-1/+5
|\ \ | | | | | | DLScript module
| * | added dlscript moduleKarroffel2017-04-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | This module was written by bojidar-bg and me, with the help of ClikCode and touilleMan. This adds a module to Godot that enables the use of dynamic libraries as a source for scripts. That also allows third party libraries to be linked to Godot more easily and without creating modules. For a readme see https://github.com/GodotNativeTools/godot_headers/blob/master/README.md
| * | increased maximum number of scripting languagesKarroffel2017-04-031-1/+1
| | |
| * | Added methods for opening dynamic libraries to OSKarroffel2017-03-291-0/+4
| | |
* | | Merge pull request #8146 from supagu/astarRémi Verschelde2017-04-032-3/+25
|\ \ \ | |_|/ |/| | Added ability to change A-star cost function
| * | Added ability to change A-star cost functionFabian Mathews2017-04-012-3/+25
| |/
* / Fix polar decomposition in 2D.Ferenc Arn2017-03-291-2/+2
|/ | | | | | | When performing polar decomposition in 2D as B = R.S, where R is rotation (with determinant +1) and S is scaling, use the convention that reflections are absorbed into S through a reflection around y axis. In 3D, this is done by using a reflection along all three axes, but since the dimensionality is even in 2D, one axis needs to be chosen. Fixes Matrix32::get_rotation and Matrix32::get_scale (which weren't properly fixed in #7445).
* Merge pull request #8133 from Hinsbart/joy_constantsRémi Verschelde2017-03-242-48/+20
|\ | | | | Input: Refactor JOY_* constants.
| * Input: Refactor JOY_* constants.Andreas Haas2017-03-242-48/+20
| | | | | | | | | | | | | | **Breaking change** Removed the `JOY_SNES_*` and `JOY_SEGA_*` constants. Imho there's no reason for a modern game engine to provide button aliases for decades-old hardware. Also renamed `JOY_ANALOG_{0,1}_{X,Y}` to `JOY_ANALOG_{L,R}{X,Y}` and removed `JOY_ANALOG_2_*`.
* | Merge pull request #8132 from tagcup/vector3_angle_toRémi Verschelde2017-03-241-1/+1
|\ \ | | | | | | Use atan2 rather than acos in Vector3.angle_to.
| * | Use atan2 rather than acos in Vector3.angle_to.Ferenc Arn2017-03-241-1/+1
| |/ | | | | | | Fixes #8111.
* | Merge pull request #8122 from tagcup/axis_check_normalizationRémi Verschelde2017-03-242-0/+7
|\ \ | | | | | | Explicitly documented that Transform.basis is not necessarily an orth…
| * | Explicitly documented that Transform.basis is not necessarily an orthogonal ↵Ferenc Arn2017-03-232-0/+7
| |/ | | | | | | | | | | | | | | matrix. Also added a check that in axis-angle rotations, axis is a normalized vector, and modified the docs accordingly. Fixes #8113.
* | Merge pull request #8109 from RandomShaper/warped-panningRémi Verschelde2017-03-241-0/+1
|\ \ | | | | | | Implement warped mouse panning for 2D & 3D editors
| * | Implement warped mouse panning for 2D & 3D editorsPedro J. Estébanez2017-03-221-0/+1
| |/ | | | | | | | | Enabled by default as in Blender, but can be disabled separately for 2D & 3D; the core functionality is in Input so this could be reused or even exposed to scripts in the future
* | Merge pull request #8098 from bojidar-bg/configfile-get-value-suppressRémi Verschelde2017-03-241-2/+7
|\ \ | | | | | | Suppress error messages when using ConfigFile::get_value and a default is given
| * | Suppress error messages when using ConfigFile::get_value and a default is givenBojidar Marinov2017-03-211-2/+7
| |/ | | | | | | Fixes #8097
* | Merge pull request #7985 from Faless/enet_godot_sock_squashRémi Verschelde2017-03-242-0/+11
|\ \ | | | | | | Update ENet to use Godot sockets.
| * | Allow non blocking UDP put_packet in C++.Fabio Alessandrelli2017-03-242-0/+11
| | | | | | | | | | | | | | | | | | - Add blocking mode option to PacketPeerUDP. - put_packet returns ERR_UNAVAILABLE when operation would block. - ENet module uses non-blocking UDP.
* | | Fix typos in source code using codespellRémi Verschelde2017-03-2418-22/+22
| |/ |/| | | | | From https://github.com/lucasdemarchi/codespell
* | Input: bind parse_input_event()Andreas Haas2017-03-192-0/+3
| | | | | | | | | | | | | | | | | | | | When using get_tree().input_event(ev), the engine will JUST send the event down the SceneTree. However, you won't get any of the benefits of the Input singleton: - No InputMap actions will be emitted - The internal input state won't be modified, so methods like `Input.get_mouse_pos()` or `Input.is_joy_button_pressed` won't return the expected output after sending the event. This is fixed by using `Input.parse_input_event(ev)` instead. I guess we'll also have to update the docs to reflect that this is the preferred method of sending custom InputEvents.
* | fixed ClassDB inconsistenciesKarroffel2017-03-133-3/+3
|/ | | | fixes #7960
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-05231-30224/+27207
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Style: prevent bogus macro formatting by clang-formatRémi Verschelde2017-03-051-50/+55
| | | | Also prevent formatting of thirdparty snippet
* really fixed PTRCALL nowKarroffel2017-03-053-6/+2
|
* Merge pull request #7958 from karroffel/powerstate-ptrcall-fixRémi Verschelde2017-03-052-0/+7
|\ | | | | Added PowerState casting operator to Variant
| * Added PowerState casting operator to VariantKarroffel2017-03-052-0/+7
| | | | | | | | Without it Godot does not build with PTRCALL_ENABLED
* | Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-058-2/+200
|/
* Merge pull request #7950 from RandomShaper/expose-more-geomRémi Verschelde2017-03-052-0/+15
|\ | | | | Expose uncapped versions of closest-point-to-segment utilities
| * Expose uncapped versions of closest-point-to-segment utilitiesPedro J. Estébanez2017-03-042-0/+15
| |
* | Add API to access battery power stateJulian Murgia2017-03-045-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Done: - X11, server (tested) - Windows (developed, would be nice to retest) - OSX (not tested) Prepared (not developed): - Android (code is here, but may not compile) - iphone - winrt - bb10 - haiku - javascript
* | Merge pull request #7940 from RandomShaper/expose-geometryRémi Verschelde2017-03-042-0/+7
|\ \ | | | | | | Expose Geometry::get_closest_point_to_segment_2d()
| * | Expose Geometry::get_closest_point_to_segment_2d()Pedro J. Estébanez2017-03-042-0/+7
| |/
* | Merge pull request #7911 from RandomShaper/single-field-prop-editRémi Verschelde2017-03-024-0/+219
|\ \ | |/ |/| Implement single-field property change for multinode edit
| * Implement single-field property change for multinode editPedro J. Estébanez2017-03-024-0/+219
| |
* | Merge pull request #7882 from AlexHolly/PoolStringArray-joinRémi Verschelde2017-03-022-0/+13
|\ \ | | | | | | added join to PoolStringArray
| * | added join to PoolStringArrayAlexHolly2017-03-012-0/+13
| | |
* | | Fix RANDOM_MAX, which is 2^32-1 with PCG32.Leandro Motta Barros2017-03-011-1/+1
| |/ |/|