chore: add license, formatting and git files

This commit is contained in:
2026-06-25 17:20:17 +01:00
commit 1e2fb19351
4 changed files with 80 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
BasedOnStyle: Microsoft
Language: Cpp
BreakBeforeBraces: Allman
PointerAlignment: Right
DerivePointerAlignment: false
IndentWidth: 4
TabWidth: 4
UseTab: Never
IndentCaseLabels: true
NamespaceIndentation: None
MaxEmptyLinesToKeep: 1
ColumnLimit: 100
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
BinPackArguments: false
BinPackParameters: false
AlignAfterOpenBracket: BlockIndent
SortIncludes: true
IncludeBlocks: Regroup
InsertNewlineAtEOF: true
UseCRLF: true
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: true
AlwaysBreakAfterReturnType: None
BreakStringLiterals: true
Cpp11BracedListStyle: true
IndentExternBlock: AfterExternBlock
KeepEmptyLinesAtTheStartOfBlocks: false
ReflowComments: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
+4
View File
@@ -0,0 +1,4 @@
* text=auto
*.cpp text
*.h text
*.txt text
+13
View File
@@ -0,0 +1,13 @@
# Temp and config files/dirs
.vs/
*.user
*.suo
*.db
# Build
out/
build/
x64/
x86/
Debug/
Release/
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 wh0crypt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.