summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r--modules/gdscript/gdscript.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h
index 781e284bfc..728459de44 100644
--- a/modules/gdscript/gdscript.h
+++ b/modules/gdscript/gdscript.h
@@ -169,6 +169,9 @@ private:
GDScriptFunction *static_initializer = nullptr;
Error _static_init();
+#ifdef TOOLS_ENABLED
+ void _static_default_init(); // Initialize static variables with default values based on their types.
+#endif
int subclass_count = 0;
RBSet<Object *> instances;
@@ -365,6 +368,8 @@ class GDScriptInstance : public ScriptInstance {
SelfList<GDScriptFunctionState>::List pending_func_states;
+ void _call_implicit_ready_recursively(GDScript *p_script);
+
public:
virtual Object *get_owner() { return owner; }