Commit Graph

7237 Commits

Author SHA1 Message Date
Juan Linietsky 6d15e15732 converted skeletons from uniform to texture 2017-03-12 13:08:56 -03:00
Ignacio Etcheverry d210ac66ef Fix connection errors when replacing node
- Avoid connecting the signals to nonexistent methods
- Preserve only persistent connections
2017-03-11 20:21:04 +01:00
Hugo Locurcio 335d96a0ab Improve directional shadow filtering by using linear interpolation 2017-03-11 12:24:54 +01:00
Pedro J. Estébanez a0ecbb5ac0 Fixes for TouchScreenButton
- getting stuck on pause
- handling input when not visible
2017-03-10 14:10:29 +01:00
Rémi Verschelde b043f0e77d Merge pull request #7997 from eska014/webbuild
Fix web export build
2017-03-10 07:22:30 +01:00
eska 1abf478eb9 Fix web export build 2017-03-10 05:09:54 +01:00
Pedro J. Estébanez 383dea5796 Fix node duplication in scene sub-inheritance 2017-03-09 01:19:40 +01:00
Fabio Alessandrelli 5bdbc0f762 Convert ENetAddress host to 16 bytes to accomote IPv6 2017-03-08 21:16:26 +01:00
Fabio Alessandrelli 4cc1b04586 Add godot socket implementation 2017-03-08 21:16:20 +01:00
Pedro J. Estébanez 5ff0924a93 Map POSITION to gl_FragCoord.xy for 2D shaders 2017-03-08 02:07:59 +01:00
Andreas Haas 9080232f17
Editor: Dim UI when a WindowDialog is shown.
Darkens the editor on WindowDialog popup.

This adds the following new Editor settings:

- interface/dim_editor_on_dialog_popup (true) # Enable/Disable editor dimming
- interface/dim_amount (0.6) # Percentage of how much the editor will be darkened (0-1)
- interface/dim_transition_time # The duration (in seconds) of the color blending effect (0-1), 0 is instant.

Please test this thoroughly, I haven't yet seen a case where it fails to work properly but I'm sure I didn't test all
windows of the editor :P
2017-03-06 20:14:41 +01:00
Rémi Verschelde 15c4d5006e Fix build issue with MSVC
windows.h is a mess.
2017-03-06 09:11:03 +01:00
Rémi Verschelde 4d8840bba7 Merge pull request #7963 from RandomShaper/fix-kb-2d-motion
Complement KinematicBody2D fix
2017-03-06 09:09:17 +01:00
Pedro J. Estébanez 32eb2cc61e Complement KinematicBody2D fix
>> which was done at 5fc084c28e
2017-03-06 05:25:22 +01:00
Rémi Verschelde 6163343118 Make that Whole New World great again
Fix regression from 5dbf180 that broke Windows build.
2017-03-05 19:12:22 +01:00
Rémi Verschelde 5dbf1809c6 A Whole New World (clang-format edition)
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
2017-03-05 16:44:50 +01:00
Rémi Verschelde 45438e9918 Style: prevent bogus macro formatting by clang-format
Also prevent formatting of thirdparty snippet
2017-03-05 16:29:53 +01:00
Rémi Verschelde 131631b009 Merge pull request #7959 from karroffel/powerstate-ptrcall-fix
really fixed PTRCALL now
2017-03-05 16:29:19 +01:00
Karroffel 1531f6fe01 really fixed PTRCALL now 2017-03-05 16:20:20 +01:00
Rémi Verschelde 07df8a02e6 Merge pull request #7547 from akien-mga/clang-format-base
Style: Add .clang-format based on LLVM style
2017-03-05 15:59:48 +01:00
Rémi Verschelde f4fb19d11a Merge pull request #7958 from karroffel/powerstate-ptrcall-fix
Added PowerState casting operator to Variant
2017-03-05 15:48:06 +01:00
Rémi Verschelde e1c1d7d1d7 Add a bunch of missing Godot headers in own files 2017-03-05 15:47:28 +01:00
Karroffel 15838f3702 Added PowerState casting operator to Variant
Without it Godot does not build with PTRCALL_ENABLED
2017-03-05 15:32:16 +01:00
Rémi Verschelde 481e511082 iphone: Drop unused Appirater thirdparty API 2017-03-05 14:53:56 +01:00
Rémi Verschelde 49c065d29c Refactoring: rename tools/editor/ to editor/
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +01:00
Rémi Verschelde 532f6d4b43 Merge pull request #7954 from Hinsbart/tilemap_self_modulate
TileMap: Respect self_modulate property
2017-03-05 12:05:16 +01:00
Rémi Verschelde e6952cad3a Merge pull request #7950 from RandomShaper/expose-more-geom
Expose uncapped versions of closest-point-to-segment utilities
2017-03-05 12:04:23 +01:00
Rémi Verschelde 630158c992 Merge pull request #7916 from RebelliousX/tab_container
TabContainer's signal changes (v3)
2017-03-05 12:03:09 +01:00
Andreas Haas 962243f931
TileMap: Respect self_modulate property
Now `TileMap`s make use of the `self_modulate` property.

