Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
Loading...
Searching...
No Matches
modeIncludeList.h
Go to the documentation of this file.
1
22//==============================================================================
23// Includes
24//==============================================================================
25
26/*
27 Quickly regenerate with:
28 grep -lirE '^extern swadgeMode_t (.*);' main | grep -oE '([^/]+\.h)' \
29 | grep -v quickSettings | awk '{printf "#include \"%s\"\n",$1 }' | sort
30*/
31
32#include "accelTest.h"
33#include "bongoTest.h"
34#include "colorchord.h"
35#include "dance.h"
36#include "factoryTest.h"
37#include "gamepad.h"
38#include "introMode.h"
39#include "jukebox.h"
40#include "keebTest.h"
41#include "mainMenu.h"
42#include "modeTimer.h"
43#include "mode_2048.h"
44#include "mode_bigbug.h"
45#include "mode_cGrove.h"
46#include "mode_credits.h"
47#include "mode_swadgeHero.h"
48#include "mode_synth.h"
49#include "pango.h"
50#include "sequencerMode.h"
51#include "soko.h"
52#include "touchTest.h"
53#include "tunernome.h"
54#include "ultimateTTT.h"
55
56//==============================================================================
57// Function Prototypes
58//==============================================================================
59
65int modeListGetCount(void);
66
72void modeListSetMenu(menu_t* menu);
73
74//==============================================================================
75// Externs
76//==============================================================================
77
78extern swadgeMode_t* const allSwadgeModes[];
The underlying data for a menu. This fundamentally is a list of menuItem_t.
Definition menu.h:173
int modeListGetCount(void)
Gets the current number of swadgeModes present int he file.
Definition modeIncludeList.c:23
swadgeMode_t *const allSwadgeModes[]
Add swadgeMode_t pointers to this struct to include them in emulator and main menu.
Definition modeIncludeList.c:12
void modeListSetMenu(menu_t *menu)
Iniitalizes a menu with all the current swadge modes.
Definition modeIncludeList.c:28
A struct of all the function pointers necessary for a swadge mode. If a mode does not need a particul...
Definition swadge2024.h:236