private void AddBuiltin(string var_name, float value) { var __value = new GMValue { ValType = GMValue.GMValueType.Real, Number = value, Name = var_name }; BuiltinVariables.Add(__value); }
private void AddBuiltin(string var_name, bool value) { var __value = new GMValue { ValType = GMValue.GMValueType.Bool, Number = value ? 1 : 0, Name = var_name }; BuiltinVariables.Add(__value); }