Skip to content

Commit 0e98ca9

Browse files
committed
Initial Draft, Successful Execution of Rank Algo
0 parents  commit 0e98ca9

32 files changed

+1181
-0
lines changed

.clang-format

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
# Commented out parameters are those with the same value as base LLVM style.
2+
# We can uncomment them if we want to change their value, or enforce the
3+
# chosen value in case the base style changes (last sync: Clang 14.0).
4+
---
5+
### General config, applies to all languages ###
6+
BasedOnStyle: LLVM
7+
AccessModifierOffset: -4
8+
AlignAfterOpenBracket: DontAlign
9+
# AlignArrayOfStructures: None
10+
# AlignConsecutiveMacros: None
11+
# AlignConsecutiveAssignments: None
12+
# AlignConsecutiveBitFields: None
13+
# AlignConsecutiveDeclarations: None
14+
# AlignEscapedNewlines: Right
15+
AlignOperands: DontAlign
16+
AlignTrailingComments: false
17+
# AllowAllArgumentsOnNextLine: true
18+
AllowAllParametersOfDeclarationOnNextLine: false
19+
# AllowShortEnumsOnASingleLine: true
20+
# AllowShortBlocksOnASingleLine: Never
21+
# AllowShortCaseLabelsOnASingleLine: false
22+
# AllowShortFunctionsOnASingleLine: All
23+
# AllowShortLambdasOnASingleLine: All
24+
# AllowShortIfStatementsOnASingleLine: Never
25+
# AllowShortLoopsOnASingleLine: false
26+
# AlwaysBreakAfterDefinitionReturnType: None
27+
# AlwaysBreakAfterReturnType: None
28+
# AlwaysBreakBeforeMultilineStrings: false
29+
# AlwaysBreakTemplateDeclarations: MultiLine
30+
# AttributeMacros:
31+
# - __capability
32+
# BinPackArguments: true
33+
# BinPackParameters: true
34+
# BraceWrapping:
35+
# AfterCaseLabel: false
36+
# AfterClass: false
37+
# AfterControlStatement: Never
38+
# AfterEnum: false
39+
# AfterFunction: false
40+
# AfterNamespace: false
41+
# AfterObjCDeclaration: false
42+
# AfterStruct: false
43+
# AfterUnion: false
44+
# AfterExternBlock: false
45+
# BeforeCatch: false
46+
# BeforeElse: false
47+
# BeforeLambdaBody: false
48+
# BeforeWhile: false
49+
# IndentBraces: false
50+
# SplitEmptyFunction: true
51+
# SplitEmptyRecord: true
52+
# SplitEmptyNamespace: true
53+
# BreakBeforeBinaryOperators: None
54+
# BreakBeforeConceptDeclarations: true
55+
# BreakBeforeBraces: Attach
56+
# BreakBeforeInheritanceComma: false
57+
# BreakInheritanceList: BeforeColon
58+
# BreakBeforeTernaryOperators: true
59+
# BreakConstructorInitializersBeforeComma: false
60+
BreakConstructorInitializers: AfterColon
61+
# BreakStringLiterals: true
62+
ColumnLimit: 0
63+
# CommentPragmas: '^ IWYU pragma:'
64+
# QualifierAlignment: Leave
65+
# CompactNamespaces: false
66+
ConstructorInitializerIndentWidth: 8
67+
ContinuationIndentWidth: 8
68+
Cpp11BracedListStyle: false
69+
# DeriveLineEnding: true
70+
# DerivePointerAlignment: false
71+
# DisableFormat: false
72+
# EmptyLineAfterAccessModifier: Never
73+
# EmptyLineBeforeAccessModifier: LogicalBlock
74+
# ExperimentalAutoDetectBinPacking: false
75+
# PackConstructorInitializers: BinPack
76+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
77+
# AllowAllConstructorInitializersOnNextLine: true
78+
# FixNamespaceComments: true
79+
# ForEachMacros:
80+
# - foreach
81+
# - Q_FOREACH
82+
# - BOOST_FOREACH
83+
# IfMacros:
84+
# - KJ_IF_MAYBE
85+
# IncludeBlocks: Preserve
86+
IncludeCategories:
87+
- Regex: '".*"'
88+
Priority: 1
89+
- Regex: '^<.*\.h>'
90+
Priority: 2
91+
- Regex: '^<.*'
92+
Priority: 3
93+
# IncludeIsMainRegex: '(Test)?$'
94+
# IncludeIsMainSourceRegex: ''
95+
# IndentAccessModifiers: false
96+
IndentCaseLabels: true
97+
# IndentCaseBlocks: false
98+
# IndentGotoLabels: true
99+
# IndentPPDirectives: None
100+
# IndentExternBlock: AfterExternBlock
101+
# IndentRequires: false
102+
IndentWidth: 4
103+
# IndentWrappedFunctionNames: false
104+
# InsertTrailingCommas: None
105+
# JavaScriptQuotes: Leave
106+
# JavaScriptWrapImports: true
107+
KeepEmptyLinesAtTheStartOfBlocks: false
108+
# LambdaBodyIndentation: Signature
109+
# MacroBlockBegin: ''
110+
# MacroBlockEnd: ''
111+
# MaxEmptyLinesToKeep: 1
112+
# NamespaceIndentation: None
113+
# PenaltyBreakAssignment: 2
114+
# PenaltyBreakBeforeFirstCallParameter: 19
115+
# PenaltyBreakComment: 300
116+
# PenaltyBreakFirstLessLess: 120
117+
# PenaltyBreakOpenParenthesis: 0
118+
# PenaltyBreakString: 1000
119+
# PenaltyBreakTemplateDeclaration: 10
120+
# PenaltyExcessCharacter: 1000000
121+
# PenaltyReturnTypeOnItsOwnLine: 60
122+
# PenaltyIndentedWhitespace: 0
123+
# PointerAlignment: Right
124+
# PPIndentWidth: -1
125+
# ReferenceAlignment: Pointer
126+
# ReflowComments: true
127+
# RemoveBracesLLVM: false
128+
# SeparateDefinitionBlocks: Leave
129+
# ShortNamespaceLines: 1
130+
# SortIncludes: CaseSensitive
131+
# SortJavaStaticImport: Before
132+
# SortUsingDeclarations: true
133+
# SpaceAfterCStyleCast: false
134+
# SpaceAfterLogicalNot: false
135+
# SpaceAfterTemplateKeyword: true
136+
# SpaceBeforeAssignmentOperators: true
137+
# SpaceBeforeCaseColon: false
138+
# SpaceBeforeCpp11BracedList: false
139+
# SpaceBeforeCtorInitializerColon: true
140+
# SpaceBeforeInheritanceColon: true
141+
# SpaceBeforeParens: ControlStatements
142+
# SpaceBeforeParensOptions:
143+
# AfterControlStatements: true
144+
# AfterForeachMacros: true
145+
# AfterFunctionDefinitionName: false
146+
# AfterFunctionDeclarationName: false
147+
# AfterIfMacros: true
148+
# AfterOverloadedOperator: false
149+
# BeforeNonEmptyParentheses: false
150+
# SpaceAroundPointerQualifiers: Default
151+
# SpaceBeforeRangeBasedForLoopColon: true
152+
# SpaceInEmptyBlock: false
153+
# SpaceInEmptyParentheses: false
154+
# SpacesBeforeTrailingComments: 1
155+
# SpacesInAngles: Never
156+
# SpacesInConditionalStatement: false
157+
# SpacesInContainerLiterals: true
158+
# SpacesInCStyleCastParentheses: false
159+
## Godot TODO: We'll want to use a min of 1, but we need to see how to fix
160+
## our comment capitalization at the same time.
161+
SpacesInLineCommentPrefix:
162+
Minimum: 0
163+
Maximum: -1
164+
# SpacesInParentheses: false
165+
# SpacesInSquareBrackets: false
166+
# SpaceBeforeSquareBrackets: false
167+
# BitFieldColonSpacing: Both
168+
# StatementAttributeLikeMacros:
169+
# - Q_EMIT
170+
# StatementMacros:
171+
# - Q_UNUSED
172+
# - QT_REQUIRE_VERSION
173+
TabWidth: 4
174+
# UseCRLF: false
175+
UseTab: Always
176+
# WhitespaceSensitiveMacros:
177+
# - STRINGIZE
178+
# - PP_STRINGIZE
179+
# - BOOST_PP_STRINGIZE
180+
# - NS_SWIFT_NAME
181+
# - CF_SWIFT_NAME
182+
---
183+
### C++ specific config ###
184+
Language: Cpp
185+
Standard: c++17
186+
---
187+
### ObjC specific config ###
188+
Language: ObjC
189+
# ObjCBinPackProtocolList: Auto
190+
ObjCBlockIndentWidth: 4
191+
# ObjCBreakBeforeNestedBlockParam: true
192+
# ObjCSpaceAfterProperty: false
193+
# ObjCSpaceBeforeProtocolList: true
194+
---
195+
### Java specific config ###
196+
Language: Java
197+
# BreakAfterJavaFieldAnnotations: false
198+
JavaImportGroups: ['org.godotengine', 'android', 'androidx', 'com.android', 'com.google', 'java', 'javax']
199+
...

