summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCatobat <69204835+Catobat@users.noreply.github.com>2023-05-06 00:36:48 +0200
committerCatobat <69204835+Catobat@users.noreply.github.com>2023-05-06 00:36:48 +0200
commit18b86e484aea3c3b913709259f71c1a516a34db1 (patch)
treef343dc0f109b7248054af3a8ed440e5c07a88659 /include
parent8ff6027f97e11ce05904267cbb79306474287923 (diff)
Formatting
Diffstat (limited to 'include')
-rw-r--r--include/structures.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/structures.h b/include/structures.h
index 9c8864db..0cbe9c71 100644
--- a/include/structures.h
+++ b/include/structures.h
@@ -268,7 +268,8 @@ typedef struct {
typedef struct {
/*0x00*/ u8 ignoreLayer; /* if bit 0 set, skip layer check for collision */
/*0x01*/ u8 type;
- /*0x02*/ u8 interactDirections; /* lower 4 bits determine Link's allowed facing directions to interact, 0 to allow (0000WSEN) */
+ /*0x02*/ u8 interactDirections; /* lower 4 bits determine Link's allowed facing directions to interact, 0 to allow
+ (0000WSEN) */
/*0x03*/ u8 kinstoneId;
/*0x04*/ const Rect* customHitbox; /* optional custom rectangle */
/*0x08*/ Entity* entity;
@@ -278,9 +279,10 @@ typedef struct {
/*0x00*/ u8 isUpdated;
/*0x01*/ u8 unused;
/*0x02*/ u8 kinstoneId;
- /*0x03*/ u8 currentIndex; /* index of currentObject in canditate list, or 0xFF */
+ /*0x03*/ u8 currentIndex; /* index of currentObject in candidate list, or 0xFF */
/*0x04*/ InteractableObject* currentObject;
- /*0x08*/ InteractableObject candidates[0x20]; /* contains the loaded NPCs, key doors, windcrests and other objects */
+ /*0x08*/ InteractableObject
+ candidates[0x20]; /* contains the loaded NPCs, key doors, windcrests and other objects */
} PossibleInteraction;
static_assert(sizeof(PossibleInteraction) == 0x188);