summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2024-11-18 18:47:41 -0500
committerGitHub <noreply@github.com>2024-11-18 18:47:41 -0500
commitae1a1adcf13daef3e5a4d2e885f6e4aa00e5d8a4 (patch)
tree50df1ae98be434010abf42edf26f20b37e9ad41d /include
parent5881164453ddd540e120669eb19bf9cdd3136b78 (diff)
Player Docs: Begin "Start Mode" Documentation (#2301)
* set up start mode * note unused modes * fix bss
Diffstat (limited to 'include')
-rw-r--r--include/z64player.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/z64player.h b/include/z64player.h
index d135c5741..d911fd783 100644
--- a/include/z64player.h
+++ b/include/z64player.h
@@ -7,6 +7,28 @@
struct Player;
+#define PLAYER_GET_START_MODE(thisx) PARAMS_GET_S(thisx->params, 8, 4)
+
+typedef enum PlayerStartMode {
+ /* 0 */ PLAYER_START_MODE_0,
+ /* 1 */ PLAYER_START_MODE_1,
+ /* 2 */ PLAYER_START_MODE_2,
+ /* 3 */ PLAYER_START_MODE_3,
+ /* 4 */ PLAYER_START_MODE_4,
+ /* 5 */ PLAYER_START_MODE_5,
+ /* 6 */ PLAYER_START_MODE_6,
+ /* 7 */ PLAYER_START_MODE_7,
+ /* 8 */ PLAYER_START_MODE_UNUSED_8, // Unused, behaves the same as PLAYER_START_MODE_14
+ /* 9 */ PLAYER_START_MODE_UNUSED_9, // Unused, behaves the same as PLAYER_START_MODE_14
+ /* 10 */ PLAYER_START_MODE_UNUSED_10, // Unused, behaves the same as PLAYER_START_MODE_14
+ /* 11 */ PLAYER_START_MODE_UNUSED_11, // Unused, behaves the same as PLAYER_START_MODE_14
+ /* 12 */ PLAYER_START_MODE_UNUSED_12, // Unused, behaves the same as PLAYER_START_MODE_14
+ /* 13 */ PLAYER_START_MODE_13,
+ /* 14 */ PLAYER_START_MODE_14,
+ /* 15 */ PLAYER_START_MODE_15,
+ /* 16 */ PLAYER_START_MODE_MAX
+} PlayerStartMode;
+
typedef enum PlayerSword {
/* 0 */ PLAYER_SWORD_NONE,
/* 1 */ PLAYER_SWORD_KOKIRI,