From f3edcba5b28574c32ec1f781f0b5f6c936ef5214 Mon Sep 17 00:00:00 2001 From: RogueMaster Date: Wed, 2 Aug 2023 02:36:23 -0400 Subject: [PATCH] Remove Duplicated Dolphin Deeds --- applications/external/4inrow/4inrow.c | 3 --- applications/external/airmouse/air_mouse.c | 2 -- applications/external/arkanoid/arkanoid_game.c | 4 ---- applications/external/blackjack/blackjack.c | 3 --- applications/external/bomberduck/bomberduck.c | 1 - applications/external/bt_trigger/bt_trigger.c | 2 -- applications/external/bt_trigger/bt_trigger.h | 1 - applications/external/color_guess/views/color_guess_play.c | 1 - applications/external/dcf77/dcf77_app.c | 3 --- applications/external/doom/doom.c | 3 --- applications/external/dtmf_dolphin/dtmf_dolphin.c | 2 -- .../esp32c6_gravity/scenes/uart_terminal_scene_start.c | 3 --- applications/external/flappy_bird/flappy_bird.c | 3 --- applications/external/game15/game15.c | 4 ---- applications/external/game_2048/game_2048.c | 4 ---- applications/external/gpioreader/scenes/gpio_scene_start.c | 2 -- applications/external/heap_defence_game/heap_defence.c | 4 ---- applications/external/ledpulser/ledpulser.c | 2 -- applications/external/logic_analyzer/logic_analyzer_app.c | 3 --- applications/external/logic_analyzer/logic_analyzer_app.h | 1 - applications/external/mfkey32/mfkey32.c | 1 - applications/external/minesweeper/minesweeper.c | 3 --- applications/external/mousejacker/mousejacker.c | 1 - applications/external/nfc_magic/nfc_magic.c | 2 -- applications/external/nfc_magic_gen1/nfc_magic.c | 2 -- applications/external/nfc_magic_gen4/nfc_magic.c | 2 -- applications/external/nrfsniff/nrfsniff.c | 1 - applications/external/picopass/picopass.c | 2 -- applications/external/playlist/playlist.c | 2 -- applications/external/pocsag_pager/pocsag_pager_app.c | 2 -- applications/external/pomodoro2/flipp_pomodoro_app.c | 1 - applications/external/protoview/app.c | 3 --- applications/external/sentry_safe/sentry_safe.c | 2 -- applications/external/snake_2/snake_20.c | 3 --- applications/external/snake_game/snake_game.c | 2 -- applications/external/solitaire/solitaire.c | 5 ----- applications/external/spectrum_analyzer/spectrum_analyzer.c | 2 -- applications/external/subbrute/subbrute.c | 2 -- applications/external/swd_probe/swd_probe_app.c | 2 -- applications/external/swd_probe/swd_probe_app.h | 1 - applications/external/tetris_game/tetris_game.c | 3 --- applications/external/tictactoe_game/tictactoe_game.c | 4 ---- applications/external/totp/totp_app.c | 4 ---- applications/external/wifi_deauther_v1/esp8266_deauth.c | 2 -- applications/external/wifi_deauther_v2/wifi_deauther_app.c | 2 -- .../external/wifi_marauder_companion/wifi_marauder_app.c | 2 -- applications/external/zombiez/zombiez.c | 5 ----- 47 files changed, 114 deletions(-) diff --git a/applications/external/4inrow/4inrow.c b/applications/external/4inrow/4inrow.c index da2d5a4cb73..09ae943763d 100644 --- a/applications/external/4inrow/4inrow.c +++ b/applications/external/4inrow/4inrow.c @@ -4,7 +4,6 @@ #include #include #include -#include static int matrix[6][7] = {0}; static int cursorx = 3; @@ -235,8 +234,6 @@ int32_t four_in_row_app(void* p) { return 255; } - dolphin_deed(DolphinDeedPluginGameStart); - // Создаем новый view port ViewPort* view_port = view_port_alloc(); // Создаем callback отрисовки, без контекста diff --git a/applications/external/airmouse/air_mouse.c b/applications/external/airmouse/air_mouse.c index 9ccf2f6ca35..b0423adafc8 100644 --- a/applications/external/airmouse/air_mouse.c +++ b/applications/external/airmouse/air_mouse.c @@ -1,7 +1,6 @@ #include "air_mouse.h" #include -#include #include "tracking/imu/imu.h" @@ -151,7 +150,6 @@ int32_t air_mouse_app(void* p) { return -1; } - dolphin_deed(DolphinDeedPluginStart); view_dispatcher_run(app->view_dispatcher); imu_end(); diff --git a/applications/external/arkanoid/arkanoid_game.c b/applications/external/arkanoid/arkanoid_game.c index 2adf2e30b2f..f6d8c1a3d05 100644 --- a/applications/external/arkanoid/arkanoid_game.c +++ b/applications/external/arkanoid/arkanoid_game.c @@ -5,7 +5,6 @@ #include #include #include -#include #define TAG "Arkanoid" @@ -398,9 +397,6 @@ int32_t arkanoid_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); diff --git a/applications/external/blackjack/blackjack.c b/applications/external/blackjack/blackjack.c index c0532f0dd8c..9f1163bceba 100644 --- a/applications/external/blackjack/blackjack.c +++ b/applications/external/blackjack/blackjack.c @@ -570,9 +570,6 @@ int32_t blackjack_app(void* p) { AppEvent event; - // Call dolphin deed on game start - dolphin_deed(DolphinDeedPluginGameStart); - for(bool processing = true; processing;) { FuriStatus event_status = furi_message_queue_get(event_queue, &event, 100); furi_mutex_acquire(game_state->mutex, FuriWaitForever); diff --git a/applications/external/bomberduck/bomberduck.c b/applications/external/bomberduck/bomberduck.c index 3e9d52f5604..8fa3193580a 100644 --- a/applications/external/bomberduck/bomberduck.c +++ b/applications/external/bomberduck/bomberduck.c @@ -382,7 +382,6 @@ int32_t bomberduck_app(void* p) { return 255; } - dolphin_deed(DolphinDeedPluginGameStart); // Создаем новый view port ViewPort* view_port = view_port_alloc(); // Создаем callback отрисовки, без контекста diff --git a/applications/external/bt_trigger/bt_trigger.c b/applications/external/bt_trigger/bt_trigger.c index d329bfc8aee..2a2af585362 100644 --- a/applications/external/bt_trigger/bt_trigger.c +++ b/applications/external/bt_trigger/bt_trigger.c @@ -19,8 +19,6 @@ __int32_t bt_trigger_app(void* p) { furi_hal_bt_start_advertising(); bt_set_status_changed_callback(app->bt, bt_hid_connection_status_changed_callback, app); - dolphin_deed(DolphinDeedPluginStart); - //An event IosTriggerEvent event; //List of 8 events diff --git a/applications/external/bt_trigger/bt_trigger.h b/applications/external/bt_trigger/bt_trigger.h index fef2ac95a42..02646ea25b6 100644 --- a/applications/external/bt_trigger/bt_trigger.h +++ b/applications/external/bt_trigger/bt_trigger.h @@ -12,7 +12,6 @@ #include #include #include -#include #include "bt_trigger_icons.h" #define HID_BT_KEYS_STORAGE_PATH EXT_PATH("apps_data/hid_ble/.bt_hid.keys") diff --git a/applications/external/color_guess/views/color_guess_play.c b/applications/external/color_guess/views/color_guess_play.c index d1cd45334f2..066f12dc805 100644 --- a/applications/external/color_guess/views/color_guess_play.c +++ b/applications/external/color_guess/views/color_guess_play.c @@ -293,7 +293,6 @@ void color_guess_play_exit(void* context) { void color_guess_play_enter(void* context) { furi_assert(context); ColorGuessPlay* instance = (ColorGuessPlay*)context; - dolphin_deed(DolphinDeedPluginGameStart); with_view_model( instance->view, ColorGuessPlayModel * model, diff --git a/applications/external/dcf77/dcf77_app.c b/applications/external/dcf77/dcf77_app.c index 88393554563..d84cbde669e 100644 --- a/applications/external/dcf77/dcf77_app.c +++ b/applications/external/dcf77/dcf77_app.c @@ -2,7 +2,6 @@ #include #include #include -#include #include #include @@ -350,8 +349,6 @@ int32_t dcf77_app_main(void* p) { ; } - dolphin_deed(DolphinDeedPluginGameStart); - AppEvent event; for(bool processing = true; processing;) { FuriStatus event_status = furi_message_queue_get(event_queue, &event, 100); diff --git a/applications/external/doom/doom.c b/applications/external/doom/doom.c index 524c19a0f93..7498aed2851 100644 --- a/applications/external/doom/doom.c +++ b/applications/external/doom/doom.c @@ -13,7 +13,6 @@ #include "level.h" #include #include -#include #define SOUND @@ -994,8 +993,6 @@ int32_t doom_app() { music_player_worker_load_rtttl_from_string(plugin_state->music_instance->worker, dsintro); music_player_worker_start(plugin_state->music_instance->worker); #endif - // Call dolphin deed on game start - dolphin_deed(DolphinDeedPluginGameStart); for(bool processing = true; processing;) { FuriStatus event_status = furi_message_queue_get(event_queue, &event, 100); diff --git a/applications/external/dtmf_dolphin/dtmf_dolphin.c b/applications/external/dtmf_dolphin/dtmf_dolphin.c index 57359b2e543..c1b10defa23 100644 --- a/applications/external/dtmf_dolphin/dtmf_dolphin.c +++ b/applications/external/dtmf_dolphin/dtmf_dolphin.c @@ -2,7 +2,6 @@ #include #include -#include static bool dtmf_dolphin_app_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -83,7 +82,6 @@ int32_t dtmf_dolphin_app(void* p) { UNUSED(p); DTMFDolphinApp* app = app_alloc(); - dolphin_deed(DolphinDeedPluginStart); view_dispatcher_run(app->view_dispatcher); app_free(app); diff --git a/applications/external/esp32c6_gravity/scenes/uart_terminal_scene_start.c b/applications/external/esp32c6_gravity/scenes/uart_terminal_scene_start.c index 965aa7ab560..902ce04eecb 100644 --- a/applications/external/esp32c6_gravity/scenes/uart_terminal_scene_start.c +++ b/applications/external/esp32c6_gravity/scenes/uart_terminal_scene_start.c @@ -1,5 +1,4 @@ #include "../uart_terminal_app_i.h" -#include // For each command, define whether additional arguments are needed // (enabling text input to fill them out), and whether the console @@ -285,8 +284,6 @@ static void uart_terminal_scene_start_var_list_enter_callback(void* context, uin furi_assert(index < NUM_MENU_ITEMS); const UART_TerminalItem* item = &items[index]; - dolphin_deed(DolphinDeedGpioUartBridge); - const int selected_option_index = app->selected_option_index[index]; furi_assert(selected_option_index < item->num_options_menu); app->selected_tx_string = item->actual_commands[selected_option_index]; diff --git a/applications/external/flappy_bird/flappy_bird.c b/applications/external/flappy_bird/flappy_bird.c index 62255c71a11..8c9b9bd46a9 100644 --- a/applications/external/flappy_bird/flappy_bird.c +++ b/applications/external/flappy_bird/flappy_bird.c @@ -317,9 +317,6 @@ int32_t flappy_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); diff --git a/applications/external/game15/game15.c b/applications/external/game15/game15.c index 84dcc458775..c9cecc6f00a 100644 --- a/applications/external/game15/game15.c +++ b/applications/external/game15/game15.c @@ -3,7 +3,6 @@ #include #include #include -#include #include "sandbox.h" @@ -466,9 +465,6 @@ int32_t game15_app() { sandbox_init( FPS, (SandboxRenderCallback)render_callback, (SandboxEventHandler)game_event_handler); - // Call dolphin deed on game start - dolphin_deed(DolphinDeedPluginGameStart); - sandbox_loop(); sandbox_free(); game_free(); diff --git a/applications/external/game_2048/game_2048.c b/applications/external/game_2048/game_2048.c index 464793395a7..98832929968 100644 --- a/applications/external/game_2048/game_2048.c +++ b/applications/external/game_2048/game_2048.c @@ -13,7 +13,6 @@ #include #include #include -#include #include "digits.h" #include "array_utils.h" @@ -402,9 +401,6 @@ 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); diff --git a/applications/external/gpioreader/scenes/gpio_scene_start.c b/applications/external/gpioreader/scenes/gpio_scene_start.c index 19d0173fa04..eae94bdfdfd 100644 --- a/applications/external/gpioreader/scenes/gpio_scene_start.c +++ b/applications/external/gpioreader/scenes/gpio_scene_start.c @@ -1,7 +1,6 @@ #include "../gpio_app_i.h" #include "furi_hal_power.h" #include "furi_hal_usb.h" -#include enum GpioItem { GpioItemUsbUart, @@ -97,7 +96,6 @@ bool gpio_scene_start_on_event(void* context, SceneManagerEvent event) { } else if(event.event == GpioStartEventUsbUart) { scene_manager_set_scene_state(app->scene_manager, GpioSceneStart, GpioItemUsbUart); if(!furi_hal_usb_is_locked()) { - dolphin_deed(DolphinDeedGpioUartBridge); scene_manager_next_scene(app->scene_manager, GpioSceneUsbUart); } else { scene_manager_next_scene(app->scene_manager, GpioSceneUsbUartCloseRpc); diff --git a/applications/external/heap_defence_game/heap_defence.c b/applications/external/heap_defence_game/heap_defence.c index 111c22dcecd..daf910404cc 100644 --- a/applications/external/heap_defence_game/heap_defence.c +++ b/applications/external/heap_defence_game/heap_defence.c @@ -14,7 +14,6 @@ #include #include #include -#include #define Y_FIELD_SIZE 6 #define Y_LAST (Y_FIELD_SIZE - 1) @@ -533,9 +532,6 @@ int32_t heap_defence_app(void* p) { game->game_status = 0; game->animation = AnimationPause; - // Call dolphin deed on game start - dolphin_deed(DolphinDeedPluginGameStart); - GameEvent event = {0}; while(event.input.key != InputKeyBack) { if(furi_message_queue_get(event_queue, &event, 100) != FuriStatusOk) { diff --git a/applications/external/ledpulser/ledpulser.c b/applications/external/ledpulser/ledpulser.c index 3454e5726fb..09e8cacff8c 100644 --- a/applications/external/ledpulser/ledpulser.c +++ b/applications/external/ledpulser/ledpulser.c @@ -5,7 +5,6 @@ #include #include #include "ledpulser_icons.h" -#include const int color_green = 1; const int color_blue = 2; @@ -108,7 +107,6 @@ int32_t ledpulser_app(void* p) { } plugin_state->direction = 0; plugin_state->intensity = 0; - dolphin_deed(DolphinDeedPluginStart); // Configure view port ViewPort* view_port = view_port_alloc(); diff --git a/applications/external/logic_analyzer/logic_analyzer_app.c b/applications/external/logic_analyzer/logic_analyzer_app.c index 9ac4a5c0827..d9c08059ec6 100644 --- a/applications/external/logic_analyzer/logic_analyzer_app.c +++ b/applications/external/logic_analyzer/logic_analyzer_app.c @@ -1,5 +1,3 @@ - - #include "logic_analyzer_app.h" #include "logic_analyzer_icons.h" @@ -301,7 +299,6 @@ int32_t logic_analyzer_app_main(void* p) { AppFSM* app = malloc(sizeof(AppFSM)); app_init(app); - dolphin_deed(DolphinDeedPluginGameStart); notification_message_block(app->notification, &sequence_display_backlight_enforce_on); while(app->processing) { diff --git a/applications/external/logic_analyzer/logic_analyzer_app.h b/applications/external/logic_analyzer/logic_analyzer_app.h index b995770e8f4..9e985f23874 100644 --- a/applications/external/logic_analyzer/logic_analyzer_app.h +++ b/applications/external/logic_analyzer/logic_analyzer_app.h @@ -12,7 +12,6 @@ #include #include #include -#include #include #include diff --git a/applications/external/mfkey32/mfkey32.c b/applications/external/mfkey32/mfkey32.c index 2cca97d62fe..5e790b01f6e 100644 --- a/applications/external/mfkey32/mfkey32.c +++ b/applications/external/mfkey32/mfkey32.c @@ -1253,7 +1253,6 @@ void start_mfkey32_thread(ProgramState* program_state) { int32_t mfkey32_main() { FuriMessageQueue* event_queue = furi_message_queue_alloc(8, sizeof(PluginEvent)); - dolphin_deed(DolphinDeedPluginStart); ProgramState* program_state = malloc(sizeof(ProgramState)); mfkey32_state_init(program_state); diff --git a/applications/external/minesweeper/minesweeper.c b/applications/external/minesweeper/minesweeper.c index 67acc01bc3c..05ce26e0a79 100644 --- a/applications/external/minesweeper/minesweeper.c +++ b/applications/external/minesweeper/minesweeper.c @@ -395,9 +395,6 @@ int32_t minesweeper_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); - PluginEvent event; for(bool processing = true; processing;) { FuriStatus event_status = furi_message_queue_get(event_queue, &event, 100); diff --git a/applications/external/mousejacker/mousejacker.c b/applications/external/mousejacker/mousejacker.c index b94efa75018..22fe886e289 100644 --- a/applications/external/mousejacker/mousejacker.c +++ b/applications/external/mousejacker/mousejacker.c @@ -280,7 +280,6 @@ static int32_t mj_worker_thread(void* ctx) { int32_t mousejacker_app(void* p) { UNUSED(p); FuriMessageQueue* event_queue = furi_message_queue_alloc(8, sizeof(PluginEvent)); - dolphin_deed(getRandomDeed()); PluginState* plugin_state = malloc(sizeof(PluginState)); mousejacker_state_init(plugin_state); diff --git a/applications/external/nfc_magic/nfc_magic.c b/applications/external/nfc_magic/nfc_magic.c index 5220d8cc6f4..7d5bfe45e5f 100644 --- a/applications/external/nfc_magic/nfc_magic.c +++ b/applications/external/nfc_magic/nfc_magic.c @@ -1,5 +1,4 @@ #include "nfc_magic_i.h" -#include bool nfc_magic_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -174,7 +173,6 @@ int32_t nfc_magic_app(void* p) { UNUSED(p); NfcMagic* nfc_magic = nfc_magic_alloc(); - dolphin_deed(DolphinDeedPluginStart); scene_manager_next_scene(nfc_magic->scene_manager, NfcMagicSceneStart); view_dispatcher_run(nfc_magic->view_dispatcher); diff --git a/applications/external/nfc_magic_gen1/nfc_magic.c b/applications/external/nfc_magic_gen1/nfc_magic.c index 55945d7cbf8..0fbedc7e6a8 100644 --- a/applications/external/nfc_magic_gen1/nfc_magic.c +++ b/applications/external/nfc_magic_gen1/nfc_magic.c @@ -1,5 +1,4 @@ #include "nfc_magic_i.h" -#include bool nfc_magic_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -161,7 +160,6 @@ int32_t nfc_magic_g1_app(void* p) { UNUSED(p); NfcMagic* nfc_magic = nfc_magic_alloc(); - dolphin_deed(DolphinDeedPluginStart); scene_manager_next_scene(nfc_magic->scene_manager, NfcMagicSceneStart); view_dispatcher_run(nfc_magic->view_dispatcher); diff --git a/applications/external/nfc_magic_gen4/nfc_magic.c b/applications/external/nfc_magic_gen4/nfc_magic.c index a6406e4af99..7fcb9961787 100644 --- a/applications/external/nfc_magic_gen4/nfc_magic.c +++ b/applications/external/nfc_magic_gen4/nfc_magic.c @@ -1,5 +1,4 @@ #include "nfc_magic_i.h" -#include bool nfc_magic_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -174,7 +173,6 @@ int32_t nfc_magic_g4_app(void* p) { UNUSED(p); NfcMagic* nfc_magic = nfc_magic_alloc(); - dolphin_deed(DolphinDeedPluginStart); scene_manager_next_scene(nfc_magic->scene_manager, NfcMagicSceneStart); view_dispatcher_run(nfc_magic->view_dispatcher); diff --git a/applications/external/nrfsniff/nrfsniff.c b/applications/external/nrfsniff/nrfsniff.c index 7cbbfd5d7a5..486bfee369b 100644 --- a/applications/external/nrfsniff/nrfsniff.c +++ b/applications/external/nrfsniff/nrfsniff.c @@ -317,7 +317,6 @@ static void start_sniffing() { int32_t nrfsniff_app(void* p) { UNUSED(p); - dolphin_deed(DolphinDeedPluginStart); uint8_t address[5] = {0}; uint32_t start = 0; hexlify(address, 5, top_address); diff --git a/applications/external/picopass/picopass.c b/applications/external/picopass/picopass.c index 52ceab08aa5..8b55342ed85 100644 --- a/applications/external/picopass/picopass.c +++ b/applications/external/picopass/picopass.c @@ -1,5 +1,4 @@ #include "picopass_i.h" -#include #define TAG "PicoPass" @@ -219,7 +218,6 @@ int32_t picopass_app(void* p) { UNUSED(p); picopass_migrate_from_old_folder(); - dolphin_deed(DolphinDeedPluginStart); Picopass* picopass = picopass_alloc(); scene_manager_next_scene(picopass->scene_manager, PicopassSceneStart); diff --git a/applications/external/playlist/playlist.c b/applications/external/playlist/playlist.c index 3019b6a21ed..2e979d1083b 100644 --- a/applications/external/playlist/playlist.c +++ b/applications/external/playlist/playlist.c @@ -18,7 +18,6 @@ #include #include -#include #include "playlist_file.h" #include "canvas_helper.h" @@ -724,7 +723,6 @@ void playlist_free(Playlist* app) { int32_t playlist_app(void* p) { UNUSED(p); - dolphin_deed(DolphinDeedPluginStart); // create playlist folder { diff --git a/applications/external/pocsag_pager/pocsag_pager_app.c b/applications/external/pocsag_pager/pocsag_pager_app.c index 44e937b16e1..ae6eb9bd4fa 100644 --- a/applications/external/pocsag_pager/pocsag_pager_app.c +++ b/applications/external/pocsag_pager/pocsag_pager_app.c @@ -4,7 +4,6 @@ #include #include #include "protocols/protocol_items.h" -#include #include static bool pocsag_pager_app_custom_event_callback(void* context, uint32_t event) { @@ -200,7 +199,6 @@ int32_t pocsag_pager_app(void* p) { UNUSED(p); POCSAGPagerApp* pocsag_pager_app = pocsag_pager_app_alloc(); - dolphin_deed(DolphinDeedPluginStart); view_dispatcher_run(pocsag_pager_app->view_dispatcher); pocsag_pager_app_free(pocsag_pager_app); diff --git a/applications/external/pomodoro2/flipp_pomodoro_app.c b/applications/external/pomodoro2/flipp_pomodoro_app.c index f5c42468ffb..e4e938aa144 100644 --- a/applications/external/pomodoro2/flipp_pomodoro_app.c +++ b/applications/external/pomodoro2/flipp_pomodoro_app.c @@ -111,7 +111,6 @@ int32_t flipp_pomodoro_app(void* p) { FlippPomodoroApp* app = flipp_pomodoro_app_alloc(); FURI_LOG_I(TAG, "Run deed added"); - dolphin_deed(DolphinDeedPluginGameStart); view_dispatcher_run(app->view_dispatcher); diff --git a/applications/external/protoview/app.c b/applications/external/protoview/app.c index 77f815dce01..5648f706fa2 100644 --- a/applications/external/protoview/app.c +++ b/applications/external/protoview/app.c @@ -1,8 +1,6 @@ /* Copyright (C) 2022-2023 Salvatore Sanfilippo -- All Rights Reserved * See the LICENSE file for information about the license. */ - #include "app.h" -#include RawSamplesBuffer *RawSamples, *DetectedSamples; extern const SubGhzProtocolRegistry protoview_protocol_registry; @@ -259,7 +257,6 @@ static bool keyboard_view_dispatcher_navigation_callback(void* ctx) { int32_t protoview_app_entry(void* p) { UNUSED(p); ProtoViewApp* app = protoview_app_alloc(); - dolphin_deed(DolphinDeedPluginStart); /* Create a timer. We do data analysis in the callback. */ FuriTimer* timer = furi_timer_alloc(timer_callback, FuriTimerTypePeriodic, app); diff --git a/applications/external/sentry_safe/sentry_safe.c b/applications/external/sentry_safe/sentry_safe.c index 9c44f14e6c1..789b43f2c33 100644 --- a/applications/external/sentry_safe/sentry_safe.c +++ b/applications/external/sentry_safe/sentry_safe.c @@ -2,7 +2,6 @@ #include #include #include -#include #include @@ -85,7 +84,6 @@ int32_t sentry_safe_app(void* p) { UNUSED(p); FuriMessageQueue* event_queue = furi_message_queue_alloc(8, sizeof(Event)); - dolphin_deed(DolphinDeedPluginStart); SentryState* sentry_state = malloc(sizeof(SentryState)); diff --git a/applications/external/snake_2/snake_20.c b/applications/external/snake_2/snake_20.c index c45c9796c36..05e0c0f2ae9 100644 --- a/applications/external/snake_2/snake_20.c +++ b/applications/external/snake_2/snake_20.c @@ -2,7 +2,6 @@ #include #include #include -#include #include #include @@ -400,8 +399,6 @@ int32_t snake_20_app(void* p) { notification_message_block(notification, &sequence_display_backlight_enforce_on); - dolphin_deed(DolphinDeedPluginGameStart); - SnakeEvent event; for(bool processing = true; processing;) { FuriStatus event_status = furi_message_queue_get(event_queue, &event, 100); diff --git a/applications/external/snake_game/snake_game.c b/applications/external/snake_game/snake_game.c index aeb5f894a77..c8e42ce196d 100644 --- a/applications/external/snake_game/snake_game.c +++ b/applications/external/snake_game/snake_game.c @@ -326,8 +326,6 @@ int32_t snake_game_app(void* p) { notification_message_block(notification, &sequence_display_backlight_enforce_on); - dolphin_deed(DolphinDeedPluginGameStart); - SnakeEvent event; for(bool processing = true; processing;) { FuriStatus event_status = furi_message_queue_get(event_queue, &event, 100); diff --git a/applications/external/solitaire/solitaire.c b/applications/external/solitaire/solitaire.c index 4616018e86b..803e0c299e5 100644 --- a/applications/external/solitaire/solitaire.c +++ b/applications/external/solitaire/solitaire.c @@ -401,7 +401,6 @@ void tick(GameState* game_state, NotificationApp* notification) { } void init(GameState* game_state) { - dolphin_deed(DolphinDeedPluginGameStart); game_state->selectColumn = 0; game_state->selected_card = 0; game_state->selectRow = 0; @@ -483,12 +482,8 @@ int32_t solitaire_app(void* p) { Gui* gui = furi_record_open(RECORD_GUI); gui_add_view_port(gui, view_port, GuiLayerFullscreen); - dolphin_deed(DolphinDeedPluginGameStart); AppEvent event; - // Call Dolphin deed on game start - dolphin_deed(DolphinDeedPluginGameStart); - for(bool processing = true; processing;) { FuriStatus event_status = furi_message_queue_get(event_queue, &event, 150); furi_mutex_acquire(game_state->mutex, FuriWaitForever); diff --git a/applications/external/spectrum_analyzer/spectrum_analyzer.c b/applications/external/spectrum_analyzer/spectrum_analyzer.c index b4fe20472a5..345dd008b1c 100644 --- a/applications/external/spectrum_analyzer/spectrum_analyzer.c +++ b/applications/external/spectrum_analyzer/spectrum_analyzer.c @@ -5,7 +5,6 @@ #include #include #include "spectrum_analyzer.h" -#include #include #include "spectrum_analyzer_worker.h" @@ -441,7 +440,6 @@ void spectrum_analyzer_free(SpectrumAnalyzer* instance) { int32_t spectrum_analyzer_app(void* p) { UNUSED(p); - dolphin_deed(DolphinDeedPluginStart); SpectrumAnalyzer* spectrum_analyzer = spectrum_analyzer_alloc(); InputEvent input; diff --git a/applications/external/subbrute/subbrute.c b/applications/external/subbrute/subbrute.c index 6685ca60ba8..56002702583 100644 --- a/applications/external/subbrute/subbrute.c +++ b/applications/external/subbrute/subbrute.c @@ -1,7 +1,6 @@ #include "subbrute_i.h" #include "subbrute_custom_event.h" #include "scenes/subbrute_scene.h" -#include #define TAG "SubBruteApp" @@ -203,7 +202,6 @@ int32_t subbrute_app(void* p) { UNUSED(p); furi_hal_power_suppress_charge_enter(); - dolphin_deed(DolphinDeedPluginStart); SubBruteState* instance = subbrute_alloc(); view_dispatcher_attach_to_gui( instance->view_dispatcher, instance->gui, ViewDispatcherTypeFullscreen); diff --git a/applications/external/swd_probe/swd_probe_app.c b/applications/external/swd_probe/swd_probe_app.c index afeac91e476..8fb121eda6f 100644 --- a/applications/external/swd_probe/swd_probe_app.c +++ b/applications/external/swd_probe/swd_probe_app.c @@ -3134,8 +3134,6 @@ int32_t swd_probe_app_main(void* p) { DBGS("swd_execute_script"); swd_execute_script(app, SWD_PATH "/startup.swd"); - dolphin_deed(DolphinDeedPluginGameStart); - DBGS("processing"); for(bool processing = true; processing;) { swd_main_loop(app); diff --git a/applications/external/swd_probe/swd_probe_app.h b/applications/external/swd_probe/swd_probe_app.h index 5a45a4fd967..33f12662c16 100644 --- a/applications/external/swd_probe/swd_probe_app.h +++ b/applications/external/swd_probe/swd_probe_app.h @@ -15,7 +15,6 @@ #include #include #include -#include #include #include diff --git a/applications/external/tetris_game/tetris_game.c b/applications/external/tetris_game/tetris_game.c index 3fa1f85d36c..6a625ad6ec3 100644 --- a/applications/external/tetris_game/tetris_game.c +++ b/applications/external/tetris_game/tetris_game.c @@ -392,9 +392,6 @@ int32_t tetris_game_app() { Piece* newPiece = malloc(sizeof(Piece)); uint8_t downRepeatCounter = 0; - // Call dolphin deed on game start - dolphin_deed(DolphinDeedPluginGameStart); - for(bool processing = true; processing;) { // This 10U implicitly sets the game loop speed. downRepeatCounter relies on this value FuriStatus event_status = furi_message_queue_get(event_queue, &event, 10U); diff --git a/applications/external/tictactoe_game/tictactoe_game.c b/applications/external/tictactoe_game/tictactoe_game.c index 6ad076a4ac6..f8b1fc93ab6 100644 --- a/applications/external/tictactoe_game/tictactoe_game.c +++ b/applications/external/tictactoe_game/tictactoe_game.c @@ -3,7 +3,6 @@ #include #include #include -#include #define TAG "TicTacToe" @@ -332,9 +331,6 @@ 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); diff --git a/applications/external/totp/totp_app.c b/applications/external/totp/totp_app.c index dc9c6781e8f..84291fdbd6d 100644 --- a/applications/external/totp/totp_app.c +++ b/applications/external/totp/totp_app.c @@ -4,7 +4,6 @@ #include #include #include -#include #include "features_config.h" #include "services/config/config.h" #include "types/plugin_state.h" @@ -205,9 +204,6 @@ int32_t totp_app() { return 253; } - // Affecting dolphin level - dolphin_deed(DolphinDeedPluginStart); - FuriMutex* main_loop_mutex = furi_mutex_alloc(FuriMutexTypeNormal); struct TotpRenderCallbackContext render_context = { .plugin_state = plugin_state, .mutex = main_loop_mutex}; diff --git a/applications/external/wifi_deauther_v1/esp8266_deauth.c b/applications/external/wifi_deauther_v1/esp8266_deauth.c index 929b98bb115..9690a2008bb 100644 --- a/applications/external/wifi_deauther_v1/esp8266_deauth.c +++ b/applications/external/wifi_deauther_v1/esp8266_deauth.c @@ -6,7 +6,6 @@ #include #include #include -#include //#include //#include //#include @@ -325,7 +324,6 @@ int32_t esp8266_deauth_app(void* p) { SWiFiDeauthApp* app = malloc(sizeof(SWiFiDeauthApp)); - dolphin_deed(DolphinDeedPluginStart); esp8266_deauth_app_init(app); furi_hal_gpio_init_simple(app->m_GpioButtons.pinButtonUp, GpioModeOutputPushPull); diff --git a/applications/external/wifi_deauther_v2/wifi_deauther_app.c b/applications/external/wifi_deauther_v2/wifi_deauther_app.c index 2e05a1ce0b7..28fb28d8850 100644 --- a/applications/external/wifi_deauther_v2/wifi_deauther_app.c +++ b/applications/external/wifi_deauther_v2/wifi_deauther_app.c @@ -3,7 +3,6 @@ #include #include #include -#include static bool wifi_deauther_app_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -25,7 +24,6 @@ static void wifi_deauther_app_tick_event_callback(void* context) { WifideautherApp* wifi_deauther_app_alloc() { WifideautherApp* app = malloc(sizeof(WifideautherApp)); - dolphin_deed(DolphinDeedPluginStart); app->gui = furi_record_open(RECORD_GUI); diff --git a/applications/external/wifi_marauder_companion/wifi_marauder_app.c b/applications/external/wifi_marauder_companion/wifi_marauder_app.c index c7f03061af3..97b1d97155f 100644 --- a/applications/external/wifi_marauder_companion/wifi_marauder_app.c +++ b/applications/external/wifi_marauder_companion/wifi_marauder_app.c @@ -2,7 +2,6 @@ #include #include -#include static bool wifi_marauder_app_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -24,7 +23,6 @@ static void wifi_marauder_app_tick_event_callback(void* context) { WifiMarauderApp* wifi_marauder_app_alloc() { WifiMarauderApp* app = malloc(sizeof(WifiMarauderApp)); - dolphin_deed(DolphinDeedPluginStart); app->gui = furi_record_open(RECORD_GUI); app->dialogs = furi_record_open(RECORD_DIALOGS); diff --git a/applications/external/zombiez/zombiez.c b/applications/external/zombiez/zombiez.c index a9bf74f7aab..109967e6d97 100644 --- a/applications/external/zombiez/zombiez.c +++ b/applications/external/zombiez/zombiez.c @@ -2,7 +2,6 @@ #include #include #include -#include //ORIGINAL REPO: https://github.com/Dooskington/flipperzero-zombiez //AUTHORS: https://github.com/Dooskington | https://github.com/DevMilanIan @@ -232,7 +231,6 @@ static void tick(PluginState* const plugin_state) { free(z); plugin_state->zombies[i] = NULL; plugin_state->score++; - //if(plugin_state->score % 15 == 0) dolphin_deed(getRandomDeed()); //} } else if(z->position.x <= WALL_X && z->position.x > 0) { // zombie got to the wall plugin_state->zombies_count -= 1; @@ -314,9 +312,6 @@ int32_t zombiez_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); - PluginEvent event; bool isRunning = true; while(isRunning) {