You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Refactor builtin functions
They are now called "utility functions" to avoid confusion with methods of builtin types, and be consistent with the naming in Variant. Core utility functions are now available in GDScript. The ones missing in core are added specifically to GDScript as helpers for convenience. Some functions were remove when there are better ways to do, reducing redundancy and cleaning up the global scope.
This commit is contained in:
@@ -43,7 +43,6 @@
|
||||
#include "core/templates/vector.h"
|
||||
#include "core/variant/variant.h"
|
||||
#include "gdscript_cache.h"
|
||||
#include "gdscript_functions.h"
|
||||
#include "gdscript_tokenizer.h"
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
@@ -1276,7 +1275,6 @@ public:
|
||||
ClassNode *get_tree() const { return head; }
|
||||
bool is_tool() const { return _is_tool; }
|
||||
static Variant::Type get_builtin_type(const StringName &p_type);
|
||||
static GDScriptFunctions::Function get_builtin_function(const StringName &p_name);
|
||||
|
||||
CompletionContext get_completion_context() const { return completion_context; }
|
||||
CompletionCall get_completion_call() const { return completion_call; }
|
||||
|
||||
Reference in New Issue
Block a user