Files
ac-decomp/include/m_config.h
T
2023-09-16 10:15:49 -04:00

41 lines
670 B
C

#ifndef M_CONFIG_H
#define M_CONFIG_H
#include "types.h"
#ifdef __cplusplus
extern "C" {
#endif
enum {
Config_SOUND_MODE_0,
Config_SOUND_MODE_1,
Config_SOUND_MODE_2,
Config_SOUND_MODE_3,
Config_SOUND_MODE_NUM
};
enum {
Config_VOICE_MODE_0,
Config_VOICE_MODE_1,
Config_VOICE_MODE_2,
Config_VOICE_MODE_3,
Config_VOICE_MODE_NUM
};
/* sizeof(Config_c) == 4 */
typedef struct config_s {
/* 0x00 */ u8 sound_mode; /* mono, stereo, ... */
/* 0x01 */ u8 voice_mode; /* silent, babblese, animalese */
/* 0x02 */ u8 vibration_enabled; /* true/false */
/* 0x03 */ u8 unused; /* might not exist */
} Config_c;
#ifdef __cplusplus
}
#endif
#endif