mirror of https://github.com/zeldaret/tmc.git
add .clang-format file from zeldaret/oot
This commit is contained in:
parent
7f24d3da70
commit
044c9f1d67
|
@ -0,0 +1,23 @@
|
|||
IndentWidth: 4
|
||||
Language: Cpp
|
||||
UseTab: Never
|
||||
ColumnLimit: 120
|
||||
PointerAlignment: Left
|
||||
BreakBeforeBraces: Attach
|
||||
SpaceAfterCStyleCast: false
|
||||
Cpp11BracedListStyle: false
|
||||
IndentCaseLabels: true
|
||||
BinPackArguments: true
|
||||
BinPackParameters: true
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignOperands: true
|
||||
BreakBeforeTernaryOperators: true
|
||||
BreakBeforeBinaryOperators: None
|
||||
AllowShortBlocksOnASingleLine: true
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AllowShortCaseLabelsOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: false
|
||||
AlignEscapedNewlines: Left
|
||||
AlignTrailingComments: true
|
||||
SortIncludes: false
|
|
@ -5,7 +5,7 @@
|
|||
#include "global.h"
|
||||
#include "entity.h"
|
||||
|
||||
//Identified
|
||||
// Identified
|
||||
extern u32 Random(void);
|
||||
extern void PlaySFX(u32);
|
||||
extern void UpdateSpriteOrderAndFlip(Entity*);
|
||||
|
@ -19,7 +19,7 @@ extern void DeleteEntity(Entity*);
|
|||
extern u32 __modsi3(u32, u32);
|
||||
extern void DoFade(u32, u32);
|
||||
|
||||
//Unidentified
|
||||
// Unidentified
|
||||
extern void sub_0806ED78(Entity*);
|
||||
extern void sub_0806920C(Entity*);
|
||||
extern void sub_080042B8(Entity*);
|
||||
|
|
|
@ -82,7 +82,7 @@ void sub_08065AA4(Entity* this) {
|
|||
sub_0805E3A0(this, 2);
|
||||
sub_08065A50(this);
|
||||
}
|
||||
|
||||
|
||||
LoadAnimation(this, sub_0806F5A4(sub_080045C4(this, &gLinkEntity)));
|
||||
} else {
|
||||
sub_08065A50(this);
|
||||
|
|
Loading…
Reference in New Issue