Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
Loading...
Searching...
No Matches
modeIncludeList.c File Reference

Functions

int modeListGetCount ()
 Gets the current number of swadgeModes present int he file.
 
void modeListSetMenu (menu_t *menu)
 Iniitalizes a menu with all the current swadge modes.
 

Variables

swadgeMode_t *const allSwadgeModes []
 Add swadgeMode_t pointers to this struct to include them in emulator and main menu.
 

Function Documentation

◆ modeListGetCount()

int modeListGetCount ( void )

Gets the current number of swadgeModes present int he file.

Returns
int num of modes

◆ modeListSetMenu()

void modeListSetMenu ( menu_t * menu)

Iniitalizes a menu with all the current swadge modes.

Parameters
menuMenu to set

Variable Documentation

◆ allSwadgeModes

swadgeMode_t* const allSwadgeModes[]
Initial value:
= {
&accelTestMode, &bigbugMode, &bongoTest, &cGroveMode, &colorchordMode, &danceMode,
&factoryTestMode, &gamepadMode, &introMode, &jukeboxMode, &keebTestMode, &mainMenuMode,
&modeCredits, &pangoMode, &sequencerMode, &sokoMode, &swadgeHeroMode, &synthMode,
&t48Mode, &timerMode, &touchTestMode, &tttMode, &tunernomeMode,
}

Add swadgeMode_t pointers to this struct to include them in emulator and main menu.