diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-10-24 18:59:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 18:59:26 +0200 |
commit | 847c55bcb11337bd2d386347b299863f82a1be02 (patch) | |
tree | a3fd3327204845f108886419f6e28f6b5bc60b60 /core | |
parent | b44fb58c90e4c0f55da7b3b3292a7891d053e339 (diff) | |
parent | e218a13a64d417505ba8ca0abb79dddfb943f2c7 (diff) |
Merge pull request #12365 from neikeq/p
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
Diffstat (limited to 'core')
-rw-r--r-- | core/script_language.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h index 25767a2f7a..c243ef781b 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -202,6 +202,7 @@ public: virtual bool validate(const String &p_script, int &r_line_error, int &r_col_error, String &r_test_error, const String &p_path = "", List<String> *r_functions = NULL) const = 0; virtual Script *create_script() const = 0; virtual bool has_named_classes() const = 0; + virtual bool supports_builtin_mode() const = 0; virtual bool can_inherit_from_file() { return false; } virtual int find_function(const String &p_function, const String &p_code) const = 0; virtual String make_function(const String &p_class, const String &p_name, const PoolStringArray &p_args) const = 0; |