From bfcf61c51b8ea8e2659c109bacdd06e2f3e2a1a4 Mon Sep 17 00:00:00 2001 From: Luna Brovchuk Date: Sat, 30 Sep 2023 18:02:17 +0200 Subject: [PATCH] Add project.godot To .gitignore --- .gitignore | 1 + project.godot | 16 +++++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 4e11a9a..4a0ca7f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ addons/ export.cfg export_presets.cfg +project.godot # Imported translations (automatically generated from CSV files) *.translation diff --git a/project.godot b/project.godot index 306ed25..f8a7d71 100644 --- a/project.godot +++ b/project.godot @@ -8,6 +8,16 @@ config_version=4 +_global_script_classes=[ { +"base": "EditorVCSInterface", +"class": "GitAPI", +"language": "NativeScript", +"path": "res://addons/godot-git-plugin/git_api.gdns" +} ] +_global_script_class_icons={ +"GitAPI": "" +} + [application] config/name="LD54" @@ -19,15 +29,11 @@ config/icon="res://icon.png" [autoload] Global="*res://src/global.gd" -Window="*res://src/window.gd" [display] window/size/width=320 window/size/height=180 -window/size/test_width=1280 -window/size/test_height=720 -window/handheld/orientation="sensor_landscape" window/stretch/mode="viewport" window/stretch/aspect="keep" @@ -38,7 +44,7 @@ version_control_plugin_name="GitAPI" [gdnative] -singletons=[ ] +singletons=[ "res://addons/godot-git-plugin/git_api.gdnlib" ] [global]