summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2024-04-15 13:02:43 -0400
committerGitHub <noreply@github.com>2024-04-15 13:02:43 -0400
commit295a8669b86e571aecd6509b4e7b86e955f165d6 (patch)
tree7584a3e1e02438281ef41ea4718a1b8afc4f5ce2 /include
parentf643499462f8cf908ddf1ee77b5625ebaff2cf25 (diff)
Player: Document "WaitForPutAway" (#1936)
* document put away delay * functions.txt * add a note on delaying indefinitely * format * typo * delay -> wait for put away * revert unintended formatting change * add comment to struct member * format * fix functions.txt
Diffstat (limited to 'include')
-rw-r--r--include/z64player.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/z64player.h b/include/z64player.h
index 913b53ec1..78de9e8ca 100644
--- a/include/z64player.h
+++ b/include/z64player.h
@@ -717,7 +717,7 @@ typedef struct {
typedef void (*PlayerActionFunc)(struct Player*, struct PlayState*);
typedef s32 (*UpperActionFunc)(struct Player*, struct PlayState*);
-typedef void (*PlayerFuncA74)(struct PlayState*, struct Player*);
+typedef void (*AfterPutAwayFunc)(struct PlayState*, struct Player*);
typedef struct Player {
/* 0x0000 */ Actor actor;
@@ -892,7 +892,7 @@ typedef struct Player {
/* 0x0A60 */ u8 bodyIsBurning;
/* 0x0A61 */ u8 bodyFlameTimers[PLAYER_BODYPART_MAX]; // one flame per body part
/* 0x0A73 */ u8 unk_A73;
- /* 0x0A74 */ PlayerFuncA74 func_A74;
+ /* 0x0A74 */ AfterPutAwayFunc afterPutAwayFunc; // See `Player_SetupWaitForPutAway` and `Player_Action_WaitForPutAway`
/* 0x0A78 */ s8 invincibilityTimer; // prevents damage when nonzero (positive = visible, counts towards zero each frame)
/* 0x0A79 */ u8 floorTypeTimer; // counts up every frame the current floor type is the same as the last frame
/* 0x0A7A */ u8 floorProperty;