Skip to content

Commit

Permalink
Merge pull request #170 from SMGCommunity/dtk
Browse files Browse the repository at this point in the history
Dtk
  • Loading branch information
shibbo authored Oct 26, 2024
2 parents 2724526 + e5c4b17 commit 9c66548
Show file tree
Hide file tree
Showing 3,368 changed files with 96,511 additions and 375,645 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
71 changes: 0 additions & 71 deletions .clang-format

This file was deleted.

4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
# E203: whitespace before ':'
# E501: line too long
extend-ignore = E203,E501
20 changes: 11 additions & 9 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
*.c text
*.cpp text
*.h text
*.hpp text
*.csv text
*.json text
*.md text
# Auto detect text files and perform LF normalization
* text=auto

archive/* binary
*.png binary
# Explicitly declare text files
*.py text

# Enforce platform-specific encodings
*.bat text eol=crlf
*.sh text eol=lf
*.sha1 text eol=lf

# decomp-toolkit writes files with LF
config/**/*.txt text eol=lf
67 changes: 32 additions & 35 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,35 @@
.vs
.vscode
.editorconfig
*.dat
tools/*.exe
tools/*.dll
deps
*.idb
*.id0
*.id1
*.id2
*.nam
*.til
*.map
# IDE folders
.idea/
.vs/

# Caches
__pycache__
.mypy_cache
.cache/

# Original files
orig/*/*
!orig/*/.gitkeep
*.dol
*.rel
*.elf
*.o
*.out
*.elf
*.dol
*.a
*.d
*.txt
build/**
compiler
__pycache__
genCsv.py
checkObject.py
sanity_check.py
.ninja_log
.ninja_deps
*.map
*.MAP

# Build files
build/
.ninja_*
build.ninja
deps.zip
Compilers.zip
Compilers/*
*.ninja
*.ninja_log
doxygen/*
scripts/*

# decompctx output
ctx.*
*.ctx

# Generated configs
objdiff.json
compile_commands.json

# Miscellaneous
/*.txt
*.exe
25 changes: 25 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/include/**",
"${workspaceFolder}/libs/**/",
"${workspaceFolder}/build/**/include"
],
"cStandard": "c99",
"cppStandard": "c++98",
"intelliSenseMode": "linux-clang-x86",
"compilerPath": "",
"configurationProvider": "ms-vscode.makefile-tools",
"browse": {
"path": [
"${workspaceFolder}/include",
"${workspaceFolder}/*/"
],
"limitSymbolsToIncludedHeaders": true
}
}
],
"version": 4
}
12 changes: 12 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"recommendations": [
"llvm-vs-code-extensions.vscode-clangd",
"ms-python.black-formatter",
"ms-python.flake8",
],
"unwantedRecommendations": [
"ms-vscode.cmake-tools",
"ms-vscode.cpptools-extension-pack",
"ms-vscode.cpptools",
]
}
23 changes: 23 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"[c]": {
"files.encoding": "utf8",
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
},
"[cpp]": {
"files.encoding": "utf8",
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
},
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"editor.tabSize": 4,
"files.autoSave": "onFocusChange",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.associations": {
"*.inc": "c",
".clangd": "yaml"
},
// Disable C/C++ IntelliSense, use clangd instead
"C_Cpp.intelliSenseEngine": "disabled",
}
16 changes: 16 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
// Use Ctrl+Shift+B to run build tasks.
// Or "Run Build Task" in the Command Palette.
"version": "2.0.0",
"tasks": [
{
"label": "ninja",
"type": "shell",
"command": "ninja",
"group": {
"kind": "build",
"isDefault": true
}
},
]
}
34 changes: 0 additions & 34 deletions Doxyfile

This file was deleted.

Loading

0 comments on commit 9c66548

Please sign in to comment.