summaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_functions.cpp
AgeCommit message (Collapse)Author
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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-01-16Overloaded basic math funcs (double and float variants). Use real_t rather ↵Ferenc Arn
than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions.
2017-01-16Merge pull request #7532 from tagcup/pcg_prngRémi Verschelde
Replace the existing PRNG (Xorshift31) with (minimal) PCG-32.
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-16Style: Cleanups, added headers, renamed filesRémi Verschelde
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-15Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant ↵Ferenc Arn
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-11Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky
2017-01-11Merge pull request #7093 from bojidar-bg/named-colorsRémi Verschelde
Add named colors to GDScript/Visual Script/core.
2017-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-08Moved JSON functions to built-in to_json, parse_json, validate_jsonJuan Linietsky
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
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-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-12-17Add named colors to GDScript/Visual Script/core.Bojidar Marinov
Names and values taken from https://en.wikipedia.org/wiki/X11_color_names
2016-10-17Merge pull request #6692 from bojidar-bg/add-char-to-gd-vs-scriptRémi Verschelde
Add `String char(int ascii)` function to GDScript and Visual Script
2016-10-13Revert "Add warning when (pre)loading paths with leading / (#4280 - #3106)"Fabio Alessandrelli
Also closes: #6801 This reverts commit e59820ac94b7c9706298d5559608937dfca332e5.
2016-10-09i18n: Fix string that broke msgmergeRémi Verschelde
2016-10-04Add warning when (pre)loading paths with leading / (#4280 - #3106)Fabio Alessandrelli
2016-10-03Add `String char(int ascii)` function to GDScript and Visual ScriptBojidar Marinov
Just hope it doesn't crashes with that much pointer math... :smile:
2016-07-26Changed the way the step decimals are computed to a safer way, fixes many ↵Juan Linietsky
issues.
2016-07-07Removed unused variables (first pass)Rémi Verschelde
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-06-18Add @GDScript.type_existsGeequlim
2016-06-18Fix type hint for the seed argumentRémi Verschelde
Closes #5260.
2016-06-11Made many built-in gdscript functions return more descriptive errors, closes ↵Juan Linietsky
#5150
2016-06-03Fix Color8 constructor using wrong value rangeGeorge Marques
Fix #5015
2016-05-17GDScript: Fix method info for is_nan and is_infRémi Verschelde
As reported on https://godotengine.org/qa/4114/why-isnan-and-isinf-arent-implemented
2016-05-11ability to drag scenes from filesystem to tree for instancingJuan Linietsky
2016-03-01Revert "Merge pull request #3814 from est31/iterators_for_for"Rémi Verschelde
This reverts commit adf50568890cefb5fc354dbc1b21c4140bb410f9, reversing changes made to ee2bc87c0ef3cc1a432655ff935e60f32977904d.
2016-02-28Add xrange builtin functionest31
Also update classes.xml in order to document xrange
2016-01-26Merge pull request #3445 from akien-mga/masterRémi Verschelde
Add missing return for typeof() MethodInfo
2016-01-25Add missing return for typeof() MethodInfoRémi Verschelde
2016-01-02Added var2bytes and bytes2var to convet any variable to bytes and back. ↵Juan Linietsky
Closes #2075
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-31small fixes to color8Juan Linietsky
2015-12-31-Added Color8(r8,g8,b8,a8) function as well as .r8,.g8,.b8,.a8 members to ↵Juan Linietsky
Color, to deal with colors in the 0-255 range. Closes #2345
2015-12-31force thread model to single-safe when running editor, fixes #2387Juan Linietsky
2015-12-31-Changed var2str and str2var in GDScript to use VariantWriter and VariantParserJuan Linietsky
-It is now finally possible to parse back a variant from text!
2015-12-14replaced :var by :Variant in documentation, fixes #2897Juan Linietsky
2015-09-20Make dict2inst set internal members of instanceGeorge Marques
Fix #2490
2015-05-09-Added prints() function, fixes #1132, #1859Juan Linietsky
-Tabs work inside built-in log window, fixes #1867
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-04-18-renamed function to get object from instance idJuan Linietsky
-added function to get list of tiles used
2015-04-07Merge pull request #1567 from sanikoyes/Pr-GDScript-seed-get-instJuan Linietsky
Pr-GDScript-seed-get-inst
2015-04-06fix printraw to make it actually print rawyg2f
2015-03-25Add seed/get_inst function for GDScriptsanikoyes
seed -> Math::seed get_inst -> ObjectDB::get_instance
2015-02-20Updated the variable in the lerp function to be weight instead of percent.Nathan Warden
2015-02-15begin new serialization frameworkJuan Linietsky
also got rid of STL dependency on triangulator
2015-01-03-Work in progress visual shader editor *DOES NOT WORK YET*Juan Linietsky
2014-06-16More 3D WorkJuan Linietsky
-=-=-=-=-=- -ESM Shadow Mapping for softer and less glitchy shadows -HDR Pipeline (convert to Linear on texture import, convert to SRGB at the end) -Fix to xml parse bug
2014-04-05-Support for changing fontsJuan Linietsky
-Detect when free() might crash the project and throw error -fixed 2D Bounce in physics (3d still broken) -renamed “on_top” property to “behind_parent”, which makes more sense, old on_top remains there for compatibility but is invisible. -large amount of fixes