[FL-1824] Dolphin refactoring (#701)
* refactoring p1 * refactoring p2 * cleanups * locked screen refresh rate fix * better locked view logic * seperate dolphin service and desktop app * Desktop: Favorite app acess (Left key), Settings app * Desktop settings version, submenu header * remove unused icon anomation + naming fix Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -1,11 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include "dolphin_deed.h"
|
||||
#include "helpers/dolphin_deed.h"
|
||||
|
||||
typedef struct Dolphin Dolphin;
|
||||
|
||||
/* Load Dolphin state
|
||||
* Thread safe
|
||||
*/
|
||||
|
||||
bool dolphin_load(Dolphin* dolphin);
|
||||
|
||||
/* Deed complete notification. Call it on deed completion.
|
||||
* See dolphin_deed.h for available deeds. In futures it will become part of assets.
|
||||
* Thread safe
|
||||
*/
|
||||
|
||||
void dolphin_deed(Dolphin* dolphin, DolphinDeed deed);
|
||||
|
||||
/* Save Dolphin state (write to permanent memory)
|
||||
* Thread safe
|
||||
*/
|
||||
|
||||
void dolphin_save(Dolphin* dolphin);
|
||||
|
||||
/* Retrieve dolphin's icounter and butthurt values
|
||||
* Thread safe
|
||||
*/
|
||||
|
||||
DolphinDeedWeight dolphin_stats(Dolphin* dolphin);
|
Reference in New Issue
Block a user