Commit Graph

6662 Commits

Author SHA1 Message Date
Rémi Verschelde
e1c1d7d1d7 Add a bunch of missing Godot headers in own files 2017-03-05 15:47:28 +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
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
Rémi Verschelde
ee53f85bea Merge pull request #7882 from AlexHolly/PoolStringArray-join
added join to PoolStringArray
2017-03-02 08:00:28 +01:00
Rémi Verschelde
f592d1ebfc Merge pull request #7628 from RayKoopa/gui_resizable_popups
Added functionality for resizable WindowDialogs
2017-03-02 07:57:26 +01:00
Ray Koopa
e07aa5deb8 Added functionality for resizable dialogs. 2017-03-01 23:40:10 +01:00
Rémi Verschelde
68fe36ed26 Merge pull request #7917 from lmbarros/master
Fix RANDOM_MAX, which is 2^32-1 with PCG32.

[ci skip]
2017-03-01 18:59:24 +01:00
Leandro Motta Barros
0e5863c86a Fix RANDOM_MAX, which is 2^32-1 with PCG32. 2017-03-01 14:33:45 -03:00
AlexHolly
9f7ce79ea3 added join to PoolStringArray 2017-03-01 16:30:34 +01:00
Rémi Verschelde
a1cbe8e22b Merge pull request #7878 from RebelliousX/else
Bunch of missing `else` statements and general logic
2017-02-28 23:03:10 +01:00
Rémi Verschelde
c5df3d4d8d Merge pull request #7787 from SaracenOne/nan_and_inf
Inf and NaN support added to GDScript
2017-02-28 23:00:30 +01:00
Saracen
5e938f0001 Inf and NaN support added to GDScript. 2017-02-28 21:52:33 +00:00
Thaer Razeq
f50488a361 Various fixes detected using PVS-Studio static analyzer.
- Add FIXME tags comments to some unfixed potential bugs
- Remove some checks (always false: unsigned never < 0)
- Fix some if statements based on reviews.
- Bunch of missing `else` statements
2017-02-28 07:52:02 -06:00
Rémi Verschelde
0f8c6dd382 Merge pull request #7904 from tagcup/use_math_prng
Use the common PRNG in 2D particles code.
2017-02-28 08:17:02 +01:00
Rémi Verschelde
8d7879e09a Merge pull request #7527 from RayKoopa/inspector_show_in_file_system
Add menu item in the inspector to show file in FileSystem
2017-02-27 23:14:55 +01:00
Rémi Verschelde
4c98d1791f Merge pull request #7517 from RayKoopa/gui_disabled_tabs
Add feature to disable tabs in TabContainer and Tabs control.
2017-02-27 23:14:37 +01:00
Ferenc Arn
67ef529113 Use the common PRNG in 2D particles code.
Replaces the custom PRNG used by 2D particles code with a wrapper for the PRNG located under core/math.
2017-02-27 15:36:17 -06:00
Rémi Verschelde
6fb164b344 Merge pull request #7903 from shlomif/fix-build-compile-error
Fix failing build when ALSA is absent

[ci skip]
2017-02-27 21:10:05 +01:00
Shlomi Fish
0ef3d22d98 Fix failing build on mageia v6 x64 linux.
There was an error about undeclared malloc()+free().
2017-02-27 21:24:46 +02:00
Ray Koopa
5cf063ca9d Add disabled tabs 2017-02-27 19:07:50 +01:00
Rémi Verschelde
55ce8e6ce9 Merge pull request #7600 from RayKoopa/fix_tab_container
Fix several drawing and logic issues in TabContainer
2017-02-27 17:03:57 +01:00
Ray Koopa
c02eb9a07a Add menu item for file resources in the inspector to reveal them in the FileSystem 2017-02-27 16:59:12 +01:00
Ray Koopa
fc9077a213 Fix several drawing and logic issues in TabContainer 2017-02-27 15:47:47 +01:00
Benjamin Bäumler
edd37eccd4 fix custom scene arguments from the editor
sequel of #7347

Play edited scene and Play custom scene didn't worked when main_run_args
hadn't $scene as argument.

Changes/Fixes the way how the editor handles scene paths when starting the
project/a scene
Play the project - no scene path
Play the edited scene - scene path of active scene in the editor
Play custom scene - scene path of custom scene

main_arg_runs is now empty by default and $scene won't be replaced
by the scene path anymore

Changed declaration if EditorRun::run, to remove a unused value
2017-02-27 15:20:47 +01:00
Rémi Verschelde
df365fdc3c Merge pull request #6462 from RandomShaper/fix-improve-anim-blend
Fix/improve AnimationPlayer blending logic
2017-02-27 14:39:54 +01:00
Rémi Verschelde
5f31b3ce58 Merge pull request #7897 from RandomShaper/particles2d-process-mode
Add process mode option to Particles2D
2017-02-27 14:03:44 +01:00