mirror of
https://github.com/zeldaret/botw
synced 2026-07-12 14:52:04 -04:00
Merge pull request #178 from Nitr4m12/xlink2
lib: Add xlink2 decomp as submodule
This commit is contained in:
@@ -26,3 +26,7 @@
|
||||
path = toolchain/nx-decomp-tools-binaries
|
||||
url = https://github.com/open-ead/nx-decomp-tools-binaries
|
||||
branch = master
|
||||
[submodule "lib/xlink2"]
|
||||
path = lib/xlink2
|
||||
url = https://github.com/Nitr4m12/xlink2
|
||||
branch = main
|
||||
|
||||
+445
-445
File diff suppressed because it is too large
Load Diff
Submodule
+1
Submodule lib/xlink2 added at e44480ebbe
@@ -1,74 +0,0 @@
|
||||
---
|
||||
Language: Cpp
|
||||
AccessModifierOffset: -4
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignConsecutiveAssignments: false
|
||||
AlignConsecutiveDeclarations: false
|
||||
AlignOperands: true
|
||||
AlignTrailingComments: true
|
||||
AllowAllParametersOfDeclarationOnNextLine: true
|
||||
AllowShortBlocksOnASingleLine: Never
|
||||
AllowShortCaseLabelsOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
AllowShortIfStatementsOnASingleLine: Never
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AlwaysBreakAfterDefinitionReturnType: None
|
||||
AlwaysBreakAfterReturnType: None
|
||||
AlwaysBreakBeforeMultilineStrings: false
|
||||
AlwaysBreakTemplateDeclarations: Yes
|
||||
BinPackArguments: true
|
||||
BinPackParameters: true
|
||||
BreakBeforeBinaryOperators: None
|
||||
BreakBeforeBraces: Attach
|
||||
BreakBeforeTernaryOperators: false
|
||||
BreakConstructorInitializersBeforeComma: false
|
||||
ColumnLimit: 100
|
||||
CommentPragmas: '^ (IWYU pragma:|NOLINT)'
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
||||
ConstructorInitializerIndentWidth: 4
|
||||
ContinuationIndentWidth: 4
|
||||
Cpp11BracedListStyle: true
|
||||
DerivePointerAlignment: false
|
||||
DisableFormat: false
|
||||
ForEachMacros: []
|
||||
IncludeCategories:
|
||||
- Regex: '^<[Ww]indows\.h>$'
|
||||
Priority: 1
|
||||
- Regex: '^<'
|
||||
Priority: 2
|
||||
- Regex: '^"'
|
||||
Priority: 3
|
||||
IndentCaseLabels: false
|
||||
IndentWidth: 4
|
||||
IndentWrappedFunctionNames: false
|
||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||
MacroBlockBegin: ''
|
||||
MacroBlockEnd: ''
|
||||
MaxEmptyLinesToKeep: 1
|
||||
NamespaceIndentation: None
|
||||
ObjCBlockIndentWidth: 4
|
||||
ObjCSpaceAfterProperty: false
|
||||
ObjCSpaceBeforeProtocolList: true
|
||||
PenaltyBreakBeforeFirstCallParameter: 19
|
||||
PenaltyBreakComment: 300
|
||||
PenaltyBreakFirstLessLess: 120
|
||||
PenaltyBreakString: 1000
|
||||
PenaltyExcessCharacter: 1000000
|
||||
PenaltyReturnTypeOnItsOwnLine: 60
|
||||
PointerAlignment: Left
|
||||
ReflowComments: true
|
||||
SortIncludes: true
|
||||
SpaceAfterCStyleCast: false
|
||||
SpaceBeforeAssignmentOperators: true
|
||||
SpaceBeforeParens: ControlStatements
|
||||
SpaceInEmptyParentheses: false
|
||||
SpacesBeforeTrailingComments: 2
|
||||
SpacesInAngles: false
|
||||
SpacesInContainerLiterals: true
|
||||
SpacesInCStyleCastParentheses: false
|
||||
SpacesInParentheses: false
|
||||
SpacesInSquareBrackets: false
|
||||
Standard: c++17
|
||||
TabWidth: 4
|
||||
UseTab: Never
|
||||
...
|
||||
@@ -1,16 +0,0 @@
|
||||
project(xlink2 CXX ASM)
|
||||
|
||||
add_library(xlink2 OBJECT
|
||||
include/xlink2/xlink2.h
|
||||
src/dummy.cpp
|
||||
)
|
||||
|
||||
target_compile_options(xlink2 PRIVATE -fno-exceptions)
|
||||
target_compile_options(xlink2 PRIVATE -fno-strict-aliasing)
|
||||
target_compile_options(xlink2 PRIVATE -Wno-invalid-offsetof)
|
||||
target_include_directories(xlink2 PUBLIC include/)
|
||||
|
||||
if(NOT TARGET sead)
|
||||
add_subdirectory(../sead)
|
||||
endif()
|
||||
target_link_libraries(xlink2 PUBLIC sead)
|
||||
@@ -1,10 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
namespace xlink2 {
|
||||
|
||||
struct Handle {
|
||||
void* _0 = nullptr;
|
||||
int _8 = 0;
|
||||
};
|
||||
|
||||
} // namespace xlink2
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <prim/seadSafeString.h>
|
||||
#include <prim/seadTypedBitFlag.h>
|
||||
#include <thread/seadAtomic.h>
|
||||
#include <xlink2/xlink2.h>
|
||||
#include <xlink2/xlink2Handle.h>
|
||||
#include "KingSystem/ActorSystem/actActorEditorNode.h"
|
||||
#include "KingSystem/ActorSystem/actBaseProc.h"
|
||||
#include "KingSystem/ActorSystem/actBaseProcJobHandler.h"
|
||||
|
||||
Reference in New Issue
Block a user