.editorconfig

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_style = tab
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
10+
[{*.gradle,AndroidManifest.xml}]
11+
indent_style = space
12+
indent_size = 4
13+
14+
[{*.py,SConstruct,SCsub}]
15+
indent_style = space
16+
indent_size = 4
17+
18+
# YAML requires indentation with spaces instead of tabs.
19+
[*.{yml,yaml}]
20+
indent_style = space
21+
indent_size = 2
22+
23+
[{*.cmake,CMakeLists.txt}]
24+
indent_style = space
25+
ij_continuation_indent_size = 4
26+
ij_cmake_force_commands_case = 1
27+

.gdignore

Whitespace-only changes.

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Normalize EOL for all files that Git considers text files.
2+
* text=auto eol=lf
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: bug
6+
assignees: ""
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop Platform (please complete the following information):**
27+
28+
- OS: [e.g. iOS]
29+
- Version [e.g. 22]
30+
31+
**Godot Version (please complete the following information):**
32+
33+
- Version [e.g. 22]
34+
35+
**RankingsOrange Version (please complete the following information):**
36+
37+
- Version [e.g. 0.10.0]
38+
39+
**Additional context**
40+
Add any other context about the problem here.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Bug Report
2+
description: Report a bug with RankingsOrange
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
- Write a descriptive issue title above.
8+
- Search [open](https://github.com/kthecoder/RankingsOrange/issues) and [closed](https://github.com/kthecoder/RankingsOrange/issues?q=is%3Aissue%20state%3Aclosed) issues to ensure it has not already been reported.
9+
- type: Input
10+
attributes:
11+
label: RankingsOrange Version
12+
description: >
13+
Specify the Git commit hash of your RankingsOrange build.
14+
placeholder: Godot.v4.4.RankingsOrange [92bee43ad]
15+
validations:
16+
required: true
17+
18+
- type: input
19+
attributes:
20+
label: System Information
21+
description: |
22+
Specify the OS version.
23+
placeholder: Windows 11
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
attributes:
29+
label: Issue Description
30+
description: |
31+
Describe your issue briefly. What doesn't work, and how do you expect it to work instead?
32+
You can include images or videos with drag and drop, and format code blocks or logs with <code>```</code> tags.
33+
validations:
34+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
blank_issues_enabled: false
2+
3+
contact_links:
4+
- name: RankingsOrange Community Channels
5+
url: https://aveyrin.com/discord
6+
about: Please ask for technical support in , not here.

0 commit comments

Comments
 (0)