Commit graph

1296 commits

Author SHA1 Message Date
Rémi Verschelde
abf20709af doc: Sync classref with current source 2017-12-18 08:13:58 +01:00
Juan Linietsky
e96c40f94a Added baked light support for gridmaps. 2017-12-18 00:35:20 -03:00
Rémi Verschelde
4e442b0648
Merge pull request #14788 from mrcdk/ogg_pop_noise_fix
Fix ogg looping pop noise. Closes #11468
2017-12-17 23:59:09 +01:00
Rémi Verschelde
e83c502939
Merge pull request #14754 from willnationsdev/dictionary-copy
Added 'duplicate' function for Dictionary in C++ and API.
2017-12-17 23:58:59 +01:00
Will Nations
f19fc83546 Dictionary::copy -> ::duplicate 2017-12-17 16:07:15 -06:00
MrCdK
1ccfb01cbc Fix ogg looping pop noise. Closes #11468 2017-12-17 22:30:28 +01:00
Daniel J. Ramirez
c8c280a68a Now every variant type has its icon. 2017-12-17 14:06:11 -06:00
Daniel J. Ramirez
756c033adb General use Variant type icons, plus other icon updates. 2017-12-17 13:19:09 -06:00
Rémi Verschelde
8f25a2dc11 Cleanup some #if 0'd code 2017-12-17 15:40:24 +01:00
Rémi Verschelde
1b9c8daf7b
Merge pull request #12845 from remorse107/Array-Dictionary-Fix
Fix issue #11400.  Fixes issue with arrays and dictionary acting as static objects between different instances of objects.
2017-12-16 15:49:07 +01:00
Ruslan Mustakov
9d6d20e67c Remove get_stack_bottom
It's not used in godot-nim any longer and there were no other uses for
it.
2017-12-16 13:10:26 +07:00
Rémi Verschelde
dcdf9008ae
Merge pull request #14676 from NathanWarden/nav_create_to_add
Renamed navmesh_create to navmesh_add since no navmesh is created.
2017-12-16 00:36:47 +01:00
Rémi Verschelde
cf7bd1a7e3
Merge pull request #14708 from Faless/get_packet_not_const_rebased
Remove "const" from PacketPeer get_packet/get_var, move windows network related stuff to drivers
2017-12-16 00:05:18 +01:00
Juan Linietsky
e946fb8cb0 Made built-in identifiers properly constant in shaders. Fixes #14449, closes #14629 2017-12-15 18:24:30 -03:00
Nathan Warden
38caa4126f Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created. 2017-12-15 15:09:06 -05:00
Fabio Alessandrelli
92067b4714 Remove "const" from PacketPeer get_packet/get_var
They are NOT constant methods, as state by the comment message,
they fetch the last packet and then forget about it, actively
changing the state of the object.
2017-12-15 17:14:17 +01:00
Thomas Herzog
f680c6fab0
Merge pull request #14679 from touilleMan/add-godot_get_global_constants-to-gdnative-wrapper
[GDnative] missing godot_get_stack_bottom and godot_get_global_constants
2017-12-15 10:54:48 +01:00
bruvzg
f55162ac1d
Fixes thekla atlas mingw-w64 build 2017-12-15 09:04:51 +02:00
Emmanuel Leblond
29df438f9a
Add missing godot_get_stack_bottom and godot_get_global_constants in gdnative_api.json 2017-12-15 00:37:46 +01:00
Juan Linietsky
93a63a5e1a GDScript files are converted to binary on export now. 2017-12-14 15:34:47 -03:00
Juan Linietsky
f3ad14224e -Add lightmapper
-Fixes to unwrapper (remove degenerates), makes Thekla not crash
-Added optional cancel button in EditorProgress
-Added function to force processing of events (needed for cancel button)
2017-12-14 09:01:27 -03:00
Rémi Verschelde
1c0007ba71
Merge pull request #14626 from Hinsbart/module_env
Scons: Build modules in seperate env.
2017-12-13 16:57:12 +01:00
Andreas Haas
0e624234da
Scons: Build modules in seperate env. 2017-12-13 15:46:35 +01:00
Rémi Verschelde
88a3e15981
Merge pull request #14587 from hoelzl/pr-no-std-arg-on-msvc
Don't pass -std=gnu++11 to MSVC
2017-12-13 08:37:33 +01:00
Rémi Verschelde
729af16aa9
Merge pull request #14591 from mhilbrunner/patch-6
Small fix in stream_peer_openssl: missing break, formatting
2017-12-13 08:37:13 +01:00
Rémi Verschelde
a104a9b95b
Merge pull request #14593 from Hinsbart/mono_env
Mono: Build in cloned env.
2017-12-13 08:36:57 +01:00
Matthias Hoelzl
26a1621678 Change -std=gnu++11 to -stc=c++11 and don't pass flag to MSVC 2017-12-12 18:58:51 +01:00
Hein-Pieter van Braam
5387613c7b Fix mingw build for thekla_atlas 2017-12-12 17:30:43 +01:00
Andreas Haas
e7c1255b06
Mono: Build in cloned env.
Use a cloned env, so that toggling glue_enabled doesn't force a full rebuild as mentioned in #14584.
2017-12-12 16:20:34 +01:00
Max Hilbrunner
d5df834b89
stream_peer_openssl: add missing break & format 2017-12-12 13:35:34 +01:00
Rémi Verschelde
8cd4b9bf27
Merge pull request #14555 from bojidar-bg/14324-nested-ternary
Properly support nested ternary expressions
2017-12-12 00:14:36 +01:00
Rémi Verschelde
3a07860311
Merge pull request #14561 from volzhs/libwebp-0.6.1
Update libwebp to 0.6.1
2017-12-12 00:14:26 +01:00
volzhs
043103fe6a Update libwebp to 0.6.1
* lossless performance and compression improvements + a new 'cruncher' mode (-m 6 -q 100)
* ARM performance improvements with clang (15-20% w/ndk r15c)
* webp-js: emscripten/webassembly based javascript decoder
* miscellaneous bug & build fixes
2017-12-12 02:55:47 +09:00
Bojidar Marinov
2c190b975e
Properly support nested ternary expressions
Fixes 14324.
2017-12-11 15:36:32 +02:00
Rémi Verschelde
dfb3634c34
Merge pull request #13836 from AndreaCatania/scale
Fixed bullet scale on get_transform and joints
2017-12-11 10:35:09 +01:00
Rémi Verschelde
5cfafaf09e
Merge pull request #14516 from AndreaCatania/patch-2
Implemented physics linear and angular lock
2017-12-11 00:13:06 +01:00
AndreaCatania
5dee44bbc1 Implemented physics linear and angular lock 2017-12-10 17:21:14 +01:00
AndreaCatania
785173e899 Ray cast return shape id. Fixes #14473 2017-12-10 12:20:36 +01:00
Rémi Verschelde
a845411454 Style: Re-apply clang-format over recent invalid additions 2017-12-10 01:27:02 +01:00
Rémi Verschelde
aeae05a2f4 Fix missing parenthesis 2017-12-09 23:36:41 +01:00
Rémi Verschelde
2b91a2059b GDNative: Fix warning when gdnative/singletons is missing 2017-12-09 23:32:40 +01:00
AndreaCatania
b546cd50a3 Changed how 6DOF limits works 2017-12-09 19:53:08 +01:00
Rémi Verschelde
bdf0c93a9f
Merge pull request #14459 from vnen/gdscript-object-export
Make GDScript parser raise error when exporting Object
2017-12-09 19:04:57 +01:00
George Marques
3d8dd7b327
Make GDScript parser raise error when exporting Object 2017-12-09 15:35:02 -02:00
Juan Linietsky
65fb961b8b -Ability to and unwrap lightmap coordinates on import
-Added unwrap functionality to Mesh
-Ability to display and debug mesh UVs
-Added multiline draw, so it's easier and faster to draw UVs
-Many fixes to SurfaceTool
-Fixes to Thekla Unwrap, but it's a piece of ass and it keeps crashing. Will have to go away
2017-12-09 14:18:14 -03:00
Rémi Verschelde
48d0336882
Merge pull request #14358 from RandomShaper/fix-vscript
Fix function arg count not considered in VisualScript
2017-12-09 14:18:26 +01:00
Rémi Verschelde
25b36f18d3
Merge pull request #12756 from Stratos695/master
Allowing double-axis lock in RigidBody & KinematicBody (Fixes #12500)
2017-12-09 13:01:41 +01:00
AndreaCatania
32408f3bfd Fixed joint scale 2017-12-09 01:22:36 +01:00
AndreaCatania
5cfc98cace Fixed bullet get_transform scale 2017-12-08 16:46:41 +01:00
Hein-Pieter van Braam
a974464629 Fix thekla_atlas build
clang doesn't like c++ versions being supplied to build c source files.
2017-12-08 16:18:36 +01:00
Hein-Pieter van Braam
bf05309af7 Import thekla_atlas
As requested by reduz, an import of thekla_atlas into thirdparty/
2017-12-08 15:47:15 +01:00
Juan Linietsky
dcab01618a Fixed is_playing funtion (was reporting wrong), closes #13928
Made error reporting to opcode_set in gdscript a bit clearer
2017-12-07 18:14:39 -03:00
Rémi Verschelde
96dbf19093
Merge pull request #14332 from akien-mga/clang-format
Update style for clang-format 5.0.0, new min required version
2017-12-07 09:18:11 +01:00
Rémi Verschelde
624a2b08f3 doc: Sync classref after a496dd4d, removing NOEDITOR properties from doc 2017-12-07 08:29:38 +01:00
Rémi Verschelde
13c2ff9320 Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
Rémi Verschelde
d5ca9e2f6f Style: Apply clang-format again on all files
Fixes issues introduced by newer clang-format versions or commits
pushed directly without using the clang-format pre-commit hook.
2017-12-07 08:02:00 +01:00
Pedro J. Estébanez
c68300b88d Fix function arg count not considered in VisualScript 2017-12-07 02:19:56 +01:00
Rémi Verschelde
8b907365d0
Merge pull request #14006 from akien-mga/tinyexr
Fix TinyEXR import bug and update to current master
2017-12-07 00:22:10 +01:00
Rémi Verschelde
c2031fc813
Merge pull request #13436 from hoelzl/pr-vs-yield-signal-oneshot
Connect signal for VisualScript "Yield Signal" using oneshot mode
2017-12-06 23:43:27 +01:00
Rémi Verschelde
e35e45a788
Merge pull request #13427 from hoelzl/pr-vs-enable-yield
Make VisualScriptFunctionState instantiable
2017-12-06 23:41:34 +01:00
Rémi Verschelde
7d9f14e9e4 TinyEXR: Fix EXR header when parsing pixels encoded as HALF
Also free the header and image properly after usage.
Fixes #13490.
2017-12-05 22:50:17 +01:00
Unknown
fd1b94e307 Improve slang, especially in user-visible parts 2017-12-05 15:41:38 +01:00
Rémi Verschelde
c7f9d8a059
Merge pull request #13992 from ISylvox/substract-to-subtract
Fix Typo: Substract to Subtract
2017-12-05 09:16:10 +01:00
Indah Sylvia
3996a05324 Fixed typo: substract to subtract 2017-12-05 11:34:46 +07:00
George Marques
6af42c536a
GDNative: Save singletons only if there's a change
Ensures that the Project Settings are saved only if the list of
singletons actually changed.
2017-12-05 00:25:29 -02:00
Nathan Warden
0c22447ebe Exported variables now show in the correct order. 2017-12-02 21:01:58 -05:00
Matthias Hoelzl
c825a58fe0 Connect signal for VisualScript "Yield Signal" using oneshot mode
Since the first call to a VisualScriptFunctionState invalidates the
state, any further call results in errors.
2017-12-01 04:44:47 +01:00
Matthias Hoelzl
70190e7428 Make VisualScriptFunctionState instantiable 2017-11-30 23:11:32 +01:00
Andrea Catania
2336927043
Fixed bullet server null pointer check
Fixed bullet server null pointer check
2017-11-30 20:38:57 +01:00
Juan Linietsky
9678231b10 Changed the dynamic library open function to allow setting the path of the library to open extra libraries. 2017-11-30 10:00:55 -03:00
Rhody Lugo
a65c0939fd disable caching for targets using helper functions 2017-11-28 23:24:12 -04:00
Bastiaan Olij
f00b60860c Set real world position, not virtual world position! 2017-11-28 23:28:35 +11:00
Rhody Lugo
a4a222d62d use the same cache for all branches for appveyor 2017-11-28 03:23:33 -04:00
Marcin Zawiejski
57f34abea1 Fix constant node value edit 2017-11-25 22:28:59 +01:00
Emmanuel Leblond
6e3d78c94c
[GDNative] disable -fPIC flag with msvc compiler 2017-11-25 20:26:42 +01:00
Rémi Verschelde
aa5f7e0ff2 Fix mono build after bc2e8d99 2017-11-25 12:16:58 +01:00
Juan Linietsky
bc2e8d99e5 Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Rémi Verschelde
7dfba3cda9 doc: Fix enum tags thanks to 2bc6db6 2017-11-24 23:16:30 +01:00
Rémi Verschelde
92f07fefcd doc: Remove setters and getters now exposed via properties/members 2017-11-24 18:10:32 +01:00
Rémi Verschelde
bc75fae579 doc: Update header version for 3.0-beta 2017-11-24 09:16:52 +01:00
Rémi Verschelde
15ada56d73 doc: Sync classref with current source 2017-11-24 09:16:27 +01:00
AndreaCatania
0a0800ebec Removed shape margin 2017-11-23 14:42:28 +01:00
Rémi Verschelde
3fffe6ccb4
Merge pull request #13202 from AndreaCatania/master
Space override scratching when body is add to world
2017-11-23 09:30:27 +01:00
AndreaCatania
8de4df3fe2 Space override scratching when body is add to world
Fixes #13182
2017-11-23 01:26:49 +01:00
Rémi Verschelde
2ea5ac17e8
Merge pull request #13159 from AndreaCatania/ray
Removed type_mask and fixed some variable name
2017-11-22 16:40:20 +01:00
Rémi Verschelde
7f022a33a3
Merge pull request #13161 from Hinsbart/mono_case
Mono: Use PascalCase in core types.
2017-11-22 08:32:49 +01:00
Rémi Verschelde
bedcbdd420
Merge pull request #13130 from endragor/gdnative-android-export
Proper GDNative export on Android
2017-11-21 23:59:01 +01:00
Andreas Haas
e69dd3c712
Mono: Use PascalCase in core types. 2017-11-21 23:32:40 +01:00
AndreaCatania
d6e413bb9c Removed type_mask and fixed some variable name 2017-11-21 22:56:40 +01:00
Rémi Verschelde
613d374bc5
Merge pull request #12284 from bojidar-bg/allow-subproperty-set
Allow for getting/setting "dotted" properties of objects
2017-11-21 22:44:14 +01:00
Thomas Herzog
08e6590fd6
Merge pull request #13149 from touilleMan/gdnative-fix-scsub-generator
[GDNative] fix gdnative_api_struct.gen.h generation
2017-11-21 20:24:45 +01:00
Emmanuel Leblond
b075f13988
Fix&prettify gdnative_api_struct.gen.h GDNATIVE_API_INIT macro generation 2017-11-21 20:09:08 +01:00
Bojidar Marinov
0cf9597758
Allow for getting/setting indexed properties of objects using get/set_indexed
Performance is around the same as using pure set() through GDScript.
2017-11-21 20:58:21 +02:00
Rémi Verschelde
9ebc6ab45a
Merge pull request #13145 from AndreaCatania/grav
Set gravity on change body mode
2017-11-21 19:24:52 +01:00
AndreaCatania
967854f8e9 Set gravity on change body mode
Fixes #13140
2017-11-21 18:31:43 +01:00
Juan Linietsky
30dadb1228
Merge pull request #11933 from cxong/master
Use "Command" instead of "Meta" for macOS (#1619)
2017-11-21 14:25:09 -03:00
Ruslan Mustakov
ebf9b80a47 Proper GDNative export on Android 2017-11-21 20:40:31 +07:00
Rémi Verschelde
1c2782a7c7
Merge pull request #12590 from poke1024/bsearch
Add bsearch and bsearch_custom to Array
2017-11-21 13:14:08 +01:00
Rémi Verschelde
5a23136d1b
Merge pull request #12573 from poke1024/macostouchpad
Native pan and zoom for macOS + InputEventGesture
2017-11-21 13:03:32 +01:00
Bastiaan Olij
1955fecb2d Revert this change, we need to export symbols on the library side 2017-11-21 21:32:05 +11:00