summaryrefslogtreecommitdiffstats
path: root/core/math/expression.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Expression: Fix parsing integers as 32-bitRémi Verschelde2020-02-251-1/+1
|/
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-27/+27
| | | | objects and made them default.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-9/+9
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Remove more deprecated methods and codeRémi Verschelde2020-02-131-8/+2
|
* Remove deprecated decimals builtinRémi Verschelde2020-02-121-7/+0
| | | | Replaced by 'step_decimals' in 3.2 via #21425.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Add ord() function to Expression classDanil Alexeev2019-12-291-0/+28
| | | | | The ord() function was recently added in GDScript and VisualScript, but was missed in the Expression class.
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily2019-08-171-8/+3
| | | | | | | | | Condensed some if and ERR statements. Added dots to end of error messages Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?), core/os/memory.cpp, drivers/png/png_driver_common.cpp, drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
* Merge pull request #30693 from Chaosus/lerp_angleRémi Verschelde2019-07-201-0/+9
|\ | | | | Added lerp_angle built-in function
| * Added lerp_angles built-in functionChaosus2019-07-201-0/+9
| | | | | | | | | | Co-authored-by: Xrayez <https://github.com/Xrayez> Co-authored-by: DleanJeans <https://github.com/DleanJeans>
* | Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde2019-07-201-5/+1
|\ \ | |/ |/| Changed some code reported by LGTM and Coverity
| * Changed some code showed in LGTM and Coverageqarmin2019-07-201-5/+1
| |
* | Add integer posmod and rename default arg namesAaron Franke2019-07-181-0/+8
|/ | | | | "posmod" is the integer version of "fposmod". We do not need a "mod" because of the % operator. I changed the default arg names from "x" and "y" to "a" and "b" because they are not coordinates. I also changed pow's arg names to "base" and "exp". Also, I reorganized the code in the VS built-in funcs switch statement.
* Some code changed with Clang-Tidyqarmin2019-06-261-1/+1
|
* Added move_toward functions for float, Vector2 and Vector3Giacom2019-05-281-0/+9
|
* Make "decimal" functions more consistentAaron Franke2019-04-301-0/+7
| | | | In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".
* Style: Apply new changes from clang-format 8.0Rémi Verschelde2019-04-091-2/+4
| | | | | | It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
* Merge pull request #27231 from Chaosus/smoothstepRémi Verschelde2019-04-081-0/+8
|\ | | | | Added smoothstep built-in function
| * Added smoothstep built-in functionChaosus2019-04-071-0/+8
| |
* | Add object encoding param to serialization methodsFabio Alessandrelli2019-04-011-5/+7
|/ | | | | | | | | Network peers get_var/put_var File get_var/store_var GDScript/Mono/VisualScript bytes2var/var2bytes Add MultiplayerAPI.allow_object_decoding member which deprecates PacketPeer.allow_object_decoding. Break ABI compatibaility (API compatibility for GDNative).
* Add -Wshadow=local to warnings and fix reported issues.marxin2019-02-201-31/+31
| | | | Fixes #25316.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Moved member variables to initializer listWilson E. Alvarez2018-12-111-7/+7
|
* Error running Expression.execute after parse errorsantouits2018-10-281-0/+4
| | | | There happens a segmentation fault when you use Expression.parse() and you don't check for errors and then run Expression.execute(). So we check if there was a parse error in the execute method now.
* Add support for '.[0-9]' numbers in ExpressionRémi Verschelde2018-10-011-14/+21
| | | | Fixes #21874, supersedes #22065.
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-7/+7
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Add missing copyright headersRémi Verschelde2018-08-291-0/+30
|
* Make some debug prints verbose-only, remove othersRémi Verschelde2018-08-241-4/+1
|
* Fixed bugs in expression classDaniel Eliasinski2018-08-231-2/+2
|
* Fix clang compile errorMarcelo Fernandez2018-08-091-1/+1
|
* Ability to pass custom variables to expression.Juan Linietsky2018-08-081-7/+23
|
* -Add Expression class, used to evaluate expressionsJuan Linietsky2018-08-081-0/+2120
-Added expression evaluation to EditorSpinSlider, fixes #20813, fixes #18932