Commit graph

5587 commits

Author SHA1 Message Date
Rémi Verschelde 1830b80719 Merge pull request #6504 from Hinsbart/joy_axis
Fix input action pressed state not changing for quick joystick moveme…
2016-09-17 18:37:15 +02:00
Rémi Verschelde c47fd20cc6 Merge pull request #6498 from Paulb23/current_script_highlight_fix
Fix highlight current script when script temperature is disabled
2016-09-17 18:36:23 +02:00
Rémi Verschelde c05242e324 Merge pull request #6489 from zaps166/vorbis-no-enc
Vorbis: Don't compile unnecessary encoder files
2016-09-17 18:36:10 +02:00
Rémi Verschelde 80861b7d59 Merge pull request #6414 from RandomShaper/improve-shader-shadow
Expose additional light/shadow properties to canvas item shaders
2016-09-17 18:34:22 +02:00
George Marques 7904b2b405
Expose bottom panel show/hide for plugins 2016-09-17 12:02:11 -03:00
George Marques 98e7c1edba
Add a function to plugin get the main screen parent
- Fix a bug where the main screen button did not disappear when the plugin
  was deactivated.
2016-09-16 15:02:01 -03:00
Brickcaster cc7bc07e33 Fix for issue #6496
Canged order of NOTIFICATION_DRAW to update scrollbar before scrollbar
is checked to see which list elements to display.
2016-09-16 11:25:07 -04:00
yg2f 663d4ee7de scons detects standalone MSVC on Windows
Under Windows, Scons is now capable of detecting and compiling with
standalone MSVC compilers (aka "Visual C++ Build Tools").
http://landinghub.visualstudio.com/visual-cpp-build-tools

Tried with version 2015, and native x86 and x64 compilers under
Windows 10 pro 64 and Windows 8.1 64, with the default Win8 SDK
provided by the "Visual C++ Build Tools" web-installer.

Follow the same compiling instructions than for compiling with Visual
Studio, except that Visual Studio is no more required.

KNOWN ISSUES :
- ``methods.detect_visual_c_compiler_version()`` will emit a warning message
on computers where the ``VSINSTALLDIR`` environement variable is not present.
But it should compile just fine and still automatically detects the 32 or
64 bits according to the compiler you picked.

TODO :
- eventually, update ``platform/winrt/dectet.py`` with function
``methods.msvc_is_detected()`` and try to compile winrt/UWP with
these standalone compilers (if you did not select Win10 SDK when
installing the standalone tools, you can run it again).
- update doc to make users aware of "Visual C++ Build Tools" aka
"stadalone MSVC".
- eventually, update ``methods.detect_visual_c_compiler_version()``
2016-09-16 11:17:57 +02:00
Rémi Verschelde c05ff0577f Merge pull request #6510 from Hinsbart/doc_vib
Update documentation on joystick vibration.

