diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..0857e09 --- /dev/null +++ b/.clang-format @@ -0,0 +1,51 @@ +--- +Language: Cpp +BasedOnStyle: Microsoft +AccessModifierOffset: -4 +AlignConsecutiveAssignments: false +AlignConsecutiveDeclarations: false +AlignOperands: false +AlignTrailingComments: false +AlwaysBreakTemplateDeclarations: Yes +BraceWrapping: + AfterCaseLabel: true + AfterClass: true + AfterControlStatement: true + AfterEnum: true + AfterFunction: true + AfterNamespace: true + AfterStruct: true + AfterUnion: true + AfterExternBlock: false + BeforeCatch: true + BeforeElse: true + BeforeLambdaBody: true + BeforeWhile: true + SplitEmptyFunction: true + SplitEmptyRecord: true + SplitEmptyNamespace: true +BreakConstructorInitializers: AfterColon +BreakConstructorInitializersBeforeComma: false +ConstructorInitializerAllOnOneLineOrOnePerLine: false +IncludeCategories: + - Regex: '^<.*' + Priority: 1 + - Regex: '^".*' + Priority: 2 + - Regex: '.*' + Priority: 3 +IncludeIsMainRegex: '([-_](test|unittest))?$' +IndentCaseBlocks: true +IndentPPDirectives: BeforeHash +InsertNewlineAtEOF: true +MacroBlockBegin: '' +MacroBlockEnd: '' +MaxEmptyLinesToKeep: 2 +NamespaceIndentation: All +PointerAlignment: Left +SpaceInEmptyParentheses: false +SpacesInAngles: false +SpacesInConditionalStatement: false +SpacesInCStyleCastParentheses: false +SpacesInParentheses: false +... diff --git a/.gitmodules b/.gitmodules index 3e4be6c..b8d7467 100644 --- a/.gitmodules +++ b/.gitmodules @@ -19,6 +19,6 @@ [submodule "Coplt.Graphics.Native/D3d12/ThirdParty/DirectX-Headers"] path = Coplt.Graphics.Native/D3d12/ThirdParty/DirectX-Headers url = https://github.com/Microsoft/DirectX-Headers -[submodule "ThirdParty/emhash"] - path = ThirdParty/emhash - url = https://github.com/ktprime/emhash +[submodule "ThirdParty/concurrentqueue"] + path = ThirdParty/concurrentqueue + url = https://github.com/cameron314/concurrentqueue \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 49f96f4..87250ae 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -1,5 +1,10 @@ + + diff --git a/.idea/editor.xml b/.idea/editor.xml index b0d69ef..9e1bfff 100644 --- a/.idea/editor.xml +++ b/.idea/editor.xml @@ -1,6 +1,7 @@ +