diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2025-05-29 06:17:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-29 09:17:38 -0400 |
| commit | 8a95f90b2071d74b3627ec3222d263ef9a367277 (patch) | |
| tree | af8b59f8cecc6adf5aff15fb7c536c6073471003 /include | |
| parent | d62bf87542a2482f2f9930da1dad81ce2c3e7d8e (diff) | |
sPlayerFaces as array of structs instead of 2d array (#2559)
Diffstat (limited to 'include')
| -rw-r--r-- | include/z64player.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/z64player.h b/include/z64player.h index 368a6cf03..5093d97f8 100644 --- a/include/z64player.h +++ b/include/z64player.h @@ -269,11 +269,10 @@ typedef enum PlayerDoorType { /* 3 */ PLAYER_DOORTYPE_FAKE } PlayerDoorType; -typedef enum PlayerFacePart { - /* 0 */ PLAYER_FACEPART_EYES, - /* 1 */ PLAYER_FACEPART_MOUTH, - /* 2 */ PLAYER_FACEPART_MAX -} PlayerFacePart; +typedef struct PlayerFaceIndices { + /* 0x0 */ u8 eyeIndex; + /* 0x1 */ u8 mouthIndex; +} PlayerFaceIndices; // size = 0x2 typedef enum PlayerEyes { /* 0 */ PLAYER_EYES_OPEN, |