[ci skip]
2016-09-16 11:13:11 +02:00
Andreas Haas cef70a5f8b
Update documentation on joystick vibration.
Added a note that long vibration durations are not recommended because of hardware limitations.
For example, my ps4 controller can only vibrate for ~3s on linux.
2016-09-16 11:08:32 +02:00
Andreas Haas 84783fe77b
Fix input action pressed state not changing for quick joystick movements.
fixes #6488
Also removes a bunch of dead code related to checking if a joystick axis is pressed.
2016-09-15 19:30:35 +02:00
Paulb23 fbd0b6f995 Fix highlight current script when script temputure is disabled 2016-09-15 17:34:32 +01:00
Juan Linietsky 4613cb7874 Hacked a demo C# class parser for neikeq. 2016-09-15 10:13:28 -03:00
Juan Linietsky 913925f106 Center camera2D with the proper viewport size 2016-09-15 08:17:23 -03:00
Juan Linietsky 08688931a1 Call run callback 2016-09-14 19:44:08 -03:00
Juan Linietsky a75f5f039e Added API version and hashing to ObjectTypeDB 2016-09-14 19:37:37 -03:00
Błażej Szczygieł 222bc07874 Vorbis: Don't compile unnecessary encoder files 2016-09-14 22:40:20 +02:00
Juan Linietsky a4156f1f0a Added a few functions to make 2D split screen easier. 2016-09-14 15:55:14 -03:00
Juan Linietsky 51466ae5d2 Merge pull request #6486 from Faless/viewport2d
Restore Viewport::set_world_2d() functionality (2D Split Screen)
2016-09-14 14:32:53 -03:00
Fabio Alessandrelli 97cf3eba56 Restore viewport set_world_2d functionality 2016-09-14 15:18:00 +02:00
Pedro J. Estébanez 66dac878ac Improve debug focus behavior
Fix focusing debugged game on Windows
Add re-focusing editor on continue
2016-09-14 04:02:18 +02:00
Juan Linietsky 827a9aa829 Added a generic AStar implementation to Godot.
It's pretty fast, use it for games where Navigation does not cut it.
2016-09-13 18:17:18 -03:00
Juan Linietsky bfe67a3b87 Make Godot detect if the screen is too small (<1200 pixels wide), and use single dock column like in 1.0 if that's the case. 2016-09-13 11:20:09 -03:00
Juan Linietsky 8bcb6a290c -Added VeryLowDPI and MidDPI modes to Godot editor.
-Improved HiDPI detection (requires resolution of > 2000 in X axis)
2016-09-13 11:05:47 -03:00
Juan Linietsky 08b096ccc2 Distraction free icon was missing 2016-09-13 09:48:12 -03:00
Juan Linietsky f10d2bd394 -Add a distraction free mode button (so users know it's there)
-Made distaction free not hide the top bar, it's more loss than gain to hide it
-Fix fullscreen toggling and added a menu option for it so it's also visible in settings.
2016-09-13 09:48:12 -03:00
Juan Linietsky 527ae80dff Merge pull request #6473 from sanikoyes/Pr-ScrollContainer-expand-children-bug-fix
fix ScrollContainer cannot scroll when scroll bar is hidden
2016-09-13 09:29:54 -03:00
Rémi Verschelde af355364b2 Merge pull request #6472 from vnen/fix-gds-nontools
Fix build for templates
2016-09-13 07:41:31 +02:00
sanikoyes b548ef0009 fix ScrollContainer cannot scroll when scroll bar is hidden 2016-09-13 11:50:41 +08:00
George Marques 291e985882
Fix UWP gamepad 2016-09-12 23:41:34 -03:00
Juan Linietsky 043a7a1e06 Added favorites and recent history to create dialog 2016-09-12 23:23:36 -03:00
George Marques 5ef64aae58
Fix build for templates 2016-09-12 22:40:46 -03:00
Juan Linietsky f51b202566 Modified resource menu for node scripts so it always goes through the new script wizard. 2016-09-12 19:32:09 -03:00
Rémi Verschelde dc6eefdbf2 Merge pull request #6465 from Paulb23/script_highlight_color_update
Update current script color on change
2016-09-12 16:33:28 +02:00
Paulb23 a0136838b3 Update current script color on change 2016-09-12 15:19:30 +01:00
Juan Linietsky 37f1e86108 Do ctrl-click on any code identifier to go to definiton or help page. 2016-09-12 10:53:31 -03:00
Juan Linietsky 78f92dbcb9 Merge pull request #6281 from bojidar-bg/gdscript-ternary-operator
Ternary operator in GDScript (a if x else b)
2016-09-11 18:40:46 -03:00
Rémi Verschelde ba3c47c696 Merge pull request #6446 from vnen/fix-scons-python-env
Fix the Windows environment in SCons spawn function
2016-09-11 22:15:41 +02:00
Răzvan Cosmin Rădulescu 1a7aae7443 (Array) pop_front, pop_back return values
pop_front, pop_back now return values instead of `void`. Things
I didn't know how to properly implement:

1. pop_front & pop_back shows in the help menu Object as return value.
   I know this is incorrect but if not Object than what? Cause it
   can't be void. It needs to be a generic type that includes all the
   Array types
2016-09-11 17:37:21 +02:00
Juan Linietsky c40ab446c9 Changed default assignment of shorcut for alt-left/right to history next/prev, which is more standard and useful.
Indent can be done with tab and shift-tab anyway.
If you don't like this, feel free to reassign them manually in the editor settings :P
2016-09-11 12:27:14 -03:00
Juan Linietsky b83350f4b2 Added constants from types in code completion, somehow this was never added.
Stuff like Label.ALIGN_CENTER or Mesh.PRIMITIVE_TRIANGLES did not complete..
2016-09-11 12:20:28 -03:00
Juan Linietsky b874cede20 Add argument options for the theme override functions in Control 2016-09-11 11:48:31 -03:00
Juan Linietsky 95eb7466df -Added a ColorFrame control, kind of like Texture but for color.
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
2016-09-11 11:28:01 -03:00
Juan Linietsky 1bf684cea2 -Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
George Marques e6ef92d217
Fix build error in WinRT export 2016-09-10 20:21:46 -03:00
Juan Linietsky 2a003d7b4e fix get_selected_nodes() 2016-09-10 17:50:20 -03:00
Juan Linietsky 65b93d177e -Added bindings to the resource filesystem for editor
-Added set_child_rect, which was unavailable for script
2016-09-10 17:34:27 -03:00
Juan Linietsky 2da3aaefc2 small clarification in doc 2016-09-10 16:46:00 -03:00
Juan Linietsky 491dde2eb4 Made it possible to properly draw over the 2D canvas for 2D objects. Arranged some functions to achieve this. 2016-09-10 16:44:03 -03:00
Juan Linietsky 67d3935eb1 -Added way to generate resource previews from script plugin.
-Updated documentation
2016-09-10 15:32:17 -03:00