Commit graph

5675 commits

Author SHA1 Message Date
Juan Linietsky
ec49f41e19 Even more work on visual script editor:
-Added constructor nodes, specialized and conversion ones.
-Cleaned up how unconnected input default values are shown and edited (much cleaner)
-Dragging scene nodes into graph makes a call dialog appear by deault
-Dragging properties into graph is set by default, not get
-fixed dragging internal functions into graph
2016-08-26 17:38:25 -03:00
Ignacio Etcheverry
963ed2d9fa Merge pull request #6036 from neikeq/pr-issue-6030
Device Input dialog now uses containers
2016-08-26 19:54:43 +02:00
Ignacio Etcheverry
4590293186 Merge pull request #6269 from neikeq/pr-doc-null
DocData: Fix null reference not detected correctly
2016-08-26 19:48:42 +02:00
caryoscelus
810fbb70ae fix string iterator
Since strings are null-terminated, size() returns incorrect length,
so use length() instead.

fixes #6287
2016-08-26 10:42:01 +03:00
Juan Linietsky
9c6175db11 More visual script work
-Block switches to 2d/3d editor if editing visual script
-Added cast node in flow control
-Added ability to do RPC in visual script
-Comment nodes
-Fix bug with inverted cable in connecting backwards
-Copy and paste nodes, including from different scripts
2016-08-25 17:45:20 -03:00
Bojidar Marinov
9f66f59477
Ternary operator in GDScript (a if x else b)
Fixes #1961
2016-08-25 21:23:03 +03:00
Ignacio Etcheverry
3578800230 Matrix32: Add constructor that takes six real_t params 2016-08-24 18:54:23 +02:00
Ignacio Etcheverry
b81725b203 DocData: Fix null reference not detected correctly 2016-08-24 18:12:42 +02:00
Mason Ashbridge
fb54ba6397 Slider value accounts for grabber offset 2016-08-24 03:17:54 -04:00
Daniel J. Ramirez
8151da15e1 Icons for VScript types 2016-08-23 22:54:21 -05:00
Juan Linietsky
41a58f7935 tiny bug fix 2016-08-23 23:21:41 -03:00
Juan Linietsky
dc7139c90d Making bits of docs appear in different dialogues is made easier with EditorHelpBit 2016-08-23 23:15:16 -03:00
Juan Linietsky
ad8f208bdb Proper function/property selection in visual script editing for property.
This one has an ordered list, built-in description, search, etc.
2016-08-23 19:29:07 -03:00
Juan Linietsky
965fcf5996 Merge branch 'master' of https://github.com/godotengine/godot 2016-08-23 10:31:58 -03:00
Juan Linietsky
231c72b5eb prettier connections for graph edit 2016-08-23 10:15:47 -03:00
Ovnuniarchos
8fcd92c38a Mouse hotspot is not honored. 2016-08-23 07:57:04 +02:00
volzhs
ff22db3b21 Make LineEdit not to cover whole line when rename node 2016-08-23 05:46:11 +09:00
volzhs
449ad2b37a Change "Disable Filter" to "Enable Filter" on Font Import window 2016-08-23 05:18:53 +09:00
volzhs
79628b1351 Fix StreamPeerBuffer::duplicate() does not return value 2016-08-22 22:30:22 +09:00
Rémi Verschelde
2cf781d3c6 enet: Fix build on android and iphone platforms
Fixes #6156.
2016-08-22 12:59:06 +02:00
Juan Linietsky
cbbcf72703 -High Level protocol optimization (should be smaller)
-Ability to set compression to ENet packets (check API)
-Fixed small bug in StringDB that lead to duplicate empty strings
-Added a new class, StreamPeerBuffer, useful to create your own tightly packed data
2016-08-22 01:19:24 -03:00
Pedro J. Estébanez
7d35973486 Improve/fix GridMap editor
Fix cursor/palette update on tile eyedropping
Fix editor not cleaning its state when becoming inactive, which leaves indicators behind among other issues
Fix/improve menu/keyboard shortcuts
Merge 'Gridmap Editor' and 'Grid Map' settings into the latter
2016-08-21 03:41:19 +02:00
Rémi Verschelde
61cb8fd76c Merge pull request #6197 from neikeq/pr-docs-reg-5919
DocData: Fix duplicated parenthesis for default values
2016-08-20 15:02:15 +02:00
Juan Linietsky
6efbe9342a fix to mingw build 2016-08-20 01:55:53 -03:00
Juan Linietsky
2b7aa98d2d Changed API to use sequenced packets for UDP (drop old) 2016-08-19 22:54:53 -03:00
Juan Linietsky
38338e90c0 ENet windows compilation fixes.
For reference, when you include a Windows header (be it directly windows.h or something that includes it)
put it at the end of the includes. it seems I forgot.
2016-08-20 01:05:57 -03:00
Juan Linietsky
2fa693273c Many fixes to networking, demo should work now 2016-08-19 18:44:09 -03:00
Juan Linietsky
1add52b55e Brand new networked multiplayer 2016-08-19 16:48:41 -03:00
Gau o fthe Veldt
f9e931bf12 Documentation for most of ItemList control.
The icon stuff is incomplete since I haven't used icons.
2016-08-18 08:29:51 -07:00
Ignacio Etcheverry
9e6b53c8dd DocData: Fix duplicated parenthesis for default values 2016-08-18 17:26:36 +02:00
Manish Sharma
82728b3384 Fixed running the game before saving scene
Closes #6184
2016-08-18 09:49:07 +05:30
Franklin Sobrinho
debf574df3 Implemented UndoRedo mergeable modes 2016-08-17 17:14:51 -03:00
Franklin Sobrinho
038e99e107 Update Globals and EditorSettings docs 2016-08-16 17:11:30 -03:00
Franklin Sobrinho
9f242ed6e5 Added add_property_info function to Globals and EditorSettings classes 2016-08-16 17:10:53 -03:00
Franklin Sobrinho
f6b39827b1 Better editor settings for the FileSystem dock
* Save the current display mode when changing it from the dock
2016-08-16 15:27:00 -03:00
Franklin Sobrinho
a4c3d2dc89 Fix editor glitches when the mesh/material preview is shown 2016-08-16 12:10:44 -03:00
Rémi Verschelde
56fa741b7a Merge pull request #6165 from TheHX/pr-tile-palette
Small usability improvements on the TileMap editor tile palette.
2016-08-16 11:32:33 +02:00
Franklin Sobrinho
0fa26cd850 Small usability improvements on the TileMap editor tile palette.
* The column width changes with the zoom, now the icons don't overlap.
  * Added a tile hsepation setting.
  * Added a setting to show/hide tile names.
