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 /modules/gdscript/gd_script.h | |
parent | 5d47e42eb69fcc0d1f502f9b5e72e064cb22d34e (diff) |
Ability to set autoloads as singleton global variables
Diffstat (limited to 'modules/gdscript/gd_script.h')
-rw-r--r-- | modules/gdscript/gd_script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gd_script.h b/modules/gdscript/gd_script.h index 3d16b59065..952a28bdb5 100644 --- a/modules/gdscript/gd_script.h +++ b/modules/gdscript/gd_script.h @@ -529,6 +529,7 @@ public: virtual String make_function(const String& p_class,const String& p_name,const StringArray& p_args) const; virtual Error complete_code(const String& p_code, const String& p_base_path, Object*p_owner,List<String>* r_options,String& r_call_hint); virtual void auto_indent_code(String& p_code,int p_from_line,int p_to_line) const; + virtual void add_global_constant(const StringName& p_variable,const Variant& p_value); /* DEBUGGER FUNCTIONS */ |