Rémi Verschelde
ee112f8ca8
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-03 11:41:35 +01:00
Chaosus
0b44c1f291
Fixes for parameter names of builtin functions in visual scripts/core
2018-01-16 19:49:45 +03:00
Rémi Verschelde
30788bc72e
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Rémi Verschelde
61831d2992
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
pablotato
5b8a95b1e8
Add cartesian to polar conversion functions
2017-11-20 23:34:40 +01:00
George Marques
04481a5269
Add print_error function, akin to print_line
2017-11-16 21:56:57 -02:00
Rémi Verschelde
1b0ef61c2a
Merge pull request #12035 from Chaosus/wrapfunc
...
Added new Wrap functions for numbers
2017-10-31 23:30:50 +01:00
Rémi Verschelde
6c4f87400a
Merge pull request #12097 from rcurtis/issue12065
...
Visualscript: Fixes untouched value is null instead of 0
2017-10-20 23:20:32 +02:00
RCurtis
472d422123
Fixed issue that improperly initialized visual node properties to Nil
2017-10-14 14:55:09 -04:00
Poommetee Ketson
8b4853593f
VisualScript: add inverse_lerp & range_lerp
2017-10-13 19:47:07 +07:00
Chaosus
33d2fb8277
Added new wrap functions
2017-10-13 11:10:45 +03:00
Maxim Sheronov
beac3e142d
Fix enums bindings
...
Add missed bindings for enums
Move some enums to class to have correct output of api.json
2017-09-13 20:57:07 +03:00
Rémi Verschelde
0df10e88da
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Marcelo Fernandez
2f8b2bfca6
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-17 19:51:13 -03:00
Rémi Verschelde
db85b6c88f
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
Rémi Verschelde
cf1590bb62
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
4ac67c3c30
Add a bunch of missing Godot headers in own files
2017-03-05 15:47:28 +01:00
Ferenc Arn
f6290a267e
Added missing FIXMEs in PR #7878
2017-03-02 16:13:01 -06:00
Thaer Razeq
3b0adcf2c5
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
Hein-Pieter van Braam
9484bdcc3d
Rename the _MD macro to D_METHOD
...
This new name also makes its purpose a little clearer
This is a step towards fixing #56
2017-02-13 12:50:02 +01:00
Hein-Pieter van Braam
e9a33b6182
Remove use of _SCS from ADD_METHOD
...
This saves typing and is a step towards fixing #56
2017-02-13 10:37:47 +01:00
Ferenc Arn
ace5720602
Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible.
...
Also inlined some more math functions.
2017-01-16 13:36:33 -06:00
Rémi Verschelde
0702a717b0
Merge pull request #7532 from tagcup/pcg_prng
...
Replace the existing PRNG (Xorshift31) with (minimal) PCG-32.
2017-01-16 20:06:54 +01:00
Rémi Verschelde
a9adedc183
Style: Cleanups, added headers, renamed files
...
Made sure files in core/ and tools/ have a proper Godot license header
when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h}
to rect3.{cpp,h} and class_db.{cpp,h} respectively.
Also added a proper header to core/io/base64.{c,h} after clarifying
the licensing with the original author (public domain).
2017-01-16 08:04:23 +01:00
Ferenc Arn
6054278b51
Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant with 32-bit output, 64-bit state).
...
PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed.
2017-01-15 19:15:16 -06:00
Rémi Verschelde
2e9ffbe71b
Merge pull request #7093 from bojidar-bg/named-colors
...
Add named colors to GDScript/Visual Script/core.
2017-01-11 10:36:15 +01:00
Juan Linietsky
2e1fb15519
Type renames:
...
Matrix32 -> Transform2D
Matrix3 -> Basis
AABB -> Rect3
RawArray -> PoolByteArray
IntArray -> PoolIntArray
FloatArray -> PoolFloatArray
Vector2Array -> PoolVector2Array
Vector3Array -> PoolVector3Array
ColorArray -> PoolColorArray
2017-01-11 00:52:51 -03:00
Juan Linietsky
19d42ccc73
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
...
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00
Bojidar Marinov
f048ae8fe3
Add named colors to GDScript/Visual Script/core.
...
Names and values taken from https://en.wikipedia.org/wiki/X11_color_names
2016-12-17 11:14:53 +02:00
Bojidar Marinov
d216165b9c
Add String char(int ascii) function to GDScript and Visual Script
...
Just hope it doesn't crashes with that much pointer math... 😄
2016-10-03 19:17:54 +03:00
Juan Linietsky
22f2894968
Changed Vector3.snap from fmod to stepify, which makes more sense, fixes #6399
2016-09-06 19:14:47 -03:00
Juan Linietsky
96448f39a4
More visual script improvements
...
-Added anti-aliasing on lines
-Improved draw performance enormously
-Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-30 23:46:41 -03:00
Juan Linietsky
be15588b0e
-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
bcb7ccf982
VisualScript can now execute visual scripts, but there is no debugger or profiler yet.
2016-08-05 22:48:00 -03:00
Juan Linietsky
dc2d063b02
More work on visual scripting..
2016-08-03 22:07:03 -03:00
Juan Linietsky
423e375c60
WIP visual scripting, not working yet but you can check out stuff
2016-08-02 19:11:05 -03:00