2016-08-16 06:00:47 -03:00
Rémi Verschelde
d11ca175c7 Merge pull request #6161 from djrm/icons
2d collision shape icons now uses the color for shape icons
2016-08-16 09:21:01 +02:00
Rémi Verschelde
d7e75a0978 Merge pull request #6163 from TheHX/pr-editor-plugin
Expose additional functions for the EditorPlugin class
2016-08-16 09:20:17 +02:00
Franklin Sobrinho
a27d2e4c29 Update EditorPlugin doc 2016-08-15 15:28:21 -03:00
Franklin Sobrinho
104653f9eb Expose additional functions for the EditorPlugin class 2016-08-15 14:49:58 -03:00
Daniel J. Ramirez
cbad6b3fae 2d collision shape icons now uses the color for shape icons 2016-08-15 12:40:57 -05:00
Emmanuel Leblond
c402ac13df Add Node2D's set_global_rot get_global_rot set_global_rotd get_global_rotd set_global_scale get_global_scale methods. 2016-08-15 11:39:19 +02:00
vkbsb
91ba00b416 VisualScript: Adding TOOLS_ENABLED flag where needed (#6144)
Fixes #6022.
2016-08-15 09:54:02 +02:00
Juan Linietsky
3db36684b1 Added high level networked multiplayer to Godot.
It's complete, but absolutely and completely untested, undocumented and NSFW.
Have fun :-)
2016-08-14 18:49:50 -03:00
Juan Linietsky
01bdfe1ff6 Missing some bits, and added connection status. 2016-08-14 14:07:23 -03:00
Juan Linietsky
c21aae65b6 -Added an ENet implementation for NetworkedMultiplayerPeer for "a bit higher level" networking. 2016-08-14 14:07:23 -03:00
Johan Manuel
a4674bda47 Fix some comparisons between signed and unsigned integers 2016-08-13 13:21:35 +02:00
Johan Manuel
67b29e3b9e Fix some warnings about misleading indentation 2016-08-13 13:21:35 +02:00