diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2757aa5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# List text files in case git doesn't characterize correctly +*.c text +*.h text +*.s text +*.in text +*.js text +*.md text +*.py text +*.sh text +*.ld text +*.inc text +*.txt text +*.json text +*.yaml text + +# Same for binary +*.bin binary +*.m64 binary +*.png binary +*.aiff binary \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b111cc --- /dev/null +++ b/.gitignore @@ -0,0 +1,72 @@ +# Object files +*.o +*.obj +*.elf + +# Linker output +*.ilk +*.exp + +# Precompiled Headers +*.gch +*.pch + +# Libraries +*.lib +*.a +*.la +*.lo + +# Shared objects (inc. Windows DLLs) +*.dll +*.so +*.so.* +*.dylib + +# Executables +*.exe +*.out +*.app +*.hex + +# Debug files +*.dSYM/ +*.su +*.idb +*.pdb + +# datadump +/tools/ddump/* + +# Text editor remnants +*.swp +.vscode/* + +# General project-specific ignores +doxygen/doxygen/* +build/* +*.dump +*.mio0 +*.z64 +*.map +.assets-local.txt + +# Assets. Generally ignored, but ones with "custom" in the name are fine. +/levels/**/*.png +/actors/**/*.png +/textures/**/*.png +/assets/**/*.bin +/sound/**/*.m64 +/sound/**/*.aiff +!/levels/**/*custom*.png +!/levels/**/*custom*/**/*.png +!/actors/**/*custom*.png +!/actors/**/*custom*/**/*.png +!/textures/**/*custom*.png +!/textures/**/*custom*/**/*.png +!/sound/**/*custom*.m64 +!/sound/**/*custom*/**/*.m64 +!/sound/**/*custom*.aiff +!/sound/**/*custom*/**/*.aiff +!/assets/**/*custom*.bin +!/assets/**/*custom*/**/*.bin