mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-12 22:53:27 +00:00
Initial plan Initial exploration and analysis complete Co-authored-by: orange-cpp <59374393+orange-cpp@users.noreply.github.com> Optimize performance: A* pathfinding, Vector3 hash, pattern scanner, AVX2 code, and serialization Co-authored-by: orange-cpp <59374393+orange-cpp@users.noreply.github.com> Add bounds check for navigation mesh serialization Co-authored-by: orange-cpp <59374393+orange-cpp@users.noreply.github.com> Document serialization limitation for large neighbor counts Co-authored-by: orange-cpp <59374393+orange-cpp@users.noreply.github.com> Add _codeql_build_dir to gitignore Co-authored-by: orange-cpp <59374393+orange-cpp@users.noreply.github.com> Removes codeql detected source root Eliminates the automatically generated file that was causing issues. This file was added by codeql and no longer needed. revert cleaned up gitignore moved to anon namespace Improves navigation mesh serialization and clamping Ensures correct serialization of navigation meshes by clamping neighbor counts to prevent data corruption when exceeding uint16_t limits. Updates data types to `std::uint8_t` and `std::size_t` for consistency. Uses `std::copy_n` instead of `std::memcpy` for deserialization.
64 lines
2.0 KiB
YAML
64 lines
2.0 KiB
YAML
# Generated by CLion for Stroustrup
|
|
# The Stroustrup style, named after Bjarne Stroustrup, the creator of C++, is similar to the K&R style but differs
|
|
# in its treatment of the class definitions and the placement of braces in certain contexts. The opening brace is
|
|
# placed on the same line as the control statement, and the closing brace is on its own line.
|
|
BasedOnStyle: LLVM
|
|
|
|
AccessModifierOffset: -4
|
|
AlignConsecutiveAssignments: None
|
|
AlignConsecutiveBitFields: None
|
|
AlignConsecutiveDeclarations: None
|
|
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
|
|
AlignTrailingComments: false
|
|
AllowShortBlocksOnASingleLine: Never
|
|
AllowShortFunctionsOnASingleLine: None
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
BreakTemplateDeclarations: Leave
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
AfterCaseLabel: true
|
|
AfterClass: true
|
|
AfterFunction: true
|
|
AfterControlStatement: true
|
|
SplitEmptyFunction: true
|
|
AfterEnum: true
|
|
AfterNamespace: true
|
|
AfterStruct: true
|
|
AfterUnion: true
|
|
AfterExternBlock: true
|
|
BeforeCatch: true
|
|
BeforeElse: true
|
|
BeforeLambdaBody: true
|
|
BeforeWhile: true
|
|
SplitEmptyRecord: true
|
|
SplitEmptyNamespace: true
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
BreakBeforeConceptDeclarations: false
|
|
ColumnLimit: 120
|
|
IncludeBlocks: Merge
|
|
IndentExternBlock: Indent
|
|
IndentRequiresClause: false
|
|
IndentWidth: 4
|
|
ContinuationIndentWidth: 8
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
NamespaceIndentation: All
|
|
PointerAlignment: Left
|
|
SortUsingDeclarations: true
|
|
SpaceAfterTemplateKeyword: false
|
|
SpaceBeforeCtorInitializerColon: false
|
|
SpaceBeforeParens: Custom
|
|
SpaceBeforeParensOptions:
|
|
AfterControlStatements: true
|
|
AfterFunctionDeclarationName: false
|
|
AfterFunctionDefinitionName: false
|
|
AfterForeachMacros: true
|
|
AfterIfMacros: true
|
|
AfterOverloadedOperator: false
|
|
BeforeNonEmptyParentheses: false
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
SpaceInEmptyParentheses: false
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInConditionalStatement: false
|
|
SpacesInContainerLiterals: false
|
|
SpacesInParentheses: false |