diff options
author | reduz <reduzio@gmail.com> | 2015-12-28 15:59:20 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2015-12-28 15:59:20 -0300 |
commit | e0d21d2158e8d03ee3139392284915c19ee4619b (patch) | |
tree | ca2614960a86a2c2626365f8afec6ad1291aea95 /core | |
parent | 5d47e42eb69fcc0d1f502f9b5e72e064cb22d34e (diff) |
Ability to set autoloads as singleton global variables
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 9660f141c7..52ae4e488f 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -165,6 +165,7 @@ public: virtual String make_function(const String& p_class,const String& p_name,const StringArray& p_args) const=0; virtual Error complete_code(const String& p_code, const String& p_base_path, Object*p_owner,List<String>* r_options,String& r_call_hint) { return ERR_UNAVAILABLE; } virtual void auto_indent_code(String& p_code,int p_from_line,int p_to_line) const=0; + virtual void add_global_constant(const StringName& p_variable,const Variant& p_value)=0; /* DEBUGGER FUNCTIONS */ |