Aliases for common menu item types
This commit is contained in:
@@ -29,18 +29,18 @@
|
||||
|
||||
void menu_game() {
|
||||
START_MENU();
|
||||
MENU_BACK(MSG_MAIN);
|
||||
BACK_ITEM(MSG_MAIN);
|
||||
#if ENABLED(MARLIN_BRICKOUT)
|
||||
MENU_ITEM(submenu, MSG_BRICKOUT, brickout.enter_game);
|
||||
SUBMENU(MSG_BRICKOUT, brickout.enter_game);
|
||||
#endif
|
||||
#if ENABLED(MARLIN_INVADERS)
|
||||
MENU_ITEM(submenu, MSG_INVADERS, invaders.enter_game);
|
||||
SUBMENU(MSG_INVADERS, invaders.enter_game);
|
||||
#endif
|
||||
#if ENABLED(MARLIN_SNAKE)
|
||||
MENU_ITEM(submenu, MSG_SNAKE, snake.enter_game);
|
||||
SUBMENU(MSG_SNAKE, snake.enter_game);
|
||||
#endif
|
||||
#if ENABLED(MARLIN_MAZE)
|
||||
MENU_ITEM(submenu, MSG_MAZE, maze.enter_game);
|
||||
SUBMENU(MSG_MAZE, maze.enter_game);
|
||||
#endif
|
||||
END_MENU();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user