Reconstruct readable C++ and organize cohesive source subsystems

Administrative source import: native x86 compilation passed for 423 authored units. Source placement and submission states are migrated separately; this commit does not imply peer acceptance.

Previous head: 35d2a8cb36
Payload SHA256: 592f016d2730c5593bb653aa054c1e5f76a6df72c8f5a09e66f74876e2e33dee
This commit is contained in:
ragnarok-clanker 2026-10-25 07:42:41 +00:00
commit a47d20f8be
890 changed files with 11796 additions and 16664 deletions

View file

@ -1,45 +1,33 @@
BasedOnStyle: LLVM
IndentWidth: 2
NamespaceIndentation: All
FixNamespaceComments: false
TabWidth: 2
UseTab: Never
ColumnLimit: 120
AlignAfterOpenBracket: BlockIndent
ContinuationIndentWidth: 2
AlwaysBreakAfterReturnType: None
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: false
AllowShortIfStatementsOnASingleLine: Never
InsertBraces: true
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortBlocksOnASingleLine: Never
SpacesInParentheses: false
SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterFunctionDefinitionName: false
BinPackParameters: false
AllowAllParametersOfDeclarationOnNextLine: false
PenaltyBreakBeforeFirstCallParameter: 0
PointerAlignment: Left
# Include sorting:
# 1. pch (must stay first) 2. other WoW.exe project headers
# 3. generated gen/ headers 4. system <...> headers
# Each group is alphabetised; Regroup re-buckets across blank lines.
# IncludeIsMainRegex is set to never match so no header is auto-pinned above pch
# (clang-format otherwise forces the "main" header to the very top).
SortIncludes: CaseSensitive
IncludeBlocks: Regroup
IncludeIsMainRegex: "(WILL_NEVER_MATCH_zzz)$"
IncludeCategories:
- Regex: '^"pch(-impl)?\.h"'
Priority: 1
- Regex: '^"gen/'
Priority: 3
- Regex: '^<'
Priority: 4
- Regex: '^"'
Priority: 2
BasedOnStyle: LLVM
IndentWidth: 2
NamespaceIndentation: All
FixNamespaceComments: false
TabWidth: 2
UseTab: Never
ColumnLimit: 160
AlignAfterOpenBracket: BlockIndent
ContinuationIndentWidth: 2
AlwaysBreakAfterReturnType: None
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: false
AllowShortIfStatementsOnASingleLine: Never
InsertBraces: false
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortBlocksOnASingleLine: Never
SpacesInParentheses: false
SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterFunctionDefinitionName: false
BinPackArguments: true
BinPackParameters: BinPack
AllowAllParametersOfDeclarationOnNextLine: true
PenaltyBreakBeforeFirstCallParameter: 19
PointerAlignment: Left
BreakStringLiterals: false
ReflowComments: Never
MaxEmptyLinesToKeep: 1
SortIncludes: Never
IncludeBlocks: Preserve