diff --git a/.editorconfig b/.editorconfig index f28239b..b93c763 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,3 +2,22 @@ root = true [*] charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.gd] +indent_style = tab +indent_size = 4 +tab_width = 4 + +[*.{json,yaml,yml}] +indent_size = 2 + +[*.{bat,cmd}] +end_of_line = crlf + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes index d8cb126..29ac3bd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1,74 @@ -# Normalize EOL for all files that Git considers text files. +# Use deterministic line endings on every platform. * text=auto eol=lf + +# Godot source and serialized resources *.gd text eol=lf +*.gd.uid text eol=lf +*.gdextension text eol=lf +*.gdnlib text eol=lf *.tscn text eol=lf *.tres text eol=lf +*.godot text eol=lf +*.import text eol=lf *.shader text eol=lf *.gdshader text eol=lf +*.gdshaderinc text eol=lf + +# Common source, configuration, and documentation formats +*.cs text eol=lf +*.cfg text eol=lf +*.ini text eol=lf +*.json text eol=lf +*.md text eol=lf +*.toml text eol=lf +*.txt text eol=lf +*.xml text eol=lf +*.yaml text eol=lf +*.yml text eol=lf +*.sh text eol=lf +*.ps1 text eol=lf + +# Native Windows command scripts +*.bat text eol=crlf +*.cmd text eol=crlf + +# SVG is text; the remaining asset formats must never receive EOL conversion. +*.svg text eol=lf +*.bmp binary +*.dds binary +*.exr binary +*.gif binary +*.hdr binary +*.ico binary +*.jpeg binary +*.jpg binary +*.ktx binary +*.png binary +*.tga binary +*.webp binary +*.blend binary +*.fbx binary +*.glb binary +*.3ds binary +*.dae text eol=lf +*.gltf text eol=lf +*.mtl text eol=lf +*.obj text eol=lf +*.mp3 binary +*.ogg binary +*.wav binary +*.flac binary +*.mp4 binary +*.webm binary +*.avi binary +*.mov binary +*.otf binary +*.ttf binary +*.woff binary +*.woff2 binary +*.7z binary +*.gz binary +*.rar binary +*.tar binary +*.zip binary +*.pck binary diff --git a/.gitignore b/.gitignore index 060626c..f3891b5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,44 +1,78 @@ -# Godot import cache -.import/ - -# Godot editor generated files +# Godot 4 editor data and imported asset cache .godot/ -# Export templates and builds +# Godot 3 imported asset cache +.import/ + +# Local export output (keep export_presets.cfg tracked) /export/ /exports/ /build/ /builds/ +/dist/ -# Mono / C# +# Godot C# / Mono generated files .mono/ data_*/ mono_crash.* - -# Visual Studio / Rider -.vs/ -.idea/ *.csproj *.sln -*.user -*.DotSettings.user -# macOS -.DS_Store - -# Linux -.directory - -# Windows -Thumbs.db -desktop.ini - -# Logs +# Godot and application crash/log output +crash_handler* *.log -# Temporary files -*.tmp -*.bak +# Local environment and secrets +.env +.env.* +!.env.example -# Godot crash reports -crash_handler* +# Editors and IDEs +.idea/ +.fleet/ +.vs/ +.vscode/ +*.code-workspace +*.suo +*.user +*.userosscache +*.sln.docstates +*.DotSettings.user + +# Editor swap, backup, and temporary files +*.bak +*.orig +*.rej +*.swp +*.swo +*.temp +*.tmp +*~ +.#* +\#*\# + +# macOS metadata +.DS_Store +.AppleDouble +.LSOverride +Icon? +._* +.DocumentRevisions-V100/ +.Spotlight-V100/ +.TemporaryItems/ +.Trashes/ +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Windows metadata +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db +[Dd]esktop.ini +$RECYCLE.BIN/ +*.stackdump + +# Linux desktop and trash metadata +.directory +.Trash-* diff --git a/assets/foliage/tree-high.glb.import b/assets/foliage/tree-high.glb.import index fbb7887..0727fa4 100644 --- a/assets/foliage/tree-high.glb.import +++ b/assets/foliage/tree-high.glb.import @@ -16,6 +16,8 @@ dest_files=["res://.godot/imported/tree-high.glb-7b56684fc38d48b551f6a2589ecabd5 nodes/root_type="" nodes/root_name="" nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true nodes/apply_root_scale=true nodes/root_scale=1.0 nodes/import_as_skeleton_bones=false @@ -40,3 +42,4 @@ materials/extract_path="" _subresources={} gltf/naming_version=2 gltf/embedded_image_handling=1 +gltf/texture_map_mode=0 diff --git a/assets/foliage/tree.glb.import b/assets/foliage/tree.glb.import index a7df8f4..384b615 100644 --- a/assets/foliage/tree.glb.import +++ b/assets/foliage/tree.glb.import @@ -16,6 +16,8 @@ dest_files=["res://.godot/imported/tree.glb-5e87a640dbd9ffc2053ff1705fe52b99.scn nodes/root_type="" nodes/root_name="" nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true nodes/apply_root_scale=true nodes/root_scale=1.0 nodes/import_as_skeleton_bones=false @@ -40,3 +42,4 @@ materials/extract_path="" _subresources={} gltf/naming_version=2 gltf/embedded_image_handling=1 +gltf/texture_map_mode=0