diff options
| author | Juan Linietsky | 2016-06-13 10:58:32 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-06-13 10:58:32 -0300 |
| commit | 45443a165147859f83df37223572cdd40df476b4 (patch) | |
| tree | e933745cff680030cc5e963651cd64440250475d /core/script_language.h | |
| parent | 910151a36153d954acaff9c95ef09ec6540179fa (diff) | |
| download | godot-45443a165147859f83df37223572cdd40df476b4.tar.gz godot-45443a165147859f83df37223572cdd40df476b4.tar.zst godot-45443a165147859f83df37223572cdd40df476b4.zip | |
Diffstat (limited to 'core/script_language.h')
| -rw-r--r-- | core/script_language.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h index cbf6d8e11..478ebd88e 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -47,6 +47,7 @@ class ScriptServer { static ScriptLanguage *_languages[MAX_LANGUAGES]; static int _language_count; static bool scripting_enabled; + static bool reload_scripts_on_save; public: static void set_scripting_enabled(bool p_enabled); @@ -55,6 +56,9 @@ public: static ScriptLanguage *get_language(int p_idx); static void register_language(ScriptLanguage *p_language); + static void set_reload_scripts_on_save(bool p_enable); + static bool is_reload_scripts_on_save_enabled(); + static void init_languages(); }; |
