Skip to content

Commit

Permalink
Merge pull request #65 from alexiynew/dev
Browse files Browse the repository at this point in the history
Version 0.0.3 to master
  • Loading branch information
alexiynew authored Oct 28, 2022
2 parents 943619e + 0b2122d commit fc7137e
Show file tree
Hide file tree
Showing 1,003 changed files with 76,155 additions and 40,204 deletions.
81 changes: 0 additions & 81 deletions .appveyor.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .bettercodehub.yml

This file was deleted.

61 changes: 41 additions & 20 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,31 @@ AccessModifierOffset: '-4'
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: 'true'
AlignConsecutiveDeclarations: 'false'
AlignEscapedNewlinesLeft: 'Left'
AlignConsecutiveMacros: 'false'
AlignEscapedNewlines: 'Left'
AlignOperands: 'true'
AlignTrailingComments: 'true'

AllowAllArgumentsOnNextLine: 'false'
AllowAllConstructorInitializersOnNextLine: 'false'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: 'None'
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortIfStatementsOnASingleLine: 'Never'
AllowShortLambdasOnASingleLine: 'All'
AllowShortLoopsOnASingleLine: 'false'

AlwaysBreakAfterReturnType: 'None'
AlwaysBreakBeforeMultilineStrings: 'false'
AlwaysBreakTemplateDeclarations: 'true'
AlwaysBreakBeforeMultilineStrings: 'true'
AlwaysBreakTemplateDeclarations: 'Yes'

# check it
BinPackArguments: 'false'
BinPackParameters: 'false'

BreakBeforeBraces: 'Custom'
BraceWrapping:
AfterCaseLabel: 'false'
AfterClass: 'true'
AfterControlStatement: 'false'
AfterEnum: 'true'
Expand All @@ -43,19 +47,20 @@ BraceWrapping:
SplitEmptyNamespace: 'false'

BreakBeforeBinaryOperators: 'None'
BreakBeforeInheritanceComma: 'true'
BreakBeforeTernaryOperators: 'true'
BreakConstructorInitializers: 'BeforeColon'
BreakStringLiterals: 'false'
BreakBeforeTernaryOperators: 'false'
BreakConstructorInitializers: 'BeforeComma'
BreakInheritanceList: 'BeforeComma'
BreakStringLiterals: 'true'

ColumnLimit: '120'
CompactNamespaces: 'false'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
ConstructorInitializerIndentWidth: '4'
ContinuationIndentWidth: '0'

Cpp11BracedListStyle: 'true'

DeriveLineEnding: 'false'
DerivePointerAlignment: 'false'

DisableFormat: 'false'
Expand All @@ -64,34 +69,41 @@ FixNamespaceComments: 'true'

IncludeBlocks: 'Regroup'
IncludeCategories:
- Regex: '^<(cstdlib|csignal|csetjmp|cstdarg|typeinfo|typeindex|type_traits|bitset|functional|utility|ctime|chrono|cstddef|initializer_list|tuple|any|optional|variant|compare|new|memory|scoped_allocator|memory_resource|climits|cfloat|cstdint|cinttypes|limits|exception|stdexcept|cassert|system_error|cerrno|cctype|cwctype|cstring|cwchar|cuchar|string|string_view|charconv|array|vector|deque|list|forward_list|set|map|unordered_set|unordered_map|stack|queue|algorithm|execution|iterator|cmath|complex|valarray|rиom|numeric|ratio|cfenv|iosfwd|ios|istream|ostream|iostream|fstream|sstream|syncstream|strstream|iomanip|streambuf|cstdio|locale|clocale|codecvt|regex|atomic|thread|mutex|shared_mutex|future|condition_variable|filesystem)/'
Priority: 10
- Regex: '^<(log|math|unit_test|window|opengl|common)/'
Priority: 5
- Regex: '^<(dependencies)/'
- Regex: '^<(cstdlib|csignal|csetjmp|cstdarg|typeinfo|typeindex|type_traits|bitset|functional|utility|ctime|chrono|cstddef|initializer_list|tuple|any|optional|variant|compare|new|memory|scoped_allocator|memory_resource|climits|cfloat|cstdint|cinttypes|limits|exception|stdexcept|cassert|system_error|cerrno|cctype|cwctype|cstring|cwchar|cuchar|string|string_view|charconv|array|vector|deque|list|forward_list|set|map|unordered_set|unordered_map|stack|queue|algorithm|execution|iterator|cmath|complex|valarray|rиom|numeric|ratio|cfenv|iosfwd|ios|istream|ostream|iostream|fstream|sstream|syncstream|strstream|iomanip|streambuf|cstdio|locale|clocale|codecvt|regex|atomic|thread|mutex|shared_mutex|future|condition_variable|filesystem)>'
Priority: 1
- Regex: '^<(common|graphics|log|math|system|unit_test|game_core)\/[a-z0-9_]+\.hpp>'
Priority: 2
- Regex: '^<.*\/(inc|src)\/.*\.hpp>'
Priority: 3
- Regex: '^<(dependencies)\/'
Priority: 4
- Regex: '.*'
Priority: 1
Priority: 10

IncludeIsMainRegex: '$'
IncludeIsMainSourceRegex: ''

IndentCaseBlocks: 'false'
IndentCaseLabels: 'true'
IndentPPDirectives: 'None'
IndentPPDirectives: 'BeforeHash'
IndentWidth: '4'
IndentWrappedFunctionNames: 'true'

KeepEmptyLinesAtTheStartOfBlocks: 'false'
KeepEmptyLinesAtTheStartOfBlocks: 'true'

MaxEmptyLinesToKeep: '1'

NamespaceIndentation: 'None'

ObjCBlockIndentWidth: '0'
ObjCBreakBeforeNestedBlockParam: 'false'
ObjCSpaceAfterProperty: 'false'
ObjCSpaceBeforeProtocolList: 'false'

PenaltyBreakAssignment: '999'
PenaltyBreakBeforeFirstCallParameter: '9999'
PenaltyBreakComment: '999'
PenaltyBreakFirstLessLess: '0'
PenaltyBreakFirstLessLess: '999'
PenaltyBreakString: '0'
PenaltyExcessCharacter: '100'
PenaltyReturnTypeOnItsOwnLine: '9999'
Expand All @@ -100,20 +112,29 @@ PointerAlignment: Left

ReflowComments: 'true'
SortIncludes: 'true'
SortUsingDeclarations: 'true'

SpaceAfterCStyleCast: 'false'
SpaceAfterLogicalNot: 'false'
SpaceAfterTemplateKeyword: 'true'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeCpp11BracedList: 'false'
SpaceBeforeCtorInitializerColon: 'true'
SpaceBeforeInheritanceColon: 'true'
SpaceBeforeParens: 'ControlStatements'
SpaceBeforeRangeBasedForLoopColon: 'true'
SpaceBeforeSquareBrackets: 'false'
SpaceInEmptyBlock: 'false'
SpaceInEmptyParentheses: 'false'
SpacesBeforeTrailingComments: '1'
SpacesInAngles: 'false'
SpacesInCStyleCastParentheses: 'false'
SpacesInConditionalStatement: 'false'
SpacesInContainerLiterals: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'

Standard: Cpp11
Standard: 'c++17'
TabWidth: '4'
UseTab: Never

Expand Down
Loading

0 comments on commit fc7137e

Please sign in to comment.