summaryrefslogtreecommitdiff
path: root/asm/rich4_config.h
blob: 96111319add8355854f60a06e49b5b1596dd6317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <stdint.h>

typedef struct
{
  uint8_t key;
  uint8_t mod;
} rich4_key_t;

typedef struct
{
  uint8_t game_speed;
  uint8_t animation;
  uint8_t music;
  uint8_t sound_effect;
  uint8_t auto_save;
  uint8_t view;
  uint8_t dummy1[2];
  uint8_t day; /* offset 8 */
  uint8_t month;
  uint16_t year;
  uint8_t dummy2[4];
  rich4_key_t hotkeys[28]; /* offset 0x10 */
} rich4_cfg;

extern rich4_cfg global_rich4_cfg;
void rich4_read_config(void);
void rich4_write_config(void);