-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9dc7e5
commit 39c165a
Showing
27 changed files
with
312 additions
and
797 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,93 @@ | ||
--- | ||
AccessModifierOffset: -4 | ||
AlignAfterOpenBracket: DontAlign | ||
AlignConsecutiveAssignments: 'false' | ||
AlignConsecutiveDeclarations: 'false' | ||
AlignConsecutiveMacros: 'false' | ||
AlignConsecutiveAssignments: None | ||
AlignConsecutiveDeclarations: None | ||
AlignConsecutiveMacros: None | ||
AlignEscapedNewlines: Left | ||
AlignOperands: 'true' | ||
AlignTrailingComments: 'true' | ||
AllowAllArgumentsOnNextLine: 'false' | ||
AllowAllConstructorInitializersOnNextLine: 'false' | ||
AllowAllParametersOfDeclarationOnNextLine: 'false' | ||
AlignOperands: true | ||
AlignTrailingComments: true | ||
AllowAllArgumentsOnNextLine: false | ||
AllowAllConstructorInitializersOnNextLine: false | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: Empty | ||
AllowShortCaseLabelsOnASingleLine: 'false' | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: All | ||
AllowShortIfStatementsOnASingleLine: Never | ||
AllowShortLambdasOnASingleLine: All | ||
AllowShortLoopsOnASingleLine: 'true' | ||
AllowShortLoopsOnASingleLine: true | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakBeforeMultilineStrings: 'true' | ||
AlwaysBreakBeforeMultilineStrings: true | ||
AlwaysBreakTemplateDeclarations: 'Yes' | ||
BinPackArguments: 'true' | ||
BinPackParameters: 'true' | ||
BinPackArguments: true | ||
BinPackParameters: true | ||
BraceWrapping: | ||
AfterCaseLabel: 'true' | ||
AfterClass: 'true' | ||
AfterCaseLabel: true | ||
AfterClass: true | ||
AfterControlStatement: 'false' | ||
AfterEnum: 'true' | ||
AfterExternBlock: 'true' | ||
AfterFunction: 'true' | ||
AfterNamespace: 'true' | ||
AfterStruct: 'true' | ||
AfterUnion: 'true' | ||
BeforeCatch: 'false' | ||
BeforeElse: 'false' | ||
IndentBraces: 'false' | ||
SplitEmptyFunction: 'false' | ||
SplitEmptyNamespace: 'false' | ||
SplitEmptyRecord: 'false' | ||
AfterEnum: true | ||
AfterExternBlock: true | ||
AfterFunction: true | ||
AfterNamespace: true | ||
AfterStruct: true | ||
AfterUnion: true | ||
BeforeCatch: false | ||
BeforeElse: false | ||
IndentBraces: false | ||
SplitEmptyFunction: false | ||
SplitEmptyNamespace: false | ||
SplitEmptyRecord: false | ||
BreakBeforeBinaryOperators: None | ||
BreakBeforeBraces: Custom | ||
BreakBeforeTernaryOperators: 'false' | ||
BreakBeforeTernaryOperators: false | ||
BreakConstructorInitializers: AfterColon | ||
BreakInheritanceList: AfterColon | ||
BreakStringLiterals: 'true' | ||
BreakStringLiterals: true | ||
ColumnLimit: 0 | ||
CompactNamespaces: 'false' | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false' | ||
CompactNamespaces: false | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: false | ||
ConstructorInitializerIndentWidth: 4 | ||
ContinuationIndentWidth: 4 | ||
Cpp11BracedListStyle: 'false' | ||
DeriveLineEnding: 'true' | ||
DerivePointerAlignment: 'false' | ||
DisableFormat: 'false' | ||
FixNamespaceComments: 'false' | ||
Cpp11BracedListStyle: false | ||
DeriveLineEnding: true | ||
DerivePointerAlignment: false | ||
DisableFormat: false | ||
FixNamespaceComments: false | ||
IncludeBlocks: Preserve | ||
IndentCaseBlocks: 'true' | ||
IndentCaseLabels: 'false' | ||
IndentGotoLabels: 'false' | ||
IndentCaseBlocks: true | ||
IndentCaseLabels: true | ||
IndentGotoLabels: false | ||
IndentPPDirectives: None | ||
IndentWidth: 4 | ||
IndentWrappedFunctionNames: 'true' | ||
KeepEmptyLinesAtTheStartOfBlocks: 'false' | ||
IndentWrappedFunctionNames: true | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
Language: Cpp | ||
MaxEmptyLinesToKeep: 2 | ||
NamespaceIndentation: All | ||
PointerAlignment: Left | ||
ReflowComments : 'false' | ||
SortIncludes: 'true' | ||
SortUsingDeclarations: 'true' | ||
SpaceAfterCStyleCast: 'false' | ||
SpaceAfterLogicalNot: 'false' | ||
SpaceAfterTemplateKeyword: 'true' | ||
SpaceBeforeAssignmentOperators: 'true' | ||
SpaceBeforeCpp11BracedList: 'false' | ||
SpaceBeforeCtorInitializerColon: 'true' | ||
SpaceBeforeInheritanceColon: 'true' | ||
ReflowComments : false | ||
SortIncludes: CaseSensitive | ||
SortUsingDeclarations: true | ||
SpaceAfterCStyleCast: false | ||
SpaceAfterLogicalNot: false | ||
SpaceAfterTemplateKeyword: true | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeCpp11BracedList: false | ||
SpaceBeforeCtorInitializerColon: true | ||
SpaceBeforeInheritanceColon: true | ||
SpaceBeforeParens: ControlStatements | ||
SpaceBeforeRangeBasedForLoopColon: 'true' | ||
SpaceBeforeSquareBrackets: 'false' | ||
SpaceInEmptyBlock: 'false' | ||
SpaceInEmptyParentheses: 'false' | ||
SpaceBeforeRangeBasedForLoopColon: true | ||
SpaceBeforeSquareBrackets: false | ||
SpaceInEmptyBlock: false | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 2 | ||
SpacesInAngles: 'false' | ||
SpacesInCStyleCastParentheses: 'false' | ||
SpacesInConditionalStatement: 'false' | ||
SpacesInContainerLiterals: 'true' | ||
SpacesInParentheses: 'false' | ||
SpacesInSquareBrackets: 'false' | ||
SpacesInAngles: false | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInConditionalStatement: false | ||
SpacesInContainerLiterals: true | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
Standard: c++17 | ||
TabWidth: 4 | ||
UseCRLF: 'true' | ||
UseCRLF: true | ||
UseTab: Always | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.idea/ | ||
/cmake-build-debug* | ||
/cmake-build-release* | ||
workspace.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,17 @@ | ||
# TurtleClub (CommonLibSSE Plugin) | ||
# LibTurtleClub (CommonLibSSE Plugin) | ||
|
||
``` | ||
{ Actor } | ||
; Returns true if akActor has any keyword in akKeywords | ||
Bool Function ActorHasAnyKeyword(Actor akActor, FormList akKeywords) Global Native | ||
; Returns true if akActor is a member of any faction in akFactions (faction rank must be > -1) | ||
Bool Function ActorIsInAnyFaction(Actor akActor, FormList akFactions) Global Native | ||
Papyrus extensions by fireundubh specifically for Master of Disguise SSE | ||
|
||
; Returns true if akActor is a member of akFaction (faction rank must be > -1) | ||
Bool Function ActorIsInFaction(Actor akActor, Faction akFaction) Global Native | ||
## Actor Functions | ||
|
||
; Iterates through akFactions, returning IsInFaction array for akActor (does not evaluate faction rank) | ||
```papyrus | ||
; Returns whether `akActor` is a member of each faction in `akFactions` (does not evaluate faction rank) | ||
Bool[] Function GetFactionStates(Actor akActor, FormList akFactions) Global Native | ||
``` | ||
|
||
; Returns array of forms equipped by akActor in slots 31, 32, 33, 35, 36, 37, 39, and 42 | ||
Form[] Function GetWornEquipment(Actor akActor) Global Native | ||
{ Faction } | ||
; Sets akFaction as ally or friend to each faction in akFactions | ||
Function SetAllies(Faction akFaction, FormList akFactions, Bool abSelfIsFriendToOther = False, Bool abOtherIsFriendToSelf = False) Global Native | ||
; Sets akFaction as enemy or neutral to each faction in akFactions | ||
Function SetEnemies(Faction akFaction, FormList akFactions, Bool abSelfIsNeutralToOther = False, Bool abOtherIsNeutralToSelf = False) Global Native | ||
{ Misc } | ||
; Search akFormlist for akBaseObjects | ||
Bool[] Function SearchListForForms(FormList akFormList, Form[] akNeedles) Global Native | ||
; Search formlists in akFormlist for akBaseObject | ||
Bool[] Function SearchListsForForm(FormList akFormList, Form akNeedle) Global Native | ||
; Returns true if current game time (converted to 24-hour clock) is between afMin and less than afMax | ||
Bool Function InRangeGameTime(Float afMin, Float afMax) Global Native | ||
; Returns index to akPlayerRace in akRaces after checking if akPlayerRace is mapped to aiFactionIndex | ||
Int Function LookupRaceWeightIndex(Int aiFactionIndex, Race akPlayerRace, Race[] akRaces) Global Native | ||
{ String } | ||
; Returns asSource as array of String split by asDelimiter | ||
String[] Function SplitString(String asSource, String asDelimiter) Global Native | ||
; Returns asSource as array of Float split by asDelimiter | ||
Float[] Function StrToFloatArray(String asSource, String asDelimiter) Global Native | ||
; Returns asSource as array of Int split by asDelimiter | ||
Int[] Function StrToIntArray(String asSource, String asDelimiter) Global Native | ||
; Returns asSource wrapped to column aiMaxLength with lines delimited by newline character | ||
String Function WrapString(String asSource, Int aiMaxLength) Global Native | ||
## Misc. Functions | ||
|
||
```papyrus | ||
; Returns index to `akPlayerRace` in `argRaces` after checking if `akPlayerRace` is mapped to `aiFactionIndex` | ||
Int Function LookupRaceWeightIndex(Int aiFactionIndex, Race akPlayerRace, Race[] argRaces) Global Native | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ScriptName LibTurtleClub Hidden | ||
|
||
{ Actor } | ||
|
||
; Returns whether `akActor` is a member of each faction in `akFactions` (does not evaluate faction rank) | ||
Bool[] Function GetFactionStates(Actor akActor, FormList akFactions) Global Native | ||
|
||
{ Misc } | ||
|
||
; Returns index to `akPlayerRace` in `argRaces` after checking if `akPlayerRace` is mapped to `aiFactionIndex` | ||
Int Function LookupRaceWeightIndex(Int aiFactionIndex, Race akPlayerRace, Race[] argRaces) Global Native |
Oops, something went wrong.