137f8a58a8
In an effort to make GDScript a little faster replace the double switch() with a computed goto on compilers that set __GNUC__. For compilers that don't support computed goto it will fall back to regular switch/case statements. In addition disable using boolean values in a mathematical context. Now boolean values can only be compared with other booleans. Booleans will also no longer be coerced to integers. This PR replaces #11308 and fixes #11291 |
||
---|---|---|
.. | ||
config.py | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
visual_script.cpp | ||
visual_script.h | ||
visual_script_builtin_funcs.cpp | ||
visual_script_builtin_funcs.h | ||
visual_script_editor.cpp | ||
visual_script_editor.h | ||
visual_script_expression.cpp | ||
visual_script_expression.h | ||
visual_script_flow_control.cpp | ||
visual_script_flow_control.h | ||
visual_script_func_nodes.cpp | ||
visual_script_func_nodes.h | ||
visual_script_nodes.cpp | ||
visual_script_nodes.h | ||
visual_script_yield_nodes.cpp | ||
visual_script_yield_nodes.h |