Merge branch 'master' of https://github.com/godotengine/godot
This commit is contained in:
commit
3d1d190dcd
79 changed files with 1339 additions and 1545 deletions
|
|
@ -297,7 +297,7 @@ void GDScriptLanguage::get_public_functions(List<MethodInfo> *p_functions) const
|
|||
}
|
||||
{
|
||||
MethodInfo mi;
|
||||
mi.name="yield";
|
||||
mi.name="yield:GDFunctionState";
|
||||
mi.arguments.push_back(PropertyInfo(Variant::OBJECT,"object"));
|
||||
mi.arguments.push_back(PropertyInfo(Variant::STRING,"signal"));
|
||||
mi.default_arguments.push_back(Variant::NIL);
|
||||
|
|
|
|||
|
|
@ -304,7 +304,7 @@ void GDFunctions::call(Function p_func,const Variant **p_args,int p_arg_count,Va
|
|||
case MATH_DECIMALS: {
|
||||
VALIDATE_ARG_COUNT(1);
|
||||
VALIDATE_ARG_NUM(0);
|
||||
r_ret=Math::decimals(*p_args[0]);
|
||||
r_ret=Math::step_decimals(*p_args[0]);
|
||||
} break;
|
||||
case MATH_STEPIFY: {
|
||||
VALIDATE_ARG_COUNT(2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue