1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-13 13:09:49 +04:00

add tetris game from jeffplang

This commit is contained in:
Logan McKenna
2022-05-06 11:51:02 -05:00
parent 760f3da46e
commit c23a4b62e5
3 changed files with 420 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ extern int32_t text_box_test_app(void* p);
// Plugins
extern int32_t music_player_app(void* p);
extern int32_t snake_game_app(void* p);
extern int32_t tetris_game_app(void *p);
// On system start hooks declaration
extern void bt_on_system_start();
@@ -349,6 +350,13 @@ const FlipperApplication FLIPPER_PLUGINS[] = {
.icon = &A_Plugins_14,
.flags = FlipperApplicationFlagDefault},
#endif
#ifdef APP_TETRIS_GAME
{.app = tetris_game_app,
.name = "Tetris Game",
.stack_size = 1024,
.icon = NULL},
#endif
};
const size_t FLIPPER_PLUGINS_COUNT = COUNT_OF(FLIPPER_PLUGINS);