union-minui/src/minarch/overrides.h
Shaun Inman 9da9b41a16 a mess
this should be two commits
1. renaming menu option structs and callbacks
2. hiding locked options from menus
but I forgot to commit in the middle and the changes are too intertwined to stage individually
🙁
2023-01-29 21:31:13 -05:00

24 lines
466 B
C

#ifndef OVERRIDES_H
#define OVERRIDES_H
typedef struct OptionOverride {
char* key;
char* value;
int lock; // prevents changing this value
} OptionOverride;
typedef struct ButtonMapping {
char* name;
int retro;
int local; // TODO: dislike this name...
int mod;
int default_;
} ButtonMapping;
typedef struct CoreOverrides {
char* core_name; // cannot be NULL
OptionOverride* option_overrides;
ButtonMapping* button_mapping;
} CoreOverrides;
#endif