Skip to content

Commit 8061666

Browse files
committedSep 8, 2020
init
1 parent a55e420 commit 8061666

File tree

148 files changed

+149990
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+149990
-1
lines changed
 

‎.clang-format

+115
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
---
2+
Language: Cpp
3+
# BasedOnStyle: Google
4+
AccessModifierOffset: -1
5+
AlignAfterOpenBracket: Align
6+
AlignConsecutiveAssignments: false
7+
AlignConsecutiveDeclarations: false
8+
AlignEscapedNewlines: Left
9+
AlignOperands: true
10+
AlignTrailingComments: true
11+
AllowAllParametersOfDeclarationOnNextLine: true
12+
AllowShortBlocksOnASingleLine: false
13+
AllowShortCaseLabelsOnASingleLine: false
14+
AllowShortFunctionsOnASingleLine: false
15+
AllowShortIfStatementsOnASingleLine: true
16+
AllowShortLoopsOnASingleLine: true
17+
AlwaysBreakAfterDefinitionReturnType: None
18+
AlwaysBreakAfterReturnType: None
19+
AlwaysBreakBeforeMultilineStrings: true
20+
AlwaysBreakTemplateDeclarations: true
21+
BinPackArguments: true
22+
BinPackParameters: true
23+
BraceWrapping:
24+
AfterClass: false
25+
AfterControlStatement: false
26+
AfterEnum: false
27+
AfterFunction: false
28+
AfterNamespace: false
29+
AfterObjCDeclaration: false
30+
AfterStruct: false
31+
AfterUnion: false
32+
AfterExternBlock: false
33+
BeforeCatch: false
34+
BeforeElse: false
35+
IndentBraces: false
36+
SplitEmptyFunction: true
37+
SplitEmptyRecord: true
38+
SplitEmptyNamespace: true
39+
BreakBeforeBinaryOperators: None
40+
BreakBeforeBraces: Attach
41+
BreakBeforeInheritanceComma: false
42+
BreakBeforeTernaryOperators: true
43+
BreakConstructorInitializersBeforeComma: false
44+
BreakConstructorInitializers: BeforeColon
45+
BreakAfterJavaFieldAnnotations: false
46+
BreakStringLiterals: true
47+
ColumnLimit: 100
48+
CommentPragmas: '^ IWYU pragma:'
49+
CompactNamespaces: false
50+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
51+
ConstructorInitializerIndentWidth: 4
52+
ContinuationIndentWidth: 4
53+
Cpp11BracedListStyle: true
54+
DerivePointerAlignment: false
55+
DisableFormat: false
56+
ExperimentalAutoDetectBinPacking: false
57+
FixNamespaceComments: true
58+
ForEachMacros:
59+
- foreach
60+
- Q_FOREACH
61+
- BOOST_FOREACH
62+
IncludeCategories:
63+
- Regex: '^<ext/.*\.h>'
64+
Priority: 2
65+
- Regex: '^<.*\.h>'
66+
Priority: 1
67+
- Regex: '^<.*'
68+
Priority: 2
69+
- Regex: '.*'
70+
Priority: 3
71+
IncludeIsMainRegex: '([-_](test|unittest))?$'
72+
IndentCaseLabels: true
73+
IndentPPDirectives: None
74+
IndentWidth: 2
75+
IndentWrappedFunctionNames: false
76+
JavaScriptQuotes: Leave
77+
JavaScriptWrapImports: true
78+
KeepEmptyLinesAtTheStartOfBlocks: false
79+
MacroBlockBegin: ''
80+
MacroBlockEnd: ''
81+
MaxEmptyLinesToKeep: 1
82+
NamespaceIndentation: None
83+
ObjCBlockIndentWidth: 2
84+
ObjCSpaceAfterProperty: false
85+
ObjCSpaceBeforeProtocolList: false
86+
PenaltyBreakAssignment: 2
87+
PenaltyBreakBeforeFirstCallParameter: 1
88+
PenaltyBreakComment: 600
89+
PenaltyBreakFirstLessLess: 100
90+
PenaltyBreakString: 1000
91+
PenaltyExcessCharacter: 1000000
92+
PenaltyReturnTypeOnItsOwnLine: 200
93+
PointerAlignment: Left
94+
RawStringFormats:
95+
- Language: TextProto
96+
BasedOnStyle: google
97+
ReflowComments: false
98+
SortIncludes: false
99+
SortUsingDeclarations: true
100+
SpaceAfterCStyleCast: false
101+
SpaceAfterTemplateKeyword: true
102+
SpaceBeforeAssignmentOperators: true
103+
SpaceBeforeParens: ControlStatements
104+
SpaceInEmptyParentheses: false
105+
SpacesBeforeTrailingComments: 2
106+
SpacesInAngles: false
107+
SpacesInContainerLiterals: true
108+
SpacesInCStyleCastParentheses: false
109+
SpacesInParentheses: false
110+
SpacesInSquareBrackets: false
111+
Standard: Auto
112+
TabWidth: 2
113+
UseTab: Never
114+
...
115+

‎.gitignore

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
*.o
2+
*.a
3+
*.so
4+
*.swp
5+
*.pdb
6+
*.ilk
7+
*.idb
8+
*.obj
9+
*.exe
10+
*.pyc
11+
res
12+
/bin
13+
/lib
14+
.sconsign.dblite
15+
lua/demo1
16+
lua/lftk_run
17+
tags
18+
bin/demo1*
19+
bin/demo_animator*
20+
bin/demo_thread*
21+
bin/demotr*
22+
bin/demovg*
23+
bin/fontgen*
24+
bin/preview_ui*
25+
bin/resgen*
26+
bin/runLua*
27+
bin/runTest*
28+
bin/strgen*
29+
bin/image*
30+
bin/hello*
31+
.vscode
32+
.vs

0 commit comments

Comments
 (0)