Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 13cecc1

Browse filesBrowse files
committed
submodule update; removed unused references; added editorconfig
1 parent 1f25751 commit 13cecc1
Copy full SHA for 13cecc1

File tree

Expand file treeCollapse file tree

12 files changed

+220
-57
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

12 files changed

+220
-57
lines changed
Open diff view settings
Collapse file

‎src/.editorconfig‎

Copy file name to clipboard
+142Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
[*.{cs,vb}]
2+
#### Naming styles ####
3+
4+
# fields
5+
6+
dotnet_naming_rule.private_members_with_underscore.symbols = private_fields
7+
dotnet_naming_rule.private_members_with_underscore.style = prefix_underscore
8+
dotnet_naming_rule.private_members_with_underscore.severity = suggestion
9+
10+
dotnet_naming_symbols.private_fields.applicable_kinds = field
11+
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
12+
13+
dotnet_naming_style.prefix_underscore.capitalization = camel_case
14+
dotnet_naming_style.prefix_underscore.required_prefix = _
15+
16+
17+
# Naming rules
18+
19+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
20+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
21+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
22+
23+
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
24+
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
25+
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
26+
27+
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
28+
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
29+
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
30+
31+
# Symbol specifications
32+
33+
dotnet_naming_symbols.interface.applicable_kinds = interface
34+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
35+
dotnet_naming_symbols.interface.required_modifiers =
36+
37+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
38+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
39+
dotnet_naming_symbols.types.required_modifiers =
40+
41+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
42+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
43+
dotnet_naming_symbols.non_field_members.required_modifiers =
44+
45+
# Naming styles
46+
47+
dotnet_naming_style.begins_with_i.required_prefix = I
48+
dotnet_naming_style.begins_with_i.required_suffix =
49+
dotnet_naming_style.begins_with_i.word_separator =
50+
dotnet_naming_style.begins_with_i.capitalization = pascal_case
51+
52+
dotnet_naming_style.pascal_case.required_prefix =
53+
dotnet_naming_style.pascal_case.required_suffix =
54+
dotnet_naming_style.pascal_case.word_separator =
55+
dotnet_naming_style.pascal_case.capitalization = pascal_case
56+
57+
dotnet_naming_style.pascal_case.required_prefix =
58+
dotnet_naming_style.pascal_case.required_suffix =
59+
dotnet_naming_style.pascal_case.word_separator =
60+
dotnet_naming_style.pascal_case.capitalization = pascal_case
61+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
62+
tab_width = 4
63+
indent_size = 4
64+
end_of_line = crlf
65+
dotnet_style_coalesce_expression = true:suggestion
66+
dotnet_style_null_propagation = true:suggestion
67+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
68+
dotnet_style_prefer_auto_properties = true:silent
69+
dotnet_style_object_initializer = true:suggestion
70+
dotnet_style_collection_initializer = true:suggestion
71+
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
72+
dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion
73+
dotnet_style_prefer_conditional_expression_over_return = true:suggestion
74+
dotnet_style_explicit_tuple_names = true:suggestion
75+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
76+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
77+
dotnet_style_prefer_compound_assignment = true:suggestion
78+
dotnet_style_prefer_simplified_interpolation = true:suggestion
79+
dotnet_style_namespace_match_folder = true:suggestion
80+
dotnet_style_readonly_field = true:suggestion
81+
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
82+
dotnet_style_predefined_type_for_member_access = true:silent
83+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
84+
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
85+
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
86+
dotnet_code_quality_unused_parameters = all:suggestion
87+
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
88+
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
89+
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
90+
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
91+
dotnet_style_qualification_for_field = false:suggestion
92+
dotnet_style_qualification_for_property = false:suggestion
93+
dotnet_style_qualification_for_method = false:suggestion
94+
dotnet_style_qualification_for_event = false:suggestion
95+
96+
[*.cs]
97+
csharp_indent_labels = no_change
98+
csharp_using_directive_placement = outside_namespace:silent
99+
csharp_prefer_simple_using_statement = true:suggestion
100+
csharp_prefer_braces = true:suggestion
101+
csharp_style_namespace_declarations = block_scoped:silent
102+
csharp_style_prefer_method_group_conversion = true:silent
103+
csharp_style_prefer_top_level_statements = true:suggestion
104+
csharp_style_expression_bodied_methods = false:silent
105+
csharp_style_expression_bodied_constructors = false:silent
106+
csharp_style_expression_bodied_operators = false:silent
107+
csharp_style_expression_bodied_properties = true:silent
108+
csharp_style_expression_bodied_indexers = true:silent
109+
csharp_style_expression_bodied_accessors = true:silent
110+
csharp_style_expression_bodied_lambdas = true:silent
111+
csharp_style_expression_bodied_local_functions = false:silent
112+
csharp_style_throw_expression = true:suggestion
113+
csharp_style_prefer_null_check_over_type_check = true:suggestion
114+
csharp_prefer_simple_default_expression = true:suggestion
115+
csharp_style_prefer_local_over_anonymous_function = true:suggestion
116+
csharp_style_prefer_index_operator = true:suggestion
117+
csharp_style_prefer_range_operator = true:suggestion
118+
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
119+
csharp_style_prefer_tuple_swap = true:suggestion
120+
csharp_style_prefer_utf8_string_literals = true:suggestion
121+
csharp_style_inlined_variable_declaration = true:suggestion
122+
csharp_style_deconstructed_variable_declaration = true:suggestion
123+
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
124+
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
125+
csharp_prefer_static_local_function = true:suggestion
126+
csharp_style_prefer_readonly_struct = true:suggestion
127+
csharp_style_prefer_readonly_struct_member = true:suggestion
128+
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
129+
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
130+
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
131+
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true:silent
132+
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true:silent
133+
csharp_style_conditional_delegate_call = true:suggestion
134+
csharp_style_prefer_switch_expression = true:suggestion
135+
csharp_style_prefer_pattern_matching = true:suggestion
136+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
137+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
138+
csharp_style_prefer_not_pattern = true:suggestion
139+
csharp_style_prefer_extended_property_pattern = true:suggestion
140+
csharp_style_var_for_built_in_types = true:suggestion
141+
csharp_style_var_when_type_is_apparent = true:suggestion
142+
csharp_style_var_elsewhere = true:suggestion
Collapse file

