mirror of
https://github.com/godotengine/godot
synced 2024-11-02 08:18:44 +00:00
833c3917b2
We now allow booleanization of all types. This means that empty versions of all types now evaluate to false. So a Vector2(0,0), Dictionary(), etc. This allows you to write GDScript like: if not Dictionary(): print("Empty dict") Booleanization can now also no longer fail. There is no more valid flag, this changes Variant and GDNative API. |
||
---|---|---|
.. | ||
config.py | ||
gd_compiler.cpp | ||
gd_compiler.h | ||
gd_editor.cpp | ||
gd_function.cpp | ||
gd_function.h | ||
gd_functions.cpp | ||
gd_functions.h | ||
gd_parser.cpp | ||
gd_parser.h | ||
gd_script.cpp | ||
gd_script.h | ||
gd_tokenizer.cpp | ||
gd_tokenizer.h | ||
register_types.cpp | ||
register_types.h | ||
SCsub |