|
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. | |
| void | modeListAddSecretMenuModes (menu_t *menu) |
| Add secret items to a menu. | |
| 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 |
| void modeListAddSecretMenuModes | ( | menu_t * | menu | ) |
Add secret items to a menu.
| menu | The menu to add secret items to |
| 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.