summaryrefslogtreecommitdiff
path: root/csrc/player_info.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-09-24 11:26:15 +0800
committerIru Cai <mytbk920423@gmail.com>2018-09-24 11:33:18 +0800
commitfb34c58fd636ff0adccdc6c170d0bd05095f2bfd (patch)
tree9e8f186ed88df3a4b39136e6db9a4f00eec10c16 /csrc/player_info.h
parentb4b4bfeb6bbc9ffcf226e231f5d83fb2eecbed09 (diff)
downloadrich4-fb34c58fd636ff0adccdc6c170d0bd05095f2bfd.tar.xz
move special players to 0x498e28 according loadsave.c
Diffstat (limited to 'csrc/player_info.h')
-rw-r--r--csrc/player_info.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/csrc/player_info.h b/csrc/player_info.h
index 5afda53..9af94f0 100644
--- a/csrc/player_info.h
+++ b/csrc/player_info.h
@@ -72,3 +72,22 @@ extern int current_player; /* 0x49910c */
extern uint8_t player_cards[60]; /* 0x499120 */
extern uint8_t tool_amount[60]; /* 0x49915c */
+
+/* still don't know what this means,
+ * assume it's special players */
+typedef struct
+{
+ uint16_t f0;
+ uint16_t f2;
+ uint16_t f4;
+ uint16_t f6;
+ uint8_t f8[2];
+ uint8_t f10; // 0x498df2
+ uint8_t f11;
+ uint8_t days_winter_sleep; // 0x498df4
+ uint8_t days_sleep_walking; // 0x498df5
+ uint8_t days_stopping;
+ uint8_t days_tortoise_walking;
+} special_player_info;
+
+extern special_player_info special_players[5]; // 0x498e28