Update apps

This commit is contained in:
Willy-JL
2023-08-30 18:59:32 +02:00
parent 160ab755a2
commit ee37769ee2
308 changed files with 2314 additions and 801 deletions

View File

@@ -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",

View File

@@ -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;
}
}