Pedro J. Estébanez
5ff0924a93
Map POSITION to gl_FragCoord.xy for 2D shaders
2017-03-08 02:07:59 +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
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