mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 05:18:35 -07:00
Update apps
This commit is contained in:
@@ -5,7 +5,6 @@ App(
|
||||
entry_point="tictactoe_game_app",
|
||||
requires=["gui"],
|
||||
stack_size=1 * 1024,
|
||||
order=250,
|
||||
fap_icon="tictactoe_10px.png",
|
||||
fap_category="Games",
|
||||
fap_author="@xMasterX & @gotnull",
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include <input/input.h>
|
||||
#include <stdlib.h>
|
||||
#include <gui/view.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
#define TAG "TicTacToe"
|
||||
|
||||
@@ -331,6 +332,9 @@ int32_t tictactoe_game_app(void* p) {
|
||||
Gui* gui = furi_record_open(RECORD_GUI);
|
||||
gui_add_view_port(gui, view_port, GuiLayerFullscreen);
|
||||
|
||||
// Call dolphin deed on game start
|
||||
dolphin_deed(DolphinDeedPluginGameStart);
|
||||
|
||||
GameEvent event;
|
||||
for(bool processing = true; processing;) {
|
||||
FuriStatus event_status = furi_message_queue_get(event_queue, &event, 100);
|
||||
@@ -380,4 +384,4 @@ int32_t tictactoe_game_app(void* p) {
|
||||
free(tictactoe_state);
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user