‎src/Dependencies/Neoforce‎

Copy file name to clipboard
Collapse file

‎src/Dependencies/STACK.Spine.Integration/STACK.Spine.Integration.csproj‎

Copy file name to clipboardExpand all lines: src/Dependencies/STACK.Spine.Integration/STACK.Spine.Integration.csproj
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,7 @@
3333
</PropertyGroup>
3434
<ItemGroup>
3535
<Reference Include="System" />
36-
<Reference Include="System.Core" />
37-
<Reference Include="System.Xml.Linq" />
38-
<Reference Include="System.Data.DataSetExtensions" />
3936
<Reference Include="Microsoft.CSharp" />
40-
<Reference Include="System.Data" />
41-
<Reference Include="System.Net.Http" />
4237
<Reference Include="System.Xml" />
4338
</ItemGroup>
4439
<ItemGroup>
Collapse file

‎src/Dependencies/Spine/spine-xna/spine-xna.csproj‎

Copy file name to clipboardExpand all lines: src/Dependencies/Spine/spine-xna/spine-xna.csproj
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,6 @@
7373
<RequiredTargetFramework>4.0</RequiredTargetFramework>
7474
<Private>False</Private>
7575
</Reference>
76-
<Reference Include="System.Xml.Linq">
77-
<RequiredTargetFramework>4.0</RequiredTargetFramework>
78-
<Private>False</Private>
79-
</Reference>
80-
<Reference Include="System.Net">
81-
<Private>False</Private>
82-
</Reference>
8376
</ItemGroup>
8477
<ItemGroup>
8578
<Compile Include="Properties\AssemblyInfo.cs" />
Collapse file

‎src/Dependencies/StarFinder/StarFinder.csproj‎

