summaryrefslogtreecommitdiff
path: root/core/project_settings.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-21 14:43:51 +0100
committerGitHub <noreply@github.com>2018-12-21 14:43:51 +0100
commit762b9b6bdbec24b0fa0fffd34e6e0afff7cf01fd (patch)
treede78b058903a58d4ce8450ec24044c6225d0b107 /core/project_settings.h
parent7b1cbe9874bbefbe70e338fcded18cbf56cccc2b (diff)
parent616beb1041cc5850b882e7cab64a6e19d00aef42 (diff)
Merge pull request #24527 from akien-mga/pm-warn-config-version
ProjectManager: Warn when projects have different config_version
Diffstat (limited to 'core/project_settings.h')
-rw-r--r--core/project_settings.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/project_settings.h b/core/project_settings.h
index c790669048..2cb159e1c7 100644
--- a/core/project_settings.h
+++ b/core/project_settings.h
@@ -106,7 +106,7 @@ protected:
Error _save_custom_bnd(const String &p_file);
- void _convert_to_last_version();
+ void _convert_to_last_version(int p_from_version);
bool _load_resource_pack(const String &p_pack);
@@ -118,6 +118,8 @@ protected:
static void _bind_methods();
public:
+ static const int CONFIG_VERSION = 4;
+
void set_setting(const String &p_setting, const Variant &p_value);
Variant get_setting(const String &p_setting) const;