Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
|
Functions | |
int | modeListGetCount () |
Gets the current number of swadgeModes present int he file. | |
void | modeListSetMenu (menu_t *menu) |
Initializes a menu with all the current swadge modes. | |
int32_t | getModeIdx (const swadgeMode_t *mode) |
Get the unique index of a mode. | |
Variables | |
swadgeMode_t *const | allSwadgeModes [] |
Add swadgeMode_t pointers to this struct to include them in emulator and main menu. | |
int modeListGetCount | ( | void | ) |
Gets the current number of swadgeModes present int he file.
void modeListSetMenu | ( | menu_t * | menu | ) |
Initializes a menu with all the current swadge modes.
menu | Menu to set |
int32_t getModeIdx | ( | const swadgeMode_t * | mode | ) |
Get the unique index of a mode.
mode | The mode to get an index for |
swadgeMode_t* const allSwadgeModes[] |
Add swadgeMode_t pointers to this struct to include them in emulator and main menu.