Copy file name to clipboardExpand all lines: src/Dependencies/StarFinder/StarFinder.csproj
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,7 @@
3434
</PropertyGroup>
3535
<ItemGroup>
3636
<Reference Include="System" />
37-
<Reference Include="System.Core" />
38-
<Reference Include="System.Xml.Linq" />
39-
<Reference Include="System.Data.DataSetExtensions" />
4037
<Reference Include="Microsoft.CSharp" />
41-
<Reference Include="System.Data" />
42-
<Reference Include="System.Net.Http" />
43-
<Reference Include="System.Xml" />
4438
</ItemGroup>
4539
<ItemGroup>
4640
<Compile Include="AStar.cs" />
Collapse file

‎src/Playground/Actor/Actor.csproj‎

Copy file name to clipboardExpand all lines: src/Playground/Actor/Actor.csproj
+41-8Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,33 @@
4040
</PropertyGroup>
4141
<ItemGroup>
4242
<None Include="App.config" />
43+
<None Include="content\characters\ego\ego.atlas">
44+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
45+
</None>
46+
<None Include="content\characters\ego\ego.json">
47+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
48+
</None>
49+
<None Include="content\fonts\fps.xnb">
50+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
51+
</None>
52+
<None Include="content\fonts\stack.xnb">
53+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
54+
</None>
55+
<None Include="content\shaders\BloomCombine.fxb">
56+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
57+
</None>
58+
<None Include="content\shaders\BloomExtract.fxb">
59+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
60+
</None>
61+
<None Include="content\shaders\GaussianBlur.fxb">
62+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
63+
</None>
64+
<None Include="content\shaders\Normalmap.fxb">
65+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
66+
</None>
67+
<None Include="content\Skins\Default.skin">
68+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
69+
</None>
4370
<None Include="readme.md" />
4471
</ItemGroup>
4572
<ItemGroup>
@@ -69,8 +96,19 @@
6996
<Link>SDL2_image.dll</Link>
7097
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
7198
</Content>
72-
<Content Include="content\**\*.*">
73-
<Link>Content\%(RecursiveDir)%(FileName)%(Extension)</Link>
99+
<Content Include="content\characters\ego\ego.png">
100+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
101+
</Content>
102+
<Content Include="content\characters\ego\ego_normals.png">
103+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
104+
</Content>
105+
<Content Include="content\characters\ego\sprite.png">
106+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
107+
</Content>
108+
<Content Include="content\characters\ego\sprite_NORMALS.png">
109+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
110+
</Content>
111+
<Content Include="content\rufzeichen.png">
74112
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
75113
</Content>
76114
<Content Include="settings.xml">
@@ -100,11 +138,6 @@
100138
<Name>STACK</Name>
101139
</ProjectReference>
102140
</ItemGroup>
103-
<ItemGroup>
104-
<Folder Include="Content\characters\ego\" />
105-
<Folder Include="Content\fonts\" />
106-
<Folder Include="Content\shaders\" />
107-
<Folder Include="Content\Skins\" />
108-
</ItemGroup>
141+
<ItemGroup />
109142
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
110143
</Project>
Collapse file

‎src/Playground/PathFinding/PathFinding.csproj‎

Copy file name to clipboardExpand all lines: src/Playground/PathFinding/PathFinding.csproj
+23-7Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,27 @@
4040
</PropertyGroup>
4141
<ItemGroup>
4242
<None Include="App.config" />
43+
<None Include="content\fonts\fps.xnb">
44+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
45+
</None>
46+
<None Include="content\fonts\stack.xnb">
47+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
48+
</None>
49+
<None Include="content\shaders\BloomCombine.fxb">
50+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
51+
</None>
52+
<None Include="content\shaders\BloomExtract.fxb">
53+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
54+
</None>
55+
<None Include="content\shaders\GaussianBlur.fxb">
56+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
57+
</None>
58+
<None Include="content\shaders\Normalmap.fxb">
59+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
60+
</None>
61+
<None Include="content\Skins\Default.skin">
62+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
63+
</None>
4364
</ItemGroup>
4465
<ItemGroup>
4566
<Compile Include="pathfinding\Mouse.cs" />
@@ -66,8 +87,7 @@
6687
<Link>SDL2_image.dll</Link>
6788
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6889
</Content>
69-
<Content Include="content\**\*.*">
70-
<Link>Content\%(RecursiveDir)%(FileName)%(Extension)</Link>
90+
<Content Include="content\rufzeichen.png">
7191
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
7292
</Content>
7393
<Content Include="settings.xml">
@@ -96,10 +116,6 @@
96116
<Name>STACK</Name>
97117
</ProjectReference>
98118
</ItemGroup>
99-
<ItemGroup>
100-
<Folder Include="Content\fonts\" />
101-
<Folder Include="Content\shaders\" />
102-
<Folder Include="Content\Skins\" />
103-
</ItemGroup>
119+
<ItemGroup />
104120
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
105121
</Project>
Collapse file

