Commit graph

730 commits

Author SHA1 Message Date
Juan Linietsky
828e1c092f Renamed the bind_native functions to bind_vararg, should make it show the documentation more clearly and also make it easier to bind to C# 2016-09-07 19:39:57 -03:00
Juan Linietsky
23ababdcd5 Changed Vector3.snap from fmod to stepify, which makes more sense, fixes #6399 2016-09-06 19:14:47 -03:00
Rémi Verschelde
10de1799fb Merge pull request #6408 from supaiku-o/issue-6374
Show object string cast instead of object id in debugger
2016-09-06 07:51:15 +02:00
supaiku
0108e7c33a Show object string cast instead of object id in debugger 2016-09-06 00:39:56 +02:00
Rémi Verschelde
7d600caa16 Merge pull request #6352 from hurikhan/fix_release_build_II
Fix release build. (II)
2016-09-05 07:44:31 +02:00
Rémi Verschelde
eff6519aaf InputEvent: Fix event comparisons when type is NONE
Was a regression from 2e5a4cb5ca.
Fixes #6376.
2016-09-02 20:31:28 +02:00
Rémi Verschelde
8216bec7d1 Merge pull request #6365 from akien-mga/pr-locales
i18n: Update list of supported locales based off glibc
2016-09-02 08:40:24 +02:00
Juan Linietsky
89702d545b Basic type constants for visual script 2016-09-02 02:13:12 -03:00
Juan Linietsky
5b96c3a552 -Modified Input and added is_action_just_pressed() as well as is_action_just_released() 2016-09-01 18:59:46 -03:00
Rémi Verschelde
54e97e5ee6 i18n: Update list of supported locales based off glibc
Fixes #5733, fixes #6214.
2016-09-01 23:56:59 +02:00
Juan Linietsky
fc70824f7c More improvements to visual script..
fixed a bug of not saving when sub-nodes changed.
2016-08-31 17:58:51 -03:00
Mario Schlack
588e124c53 Fix release build. (II) 2016-09-01 00:19:31 +08:00
Rémi Verschelde
e51d59ed98 Merge pull request #6188 from TheHX/undo-redo
Implemented UndoRedo mergeable modes
2016-08-29 19:04:42 +02:00
Juan Linietsky
748836e0b3 Several all around fixes to visual scripting (in the process of creating demos) 2016-08-28 20:59:01 -03:00
Rémi Verschelde
6c674375e5 Merge pull request #6249 from volzhs/issue-6121
Show last added action on Input Map
2016-08-28 12:02:08 +02:00
volzhs
2e5a4cb5ca Show last added action on Input Map and implement InputEvent "==" 2016-08-28 15:18:13 +09:00
Rémi Verschelde
3cc08ab1f1 Merge pull request #6270 from neikeq/pr-m32-ctor
Matrix32: Add a constructor which takes six real_t params
2016-08-27 22:32:20 +02:00
Rémi Verschelde
c29c70275e Merge pull request #6187 from TheHX/pr-pinfo-function
Added add_property_info function to Globals and EditorSettings classes
2016-08-27 22:04:50 +02:00
Ignacio Etcheverry
3b67643978 Merge pull request #6290 from caryoscelus/master
fix string iterator
2016-08-27 15:29:06 +02:00
George Marques
d015d93b8f Merge pull request #6239 from volzhs/fix-return-spb
Fix StreamPeerBuffer::duplicate() does not return value
2016-08-26 22:25:24 -03: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
Ignacio Etcheverry
3578800230 Matrix32: Add constructor that takes six real_t params 2016-08-24 18:54:23 +02: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
volzhs
79628b1351 Fix StreamPeerBuffer::duplicate() does not return value 2016-08-22 22:30:22 +09: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
Juan Linietsky
2b7aa98d2d Changed API to use sequenced packets for UDP (drop old) 2016-08-19 22:54:53 -03:00
Juan Linietsky
1add52b55e Brand new networked multiplayer 2016-08-19 16:48:41 -03:00
Franklin Sobrinho
debf574df3 Implemented UndoRedo mergeable modes 2016-08-17 17:14:51 -03:00
Franklin Sobrinho
9f242ed6e5 Added add_property_info function to Globals and EditorSettings classes 2016-08-16 17:10:53 -03: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
Juan Linietsky
df6dbadc3e Fixed bug in make_dir_recursive, closes #6016 2016-08-08 18:21:06 -03:00
Rémi Verschelde
5d9967ef00 Merge pull request #6055 from eska014/native-bind-rettype
Allow documenting unexposed return types in bind_native_method
2016-08-08 18:23:36 +02:00
Juan Linietsky
9865650b43 Added a simpler way to do sub-functions in both visual and gdscript with the subcall node.
With this, visual script is almost done (missing registering custom nodes from addon).
All this is probably pretty broken, too and needs a lot of testing.
2016-08-08 01:21:22 -03:00
Juan Linietsky
0b8f0670c5 Automatically turn on process callbacks if relevant callbacks in node exists 2016-08-07 20:08:15 -03:00
Juan Linietsky
b77200728e -Added yield nodes to visual script
-Added input selection nodes to visual script
-Added script create icon for those who miss it, will only appear when it can be used.
2016-08-07 19:22:33 -03:00
Juan Linietsky
9714a36e65 Reverted printable null object, seems to cause bugs around and not sure why.
Will have to check better, likely for 3.0
2016-08-06 20:13:27 -03:00
Juan Linietsky
9890c1d2ca Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done! 2016-08-06 19:00:54 -03:00
Juan Linietsky
259418f827 VisualScript can now execute visual scripts, but there is no debugger or profiler yet. 2016-08-05 22:48:00 -03:00
eska
4cd246898e Allow documenting unexposed return types in bind_native_method
Document return type of `Object.call` and `GDScript.new`
2016-08-06 02:21:29 +02:00
Juan Linietsky
d8af6330e5 More progress on visual script editing 2016-08-03 11:28:43 -03:00
Juan Linietsky
3d1d190dcd Merge branch 'master' of https://github.com/godotengine/godot 2016-08-02 19:11:47 -03:00
Juan Linietsky
ad313097eb WIP visual scripting, not working yet but you can check out stuff 2016-08-02 19:11:05 -03:00
Rémi Verschelde
37ce438787 Merge pull request #5976 from allkhor/master
Fix String::is_valid_integer() for single symbols + and -
2016-07-31 20:07:20 +02:00
eska
b80c42ef4e Document FuncRef, GDFunctionState, InstancePlaceholder, RID, World2D 2016-07-30 21:27:58 +02:00
allkhor
09c4d65b64 Fix String::is_valid_integer() for single symbols + and - 2016-07-31 00:18:30 +06:00
Ignacio Etcheverry
2d4c4b6ea9 Fix regression with str() improvements for math types 2016-07-28 14:58:12 +02:00
Rémi Verschelde
c6c9f29827 Merge pull request #5921 from neikeq/pr-issue-5919
Prettier str() for some math types
2016-07-27 17:23:17 +02:00