From a3afec588ce4f5643dcbae6d0e1ab14b898f6263 Mon Sep 17 00:00:00 2001 From: mbalint12 Date: Sat, 15 Apr 2017 17:35:06 +0200 Subject: Added the ability to select files as base when creating scripts --- core/script_language.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/script_language.h b/core/script_language.h index 905ac4eeda..bf64578560 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -199,6 +199,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 *r_functions = NULL) const = 0; virtual Script *create_script() const = 0; virtual bool has_named_classes() 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; -- cgit v1.2.3