‎src/STACK.sln‎

Copy file name to clipboardExpand all lines: src/STACK.sln
+10-2Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.25420.1
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.34301.259
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StarFinder", "Dependencies\StarFinder\StarFinder.csproj", "{3785DF4D-65EF-40E4-9177-2A8B396AFB0C}"
77
EndProject
@@ -41,6 +41,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TomShane.Neoforce.Controls"
4141
EndProject
4242
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "STACK.TestBase", "Tests\STACK.TestBase\STACK.TestBase.csproj", "{A0CCDFD1-14C8-4B91-80CE-209C2EA6C4F7}"
4343
EndProject
44+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C9839192-007D-48CB-979C-C465980C1AD5}"
45+
ProjectSection(SolutionItems) = preProject
46+
.editorconfig = .editorconfig
47+
EndProjectSection
48+
EndProject
4449
Global
4550
GlobalSection(SolutionConfigurationPlatforms) = preSolution
4651
Debug|x86 = Debug|x86
@@ -127,4 +132,7 @@ Global
127132
{AC5F1CD8-AA8E-4DB5-814F-86C214175841} = {592CAE4F-81B6-4CAD-88EF-0BEDC14BA608}
128133
{A0CCDFD1-14C8-4B91-80CE-209C2EA6C4F7} = {4B3B21EA-0DD4-4207-AD01-C39116AB7E9F}
129134
EndGlobalSection
135+
GlobalSection(ExtensibilityGlobals) = postSolution
136+
SolutionGuid = {D7E2DB0A-1399-4D24-BB28-CADDF2C1EE44}
137+
EndGlobalSection
130138
EndGlobal
Collapse file

‎src/STACK/STACK.csproj‎

Copy file name to clipboardExpand all lines: src/STACK/STACK.csproj
-9Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@
3838
</PropertyGroup>
3939
<ItemGroup>
4040
<Reference Include="System" />
41-
<Reference Include="System.Core" />
42-
<Reference Include="System.Windows.Forms" />
43-
<Reference Include="System.Xml.Linq" />
44-
<Reference Include="System.Data.DataSetExtensions" />
45-
<Reference Include="System.Data" />
4641
<Reference Include="System.Xml" />
4742
</ItemGroup>
4843
<ItemGroup>
@@ -205,10 +200,6 @@
205200
<None Include="Content\Skins\Default.skin" />
206201
</ItemGroup>
207202
<ItemGroup>
208-
<Content Include="Content\bin\**\*.*">
209-
<Link>Content\%(RecursiveDir)%(FileName)%(Extension)</Link>
210-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
211-
</Content>
212203
<Content Include="Content\build.tt">
213204
<Generator>TextTemplatingFileGenerator</Generator>
214205
<LastGenOutput>build.bat</LastGenOutput>
Collapse file

‎src/Tests/STACK.Test/Components/Projection.cs‎

Copy file name to clipboardExpand all lines: src/Tests/STACK.Test/Components/Projection.cs
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ public class Projection2DTests
1212
public void EqualityTest()
1313
{
1414
Assert.IsTrue(Projection2D.Zero.Equals(Projection2D.Zero));
15-
Assert.IsTrue(Projection2D.Zero == Projection2D.Zero);
16-
var Test = Projection2D.Zero.GetHashCode();
15+
#pragma warning disable CS1718 // Vergleich erfolgte mit derselben Variable
16+
Assert.IsTrue(Projection2D.Zero == Projection2D.Zero);
17+
#pragma warning restore CS1718 // Vergleich erfolgte mit derselben Variable
1718
}
1819

1920
[TestMethod]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.