Karroffel
fd55308786
added dlscript module
...
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
2017-04-03 17:20:11 +02:00
Ferenc Arn
1a620bd5fa
Made slide and reflect active verbs acting on itself in Vector2 and Vector3.
...
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-04-03 10:02:12 -05:00
Karroffel
67f59bc2d9
increased maximum number of scripting languages
2017-04-03 16:10:26 +02:00
Pedro J. Estébanez
6caa9fc94c
Improve TouchScreenButton
...
Fix shape not being updated
Add a way to hide the shape on editor and debug-with-visible-shapes
Remove useless checks
2017-04-03 14:42:46 +02:00
Rémi Verschelde
1bd3648bb0
Merge pull request #8211 from robertdhernandez/NinePatch-Fix
...
[3.0] Fixed NinePatchRect/StyleBoxTexture incorrectly drawing AtlasTexture
2017-04-03 14:41:53 +02:00
Rémi Verschelde
5b09dde3fe
Merge pull request #8146 from supagu/astar
...
Added ability to change A-star cost function
2017-04-03 13:52:59 +02:00
Rémi Verschelde
9f85befbfd
Merge pull request #8048 from ficoos/was_input_handled
...
Add the option to check if input was handled
2017-04-03 13:48:57 +02:00
Rémi Verschelde
ff468e2d42
Merge pull request #8241 from volzhs/crash-project-setting-master
...
Fix crash when change project settings
2017-04-03 11:35:44 +02:00
volzhs
6ac4969cdd
Fix crash when change project settings
2017-04-03 17:57:50 +09:00
Rémi Verschelde
dd35caca05
Merge pull request #8238 from volzhs/scenetree-button-margin
...
Make buttons closer in Scene tree
2017-04-03 09:51:26 +02:00
Rémi Verschelde
79712ca3ab
Merge pull request #8218 from ficoos/fix_token_names
...
Add '$' to token names
2017-04-03 09:34:57 +02:00
volzhs
a911b1f126
Make buttons closer in Scene tree
2017-04-03 15:50:16 +09:00
Rémi Verschelde
71f8f80b84
Merge pull request #8235 from RandomShaper/fix-warped-pan
...
Fix warped mouse panning on Linux
2017-04-03 07:57:28 +02:00
Pedro J. Estébanez
58cd4461d1
Fix warped mouse panning on Linux
...
Fix/improve it also on certain edge cases for any platform
2017-04-03 02:56:14 +02:00
Andreas Haas
b49d206a4c
Merge pull request #8219 from robertdhernandez/Node2D-Canvas-Sync
...
Node2D/Control variables now update with canvas changes
2017-04-03 00:33:40 +02:00
Juan Linietsky
65f8210e50
Merge pull request #8233 from volzhs/fix-adreno-430
...
Fix failing to compile shader on Adreno GPU
2017-04-02 17:25:57 +02:00
volzhs
e65b8b666c
Fix failing to compile shader on Adreno GPU
2017-04-02 23:16:25 +09:00
Rémi Verschelde
dee7fb5ab5
Merge pull request #8228 from Hinsbart/viewport_fix
...
Viewport: Fix undefined behaviour found by llvm sanitizer.
2017-04-02 13:04:14 +02:00
Rémi Verschelde
3b256f1a90
Merge pull request #8229 from Hinsbart/upd_mappings
...
Input: Update Gamepad mappings.
2017-04-02 13:02:12 +02:00
Andreas Haas
1d3c9c448d
Viewport: Fix undefined behaviour found by llvm sanitizer.
...
When godot was running as the project manager, it tried to call a method on a null pointer (get_tree()->get_edited_scene_root()).
This is undefined behaviour and caused a crash when compiled with sanitizing enabled.
2017-04-02 09:46:51 +02:00
Andreas Haas
b9d606af71
Input: Update Gamepad mappings.
2017-04-02 09:43:37 +02:00
Robert Hernandez
8078b5ecf6
Fixed Node2D/Control not updating properties
2017-04-01 20:13:52 -04:00
Fabian Mathews
b541402417
Added ability to change A-star cost function
2017-04-01 16:36:22 +10:30
Saggi Mizrahi
c464609bda
Add '$' to token names
...
It was missing from this array and would cause godot to crash or report
bad errors.
Signed-off-by: Saggi Mizrahi <saggi@mizrahi.cc>
2017-04-01 03:20:23 +03:00
Saggi Mizrahi
245ace6e2e
Add the option to check if input was handled
...
When working with a viewport you should call Viewport.input() to pass
the input, but if the input was unhandled you might also want to call
Viewport.unhandled_input() so that objects in the sub-scene can handle
the event. This adds a way to check if the input was handled so that you
know whether you should call Viewport.unhandled_input() or not.
Signed-off-by: Saggi Mizrahi <saggi@mizrahi.cc>
2017-03-31 17:56:32 +03:00
Andreas Haas
6731924dcf
Merge pull request #8213 from Hinsbart/joymapping_master
...
Initialize hat values for mapping and revert X360 mappings. [3.0]
2017-03-31 13:35:02 +02:00
Jordan Patterson
86de80db89
Initialize hat values for mapping and revert X360 mappings.
2017-03-31 13:27:02 +02:00
Robert Hernandez
7a428206fe
Fixed WindowDialog not aligning properly
2017-03-31 01:48:02 -04:00
Robert Hernandez
a4a12a2b7b
Fixed AtlasTexture being incorrectly
...
Fixed StyleBoxTexture and NinePatchRect drawing the entire texture of an
AtlasTexture.
2017-03-30 21:09:25 -04:00
Rémi Verschelde
d7dd276ccc
Merge pull request #8208 from Shin-NiL/master
...
Honor the Tween's final values
2017-03-30 13:09:17 +02:00
Shin-NiL
d8c396a44f
Honor the Tween's final values
2017-03-30 07:58:20 -03:00
Rémi Verschelde
7d99f388e3
Merge pull request #8199 from tagcup/math2d_det_fix
...
Fix polar decomposition in 2D.
2017-03-30 10:40:29 +02:00
Rémi Verschelde
aab6687523
Merge pull request #8180 from sergey-push/8145-Mouse_Position_is_unknown_until_first_mouse_event
...
8145 - Mouse Position is unknown until first mouse event on X11
2017-03-30 10:34:30 +02:00
Rémi Verschelde
84bd039851
Merge pull request #8173 from RandomShaper/improve-tile-palette
...
Several enhancements for the tile map editor
2017-03-30 10:29:46 +02:00
Rémi Verschelde
c6ba3bf9d5
Merge pull request #8203 from RandomShaper/add-missing-bind
...
Add missing binding for DUPLICATE_USE_INSTANCING
2017-03-30 07:37:46 +02:00
Pedro J. Estébanez
c2165bb1a5
Add missing binding for DUPLICATE_USE_INSTANCING
2017-03-30 00:38:06 +02:00
Karroffel
2281942fb3
Added methods for opening dynamic libraries to OS
2017-03-29 23:05:15 +02:00
Rémi Verschelde
92b6c8095a
Merge pull request #8200 from bojidar-bg/doctool-make-properties
...
Update classes.xml to master version, add a small feature to doc_status
[ci skip]
2017-03-29 22:48:48 +02:00
Bojidar Marinov
669956849a
Update classes.xml to master version, add a small feature to doc_status
2017-03-29 22:27:59 +03:00
Ferenc Arn
97d510531a
Fix polar decomposition in 2D.
...
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 ).
2017-03-29 12:04:49 -05:00
Juan Linietsky
000e873008
Merge pull request #8191 from eska014/webgl2-export
...
WebGL 2 export per WebAssembly or asm.js
2017-03-29 15:21:52 +02:00
eska
7df7e9cc8b
WebGL 2 export per WebAssembly or asm.js
2017-03-29 13:27:43 +02:00
Sergey Pusnei
c79e998d1f
8145 - Mouse Position is unknown until first mouse event on X11 & Win
...
- X11 update input->pos on EnterNotify
- X11 & Win call first-time events processing before main initialization
2017-03-28 19:18:40 -04:00
Pedro J. Estébanez
54abbc532f
Several enhancements for the tile map editor
...
Allow sorting tile palette by name
Allow hiding tile ids in tile palette
2017-03-27 10:45:02 +02:00
Rémi Verschelde
d4740a9853
Merge pull request #8169 from RandomShaper/fix-uniform-move
...
Include uniform (Shift down) mode in only-one-Node2D dragging
2017-03-27 08:56:54 +02:00
Rémi Verschelde
9d28a5e7d9
Merge pull request #8159 from Hinsbart/last_id
...
Input: Remove usage of platform dependent event IDs.
2017-03-27 08:52:58 +02:00
Rémi Verschelde
fbebd32b5f
Merge pull request #8147 from RameshRavone/patch-1
...
Update build.gradle.template for jcenter
2017-03-27 08:50:47 +02:00
Pedro J. Estébanez
e7fba3d273
Include uniform (Shift down) mode
...
in only-one-Node2D dragging
2017-03-27 01:32:24 +02:00
Rémi Verschelde
1a0d1bb18d
Remove redundant subfolder in iOS template
2017-03-26 22:03:58 +02:00
Rémi Verschelde
d8f32637be
SCons: Add option to toggle warnings (on by default)
...
All the warnings are factored out of the platform-specific files and moved to
SConstruct. Will have to check that it does not introduce regressions on some
platforms/compilers.
(cherry picked from commit 31107daa1a
)
2017-03-26 21:58:37 +02:00