mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 13:58:36 -07:00
Update apps
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# PLUGIN BY eugene-kirzhanov
|
||||
App(
|
||||
appid="game_2048",
|
||||
name="2048",
|
||||
@@ -8,10 +7,9 @@ App(
|
||||
"gui",
|
||||
],
|
||||
stack_size=1 * 1024,
|
||||
order=90,
|
||||
fap_icon="game_2048.png",
|
||||
fap_category="Games",
|
||||
fap_author="@eugene-kirzhanov",
|
||||
fap_version="1.0",
|
||||
fap_description="2048 Game",
|
||||
fap_version="1.1",
|
||||
fap_description="Play the port of the 2048 game on Flipper Zero.",
|
||||
)
|
||||
|
||||
4
applications/external/game_2048/game_2048.c
vendored
4
applications/external/game_2048/game_2048.c
vendored
@@ -13,6 +13,7 @@
|
||||
#include <gui/gui.h>
|
||||
#include <input/input.h>
|
||||
#include <storage/storage.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
#include "digits.h"
|
||||
#include "array_utils.h"
|
||||
@@ -393,6 +394,9 @@ int32_t game_2048_app() {
|
||||
Gui* gui = furi_record_open(RECORD_GUI);
|
||||
gui_add_view_port(gui, view_port, GuiLayerFullscreen);
|
||||
|
||||
// Call dolphin deed on game start
|
||||
dolphin_deed(DolphinDeedPluginGameStart);
|
||||
|
||||
bool is_finished = false;
|
||||
while(!is_finished) {
|
||||
FuriStatus event_status = furi_message_queue_get(event_queue, &input, FuriWaitForever);
|
||||
|
||||
Reference in New Issue
Block a user