2018-05-05 08:46:36 -04:00
|
|
|
---
|
|
|
|
# BasedOnStyle: WebKit
|
|
|
|
AccessModifierOffset: -4
|
Break overlong function declarations
Before:
```diff
-static void large_scenery_paint_supports(paint_session * session, uint8 direction, uint16 height, rct_tile_element *tileElement, uint32 dword_F4387C, rct_large_scenery_tile *tile)
+static void large_scenery_paint_supports(paint_session * session, uint8 direction, uint16 height,
+ rct_tile_element * tileElement, uint32 dword_F4387C, rct_large_scenery_tile * tile)
-static rct_large_scenery_text_glyph *large_scenery_sign_get_glyph(rct_large_scenery_text *text, uint32 codepoint)
+static rct_large_scenery_text_glyph * large_scenery_sign_get_glyph(rct_large_scenery_text * text, uint32 codepoint)
```
After:
```diff
-static void large_scenery_paint_supports(paint_session * session, uint8 direction, uint16 height, rct_tile_element *tileElement, uint32 dword_F4387C, rct_large_scenery_tile *tile)
+static void large_scenery_paint_supports(
+ paint_session * session,
+ uint8 direction,
+ uint16 height,
+ rct_tile_element * tileElement,
+ uint32 dword_F4387C,
+ rct_large_scenery_tile * tile)
-static rct_large_scenery_text_glyph *large_scenery_sign_get_glyph(rct_large_scenery_text *text, uint32 codepoint)
+static rct_large_scenery_text_glyph * large_scenery_sign_get_glyph(rct_large_scenery_text * text, uint32 codepoint)
```
[ci skip]
2018-01-17 04:08:29 -05:00
|
|
|
AlignAfterOpenBracket: AlwaysBreak
|
2018-05-05 08:46:36 -04:00
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
AlignConsecutiveDeclarations: false
|
|
|
|
AlignEscapedNewlines: Right
|
|
|
|
AlignOperands: false
|
|
|
|
AlignTrailingComments: true
|
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
|
|
AllowShortBlocksOnASingleLine: false
|
2018-06-20 18:55:03 -04:00
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
2018-05-05 08:46:36 -04:00
|
|
|
AllowShortFunctionsOnASingleLine: None
|
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
|
AlwaysBreakTemplateDeclarations: false
|
2018-07-21 07:51:54 -04:00
|
|
|
BinPackArguments: true
|
|
|
|
BinPackParameters: true
|
2018-05-05 08:46:36 -04:00
|
|
|
BraceWrapping:
|
2020-01-24 06:46:12 -05:00
|
|
|
AfterCaseLabel: true
|
2018-05-05 08:46:36 -04:00
|
|
|
AfterClass: true
|
|
|
|
AfterControlStatement: true
|
|
|
|
AfterEnum: true
|
|
|
|
AfterFunction: true
|
|
|
|
AfterNamespace: true
|
|
|
|
AfterStruct: true
|
|
|
|
AfterUnion: true
|
|
|
|
BeforeCatch: true
|
|
|
|
BeforeElse: true
|
|
|
|
IndentBraces: false
|
|
|
|
SplitEmptyFunction: true
|
|
|
|
SplitEmptyRecord: true
|
|
|
|
SplitEmptyNamespace: true
|
|
|
|
BreakBeforeBinaryOperators: All
|
|
|
|
BreakBeforeBraces: Custom
|
|
|
|
BreakBeforeInheritanceComma: false
|
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
|
BreakConstructorInitializersBeforeComma: false
|
|
|
|
BreakConstructorInitializers: BeforeComma
|
|
|
|
BreakStringLiterals: true
|
|
|
|
ColumnLimit: 128
|
|
|
|
CompactNamespaces: false
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
|
|
ConstructorInitializerIndentWidth: 4
|
|
|
|
ContinuationIndentWidth: 4
|
|
|
|
Cpp11BracedListStyle: false
|
|
|
|
DerivePointerAlignment: false
|
|
|
|
DisableFormat: false
|
|
|
|
ExperimentalAutoDetectBinPacking: false
|
|
|
|
FixNamespaceComments: true
|
|
|
|
ForEachMacros:
|
|
|
|
- FOR_ALL_PEEPS
|
|
|
|
- FOR_ALL_GUESTS
|
|
|
|
- FOR_ALL_STAFF
|
|
|
|
IncludeBlocks: 'Regroup'
|
2017-01-14 13:30:48 -05:00
|
|
|
IncludeCategories:
|
2018-05-05 08:46:36 -04:00
|
|
|
- Regex: '^"'
|
2017-01-14 13:30:48 -05:00
|
|
|
Priority: 1
|
2018-05-05 08:46:36 -04:00
|
|
|
- Regex: '^<'
|
2017-01-14 13:30:48 -05:00
|
|
|
Priority: 2
|
2018-05-05 08:46:36 -04:00
|
|
|
IndentCaseLabels: true
|
2018-07-21 10:17:06 -04:00
|
|
|
IndentPPDirectives: AfterHash
|
2018-05-05 08:46:36 -04:00
|
|
|
IndentWidth: 4
|
|
|
|
IndentWrappedFunctionNames: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
MacroBlockBegin: ''
|
|
|
|
MacroBlockEnd: ''
|
|
|
|
MaxEmptyLinesToKeep: 1
|
2018-06-20 18:55:03 -04:00
|
|
|
NamespaceIndentation: All
|
2018-07-21 05:50:45 -04:00
|
|
|
PenaltyBreakAssignment: 1000
|
2018-05-05 08:46:36 -04:00
|
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
|
|
PenaltyBreakComment: 300
|
|
|
|
PenaltyBreakFirstLessLess: 120
|
|
|
|
PenaltyBreakString: 1000
|
|
|
|
PenaltyExcessCharacter: 1000000
|
2018-07-21 05:50:45 -04:00
|
|
|
PenaltyReturnTypeOnItsOwnLine: 1000
|
2018-05-05 08:46:36 -04:00
|
|
|
PointerAlignment: Left
|
|
|
|
ReflowComments: true
|
|
|
|
SortIncludes: true
|
|
|
|
SortUsingDeclarations: true
|
|
|
|
SpaceAfterCStyleCast: false
|
|
|
|
SpaceAfterTemplateKeyword: false
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
|
SpaceBeforeParens: ControlStatements
|
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesBeforeTrailingComments: 1
|
|
|
|
SpacesInAngles: false
|
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
SpacesInParentheses: false
|
|
|
|
SpacesInSquareBrackets: false
|
|
|
|
Standard: Cpp11
|
|
|
|
UseTab: Never
|
2016-11-30 13:01:02 -05:00
|
|
|
...
|