There's still a bug: The Editor doesn't re-draw with the new color when you change the TileMaps `self_modulate`
in the inspector. You'll have to make it update manually (by placing a tile, changing the transform, etc..)
I'll open an issue for that after this is merged (If I don't fix it in the meantime ^^).
2017-03-05 11:42:01 +01:00
Ramesh Mani Maran aa7490ffd0 support for multiple maven url 2017-03-05 15:46:55 +05:30
Thaer Razeq c9bda06dfd - `tab_changed` signal emits only by selecting a different tab.
- 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-05 02:47:09 -06:00
Pedro J. Estébanez 0e0b6ec443 Expose uncapped versions of closest-point-to-segment utilities 2017-03-04 23:02:27 +01:00
Julian Murgia 94103c0c02 Add API to access battery power state
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
2017-03-04 18:04:29 +01:00
Daniel J. Ramirez ef174abf6d Added AppImage structure 2017-03-04 17:38:29 +01:00
Geequlim 886f646cba Implements modules documents
Editor can generate documents for modules in thier own xml files
2017-03-04 17:20:36 +01:00
Rémi Verschelde 81a393a2b4 Merge pull request #7508 from lonesurvivor/area2d-fix
Fix two problems with Area2D and remove_child()
2017-03-04 17:19:04 +01:00
Rémi Verschelde 723f74c851 Merge pull request #7929 from RayKoopa/editor_resizable_dialogs
Resizable editor / project settings dialogs & save their bounds
2017-03-04 17:04:27 +01:00
Rémi Verschelde de530c1b23 Merge pull request #7940 from RandomShaper/expose-geometry
Expose Geometry::get_closest_point_to_segment_2d()
2017-03-04 17:00:34 +01:00
Rémi Verschelde 91e986104e Merge pull request #7937 from volzhs/fix-input-android
Fix handling input for Android
2017-03-04 17:00:06 +01:00
Rémi Verschelde 51f1a56d20 Merge pull request #7927 from volzhs/wrong-ref-treeitem
Fix wrong TreeItem reference after reconstructing
2017-03-04 16:48:02 +01:00
Rémi Verschelde c850e620cc Merge pull request #7923 from WalasPrime/fix_7922_peer_present
Added a SceneTree.is_network_peer_present, closes #7922
2017-03-04 16:47:44 +01:00
Karol Walasek 29908d32ba Added a SceneTree.has_network_peer, closes #7922 2017-03-04 11:35:44 +01:00
Pedro J. Estébanez eaa6433b3b Expose Geometry::get_closest_point_to_segment_2d() 2017-03-04 01:55:12 +01:00
Ray Koopa 7623fd10bf Make Editor, Export and Project settings dialogs resizable and store their bounds 2017-03-03 18:45:53 +01:00
volzhs 4866ea828a Fix handling input for Android 2017-03-04 00:15:26 +09:00
Rémi Verschelde d7d4bcbf47 Merge pull request #7930 from tagcup/missing_fixme_comments
Added missing FIXMEs in PR #7878

[ci skip]
2017-03-02 23:32:48 +01:00
Ferenc Arn 790611ef26 Added missing FIXMEs in PR #7878 2017-03-02 16:13:01 -06:00
volzhs 66b7586fb0 Fix wrong TreeItem reference after reconstructing 2017-03-03 04:01:04 +09:00
Rémi Verschelde 74eace2b14 Merge pull request #7911 from RandomShaper/single-field-prop-edit
Implement single-field property change for multinode edit
2017-03-02 11:47:11 +01:00
Pedro J. Estébanez 1e867cb9d4 Implement single-field property change for multinode edit 2017-03-02 10:42:05 +01:00