diff --git a/applications/external/4inrow/4inrow.c b/applications/external/4inrow/4inrow.c index 1f112a81a..09ae94376 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/arkanoid/arkanoid_game.c b/applications/external/arkanoid/arkanoid_game.c index 4fba7766e..f6d8c1a3d 100644 --- a/applications/external/arkanoid/arkanoid_game.c +++ b/applications/external/arkanoid/arkanoid_game.c @@ -397,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 50d8e30f6..ee5e35415 100644 --- a/applications/external/blackjack/blackjack.c +++ b/applications/external/blackjack/blackjack.c @@ -1,7 +1,6 @@ #include #include -#include #include #include @@ -276,7 +275,6 @@ void dealer_tick(GameState* game_state) { if(dealer_score >= DEALER_MAX) { if(dealer_score > 21 || dealer_score < player_score) { - // dolphin_deed(DolphinDeedPluginGameWin); enqueue( &(game_state->queue_state), game_state, @@ -570,9 +568,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); @@ -630,4 +625,4 @@ free_and_exit: furi_message_queue_free(event_queue); return return_code; -} \ No newline at end of file +} diff --git a/applications/external/bomberduck/bomberduck.c b/applications/external/bomberduck/bomberduck.c index 7cc7842c9..d81515371 100644 --- a/applications/external/bomberduck/bomberduck.c +++ b/applications/external/bomberduck/bomberduck.c @@ -381,7 +381,6 @@ int32_t bomberduck_app(void* p) { return 255; } - // dolphin_deed(DolphinDeedPluginGameStart); // Создаем новый view port ViewPort* view_port = view_port_alloc(); // Создаем callback отрисовки, без контекста @@ -456,7 +455,6 @@ int32_t bomberduck_app(void* p) { world.running = 0; world.level += 1; // if(world.level % 5 == 0) { - // dolphin_deed(DolphinDeedPluginGameWin); // } } for(int i = 0; i < world.bombs_count; i++) { diff --git a/applications/external/camera_suite/views/camera_suite_view_camera.c b/applications/external/camera_suite/views/camera_suite_view_camera.c index a12b8f7c8..77850b425 100644 --- a/applications/external/camera_suite/views/camera_suite_view_camera.c +++ b/applications/external/camera_suite/views/camera_suite_view_camera.c @@ -3,7 +3,6 @@ #include #include #include -#include #include "../helpers/camera_suite_haptic.h" #include "../helpers/camera_suite_speaker.h" #include "../helpers/camera_suite_led.h" @@ -383,4 +382,4 @@ void camera_suite_view_camera_free(CameraSuiteViewCamera* instance) { View* camera_suite_view_camera_get_view(CameraSuiteViewCamera* instance) { furi_assert(instance); return instance->view; -} \ No newline at end of file +} diff --git a/applications/external/camera_suite/views/camera_suite_view_guide.c b/applications/external/camera_suite/views/camera_suite_view_guide.c index 479f8d4d1..b32b0dd8f 100644 --- a/applications/external/camera_suite/views/camera_suite_view_guide.c +++ b/applications/external/camera_suite/views/camera_suite_view_guide.c @@ -3,7 +3,6 @@ #include #include #include -#include struct CameraSuiteViewGuide { View* view; diff --git a/applications/external/doom/doom.c b/applications/external/doom/doom.c index d9c9ab506..dfe37d094 100644 --- a/applications/external/doom/doom.c +++ b/applications/external/doom/doom.c @@ -993,9 +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); furi_mutex_acquire(plugin_state->mutex, FuriWaitForever); diff --git a/applications/external/dtmf_dolphin/dtmf_dolphin.c b/applications/external/dtmf_dolphin/dtmf_dolphin.c index 4447fb278..698b23540 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/esp8266_deauth/esp8266_deauth.c b/applications/external/esp8266_deauth/esp8266_deauth.c index 3339ad9a4..41015c21b 100644 --- a/applications/external/esp8266_deauth/esp8266_deauth.c +++ b/applications/external/esp8266_deauth/esp8266_deauth.c @@ -6,7 +6,6 @@ #include #include #include -#include //#include //#include //#include @@ -326,7 +325,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/flappy_bird/flappy_bird.c b/applications/external/flappy_bird/flappy_bird.c index b51efbb26..3100b7c6b 100644 --- a/applications/external/flappy_bird/flappy_bird.c +++ b/applications/external/flappy_bird/flappy_bird.c @@ -311,9 +311,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/flipbip/views/flipbip_scene_1.c b/applications/external/flipbip/views/flipbip_scene_1.c index d36cad496..faafc8442 100644 --- a/applications/external/flipbip/views/flipbip_scene_1.c +++ b/applications/external/flipbip/views/flipbip_scene_1.c @@ -3,7 +3,6 @@ #include #include #include -//#include #include #include #include "flipbip_icons.h" diff --git a/applications/external/game15/game15.c b/applications/external/game15/game15.c index 32d47b944..d5d9a3bec 100644 --- a/applications/external/game15/game15.c +++ b/applications/external/game15/game15.c @@ -456,9 +456,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 430bc5b5d..2376f6fcc 100644 --- a/applications/external/game_2048/game_2048.c +++ b/applications/external/game_2048/game_2048.c @@ -393,9 +393,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/heap_defence_game/heap_defence.c b/applications/external/heap_defence_game/heap_defence.c index c88c3e5cb..daf910404 100644 --- a/applications/external/heap_defence_game/heap_defence.c +++ b/applications/external/heap_defence_game/heap_defence.c @@ -532,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/ir_remote/infrared_remote_app.c b/applications/external/ir_remote/infrared_remote_app.c index c303ab2d3..bc27c2149 100644 --- a/applications/external/ir_remote/infrared_remote_app.c +++ b/applications/external/ir_remote/infrared_remote_app.c @@ -8,7 +8,6 @@ #include #include "ir_remote_icons.h" #include -#include #include #include @@ -113,7 +112,6 @@ static void app_input_callback(InputEvent* input_event, void* ctx) { int32_t infrared_remote_app(char* p) { FuriMessageQueue* event_queue = furi_message_queue_alloc(8, sizeof(InputEvent)); - dolphin_deed(DolphinDeedPluginStart); // App button string IRApp* app = malloc(sizeof(IRApp)); diff --git a/applications/external/minesweeper/minesweeper.c b/applications/external/minesweeper/minesweeper.c index 77d054384..41fca2b0a 100644 --- a/applications/external/minesweeper/minesweeper.c +++ b/applications/external/minesweeper/minesweeper.c @@ -236,9 +236,6 @@ static bool game_won(Minesweeper* minesweeper_state) { message, furi_string_get_cstr(tempStr), 64, 32, AlignCenter, AlignCenter); dialog_message_set_buttons(message, NULL, "Play again", NULL); - // Call dolphin deed when we win the game - // dolphin_deed(DolphinDeedPluginGameWin); - DialogMessageButton choice = dialog_message_show(minesweeper_state->dialogs, message); dialog_message_free(message); furi_string_free(tempStr); @@ -393,9 +390,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/multi_fuzzer/fuzzer.c b/applications/external/multi_fuzzer/fuzzer.c index bc9646873..5b85cc823 100644 --- a/applications/external/multi_fuzzer/fuzzer.c +++ b/applications/external/multi_fuzzer/fuzzer.c @@ -1,6 +1,5 @@ #include "fuzzer_i.h" #include "helpers/fuzzer_types.h" -#include static bool fuzzer_app_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -21,8 +20,6 @@ static void fuzzer_app_tick_event_callback(void* context) { } PacsFuzzerApp* fuzzer_app_alloc() { - dolphin_deed(DolphinDeedPluginStart); - PacsFuzzerApp* app = malloc(sizeof(PacsFuzzerApp)); app->fuzzer_state.menu_index = 0; diff --git a/applications/external/nfc_magic/nfc_magic.c b/applications/external/nfc_magic/nfc_magic.c index 0fce8bb66..68c9a65b5 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/nrf24batch/nrf24batch.c b/applications/external/nrf24batch/nrf24batch.c index 1eb90c3c2..81225fd2b 100644 --- a/applications/external/nrf24batch/nrf24batch.c +++ b/applications/external/nrf24batch/nrf24batch.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include diff --git a/applications/external/nrf24mousejacker/mousejacker.c b/applications/external/nrf24mousejacker/mousejacker.c index 6b9396a63..20fa02846 100644 --- a/applications/external/nrf24mousejacker/mousejacker.c +++ b/applications/external/nrf24mousejacker/mousejacker.c @@ -12,7 +12,6 @@ #include #include "mousejacker_ducky.h" #include -#include #define TAG "mousejacker" #define LOGITECH_MAX_CHANNEL 85 @@ -279,7 +278,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(DolphinDeedPluginStart); PluginState* plugin_state = malloc(sizeof(PluginState)); mousejacker_state_init(plugin_state); diff --git a/applications/external/nrf24scan/nrf24scan.c b/applications/external/nrf24scan/nrf24scan.c index 0bd4b6b3b..d56ee332e 100644 --- a/applications/external/nrf24scan/nrf24scan.c +++ b/applications/external/nrf24scan/nrf24scan.c @@ -9,10 +9,8 @@ #include #include #include -#include #include #include -#include #define TAG "nrf24scan" #define VERSION "2.2" @@ -1332,7 +1330,6 @@ static void render_callback(Canvas* const canvas, void* ctx) { int32_t nrf24scan_app(void* p) { UNUSED(p); APP = malloc(sizeof(Nrf24Scan)); - dolphin_deed(DolphinDeedPluginStart); APP->event_queue = furi_message_queue_alloc(8, sizeof(PluginEvent)); PluginState* plugin_state = malloc(sizeof(PluginState)); plugin_state->mutex = furi_mutex_alloc(FuriMutexTypeNormal); diff --git a/applications/external/nrf24sniff/nrfsniff.c b/applications/external/nrf24sniff/nrfsniff.c index cad16f349..21e347d0a 100644 --- a/applications/external/nrf24sniff/nrfsniff.c +++ b/applications/external/nrf24sniff/nrfsniff.c @@ -4,7 +4,6 @@ #include #include #include -#include #include #include @@ -315,7 +314,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 52ceab08a..8b55342ed 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/pocsag_pager/pocsag_pager_app.c b/applications/external/pocsag_pager/pocsag_pager_app.c index a381cf7fd..70ff49f1a 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 static bool pocsag_pager_app_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -199,7 +198,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/pomodoro/flipp_pomodoro_app.c b/applications/external/pomodoro/flipp_pomodoro_app.c index 1e6499db9..c49952c87 100644 --- a/applications/external/pomodoro/flipp_pomodoro_app.c +++ b/applications/external/pomodoro/flipp_pomodoro_app.c @@ -32,10 +32,6 @@ static bool flipp_pomodoro_app_custom_event_callback(void* ctx, uint32_t event) return CustomEventConsumed; case FlippPomodoroAppCustomEventStageComplete: if(flipp_pomodoro__get_stage(app->state) == FlippPomodoroStageFocus) { - // REGISTER a deed on work stage complete to get an acheivement - // dolphin_deed(DolphinDeedPluginGameWin); - FURI_LOG_I(TAG, "Focus stage reward added"); - flipp_pomodoro_statistics__increase_focus_stages_completed(app->statistics); }; @@ -110,9 +106,6 @@ int32_t flipp_pomodoro_app(void* p) { FURI_LOG_I(TAG, "Initial"); FlippPomodoroApp* app = flipp_pomodoro_app_alloc(); - FURI_LOG_I(TAG, "Run deed added"); - // dolphin_deed(DolphinDeedPluginGameStart); - view_dispatcher_run(app->view_dispatcher); flipp_pomodoro_app_free(app); diff --git a/applications/external/pomodoro/flipp_pomodoro_app_i.h b/applications/external/pomodoro/flipp_pomodoro_app_i.h index 8b8650776..56d8a6133 100644 --- a/applications/external/pomodoro/flipp_pomodoro_app_i.h +++ b/applications/external/pomodoro/flipp_pomodoro_app_i.h @@ -15,7 +15,6 @@ #include #include #include -#include #include // App resource imports diff --git a/applications/external/protoview/app.c b/applications/external/protoview/app.c index 656c35373..868ec8f16 100644 --- a/applications/external/protoview/app.c +++ b/applications/external/protoview/app.c @@ -2,7 +2,6 @@ * See the LICENSE file for information about the license. */ #include "app.h" -#include RawSamplesBuffer *RawSamples, *DetectedSamples; extern const SubGhzProtocolRegistry protoview_protocol_registry; @@ -259,7 +258,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 9c7445463..d9c75d1ea 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 e56f38b71..ee6ae68f3 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); @@ -525,4 +522,4 @@ int32_t snake_20_app(void* p) { free(snake_state); return 0; -} \ No newline at end of file +} diff --git a/applications/external/solitaire/solitaire.c b/applications/external/solitaire/solitaire.c index 0dcaa91c3..82506384e 100644 --- a/applications/external/solitaire/solitaire.c +++ b/applications/external/solitaire/solitaire.c @@ -1,5 +1,4 @@ #include -#include #include #include #include "defines.h" @@ -276,7 +275,6 @@ void tick(GameState* game_state, NotificationApp* notification) { if(game_state->state == GameStatePlay) { if(game_state->top_cards[0].character == 11 && game_state->top_cards[1].character == 11 && game_state->top_cards[2].character == 11 && game_state->top_cards[3].character == 11) { - // dolphin_deed(DolphinDeedPluginGameWin); game_state->state = GameStateAnimate; return; } @@ -491,9 +489,6 @@ int32_t solitaire_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, 150); furi_mutex_acquire(game_state->mutex, FuriWaitForever); @@ -567,4 +562,4 @@ free_and_exit: free(game_state); furi_message_queue_free(event_queue); return return_code; -} \ No newline at end of file +} diff --git a/applications/external/spectrum_analyzer/spectrum_analyzer.c b/applications/external/spectrum_analyzer/spectrum_analyzer.c index 0ff38fc4b..ed6e86867 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/subghz_bruteforcer/subbrute.c b/applications/external/subghz_bruteforcer/subbrute.c index 65e3616ce..c93726c96 100644 --- a/applications/external/subghz_bruteforcer/subbrute.c +++ b/applications/external/subghz_bruteforcer/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/subghz_playlist/playlist.c b/applications/external/subghz_playlist/playlist.c index 424bfe678..fe0186e74 100644 --- a/applications/external/subghz_playlist/playlist.c +++ b/applications/external/subghz_playlist/playlist.c @@ -18,7 +18,6 @@ #include #include -#include #include "playlist_file.h" #include "canvas_helper.h" @@ -721,8 +720,6 @@ void playlist_free(Playlist* app) { } int32_t playlist_app(char* p) { - dolphin_deed(DolphinDeedPluginStart); - // create playlist folder { Storage* storage = furi_record_open(RECORD_STORAGE); diff --git a/applications/external/swd_probe/swd_probe_app.c b/applications/external/swd_probe/swd_probe_app.c index 04a0165b0..ba4cbd1ee 100644 --- a/applications/external/swd_probe/swd_probe_app.c +++ b/applications/external/swd_probe/swd_probe_app.c @@ -3137,8 +3137,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/tetris_game/tetris_game.c b/applications/external/tetris_game/tetris_game.c index bd16cddfc..653718fd4 100644 --- a/applications/external/tetris_game/tetris_game.c +++ b/applications/external/tetris_game/tetris_game.c @@ -387,9 +387,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 5113fcf84..b6c0747d6 100644 --- a/applications/external/tictactoe_game/tictactoe_game.c +++ b/applications/external/tictactoe_game/tictactoe_game.c @@ -331,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 0849aad13..71d30d704 100644 --- a/applications/external/totp/totp_app.c +++ b/applications/external/totp/totp_app.c @@ -192,9 +192,6 @@ int32_t totp_app() { return 253; } - // Affecting dolphin level - // dolphin_deed(DolphinDeedPluginStart); - // Set system callbacks ViewPort* view_port = view_port_alloc(); view_port_draw_callback_set(view_port, render_callback, plugin_state); diff --git a/applications/external/wifi_deauther/wifi_deauther_app.c b/applications/external/wifi_deauther/wifi_deauther_app.c index 2e05a1ce0..28fb28d88 100644 --- a/applications/external/wifi_deauther/wifi_deauther_app.c +++ b/applications/external/wifi_deauther/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 22ce9b6f9..59fe4cb8d 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 291e76966..e8d974800 100644 --- a/applications/external/zombiez/zombiez.c +++ b/applications/external/zombiez/zombiez.c @@ -231,8 +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; free(z); @@ -313,9 +311,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) { diff --git a/applications/services/loader/loader_applications.c b/applications/services/loader/loader_applications.c index 7933b99f0..c57646469 100644 --- a/applications/services/loader/loader_applications.c +++ b/applications/services/loader/loader_applications.c @@ -120,7 +120,10 @@ static void loader_pubsub_callback(const void* message, void* context) { static void loader_applications_start_app(LoaderApplicationsApp* app) { const char* name = furi_string_get_cstr(app->fap_path); - // dolphin_deed(DolphinDeedPluginStart); + if(!furi_string_start_with_str(app->fap_path, EXT_PATH("apps/Games/")) && + !furi_string_start_with_str(app->fap_path, EXT_PATH("apps/Media/"))) { + dolphin_deed(DolphinDeedPluginStart); + } // load app FuriThreadId thread_id = furi_thread_get_current_id();