diff options
author | kobewi <kobewi4e@gmail.com> | 2024-05-14 16:34:59 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-05-14 18:18:29 +0200 |
commit | 59f05ed31a2e7f0e8d683efd01a71b3981145e19 (patch) | |
tree | 64d1ffd3cef00659f62de4a4d6d6c2a4f0168386 /core | |
parent | 4971b71899ada7b65496ac71c591414b303ae437 (diff) | |
download | redot-engine-59f05ed31a2e7f0e8d683efd01a71b3981145e19.tar.gz |
Cleanup unused/underused singleton StringNames
Diffstat (limited to 'core')
-rw-r--r-- | core/core_string_names.cpp | 7 | ||||
-rw-r--r-- | core/core_string_names.h | 5 |
2 files changed, 2 insertions, 10 deletions
diff --git a/core/core_string_names.cpp b/core/core_string_names.cpp index 1ffe76495d..9bf625cc15 100644 --- a/core/core_string_names.cpp +++ b/core/core_string_names.cpp @@ -42,10 +42,8 @@ CoreStringNames::CoreStringNames() : _iter_get(StaticCString::create("_iter_get")), get_rid(StaticCString::create("get_rid")), _to_string(StaticCString::create("_to_string")), -#ifdef TOOLS_ENABLED - _sections_unfolded(StaticCString::create("_sections_unfolded")), -#endif _custom_features(StaticCString::create("_custom_features")), + x(StaticCString::create("x")), y(StaticCString::create("y")), z(StaticCString::create("z")), @@ -68,11 +66,10 @@ CoreStringNames::CoreStringNames() : g8(StaticCString::create("g8")), b8(StaticCString::create("b8")), a8(StaticCString::create("a8")), + call(StaticCString::create("call")), call_deferred(StaticCString::create("call_deferred")), bind(StaticCString::create("bind")), - unbind(StaticCString::create("unbind")), - emit(StaticCString::create("emit")), notification(StaticCString::create("notification")), property_list_changed(StaticCString::create("property_list_changed")) { } diff --git a/core/core_string_names.h b/core/core_string_names.h index d7ddc39f5e..d4ba9110c3 100644 --- a/core/core_string_names.h +++ b/core/core_string_names.h @@ -59,9 +59,6 @@ public: StringName _iter_get; StringName get_rid; StringName _to_string; -#ifdef TOOLS_ENABLED - StringName _sections_unfolded; -#endif StringName _custom_features; StringName x; @@ -90,8 +87,6 @@ public: StringName call; StringName call_deferred; StringName bind; - StringName unbind; - StringName emit; StringName notification; StringName property_list_changed; }; |