From 97f34a1dd6b472318df80d801f80f8d5eecd9e99 Mon Sep 17 00:00:00 2001 From: sanikoyes Date: Wed, 25 Mar 2015 11:01:12 +0800 Subject: Add seed/get_inst function for GDScript seed -> Math::seed get_inst -> ObjectDB::get_instance --- modules/gdscript/gd_functions.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/gdscript/gd_functions.h') diff --git a/modules/gdscript/gd_functions.h b/modules/gdscript/gd_functions.h index 05ff6a2e73..4fbfe99228 100644 --- a/modules/gdscript/gd_functions.h +++ b/modules/gdscript/gd_functions.h @@ -67,6 +67,7 @@ public: MATH_RAND, MATH_RANDF, MATH_RANDOM, + MATH_SEED, MATH_RANDSEED, MATH_DEG2RAD, MATH_RAD2DEG, @@ -93,6 +94,7 @@ public: DICT2INST, HASH, PRINT_STACK, + GET_INST, FUNC_MAX }; -- cgit v1.2.3