Change mood in xfw app

This commit is contained in:
Willy-JL
2023-05-14 21:47:49 +01:00
parent f82f6ccd66
commit 8338335f8b
5 changed files with 45 additions and 16 deletions

View File

@@ -18,9 +18,6 @@ const int DOLPHIN_LEVELS[DOLPHIN_LEVEL_COUNT] = {100, 200, 300, 450, 600, 7
3700, 4050, 4450, 4850, 5250, 5700, 6150, 6600,
7100, 7600, 8100, 8650, 9200};
#define BUTTHURT_MAX 14
#define BUTTHURT_MIN 0
DolphinState* dolphin_state_alloc() {
return malloc(sizeof(DolphinState));
}

View File

@@ -14,6 +14,9 @@ extern "C" {
#define DOLPHIN_LEVEL_COUNT 29
#define BUTTHURT_MAX 14
#define BUTTHURT_MIN 0
typedef struct DolphinState DolphinState;
typedef struct {
uint8_t icounter_daily_limit[DolphinAppMAX];