mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-05 02:39:15 +00:00
9b8a139e2b
* Desktop Animation (part 1): Ugly naked ohmygod architecture * fix butthurt, fix locked scene * Change SD icons, fixes * Fix level update animation * Fixes, correct butthurt * Clean up code * furi_assert(0) -> furi_crash("msg") * Gui: rename none layer to desktop, update docs. Co-authored-by: あく <alleteam@gmail.com>
14 lines
336 B
C
14 lines
336 B
C
#include "dolphin_deed.h"
|
|
#include <furi.h>
|
|
|
|
static const DolphinDeedWeight dolphin_deed_weights[DolphinDeedMax] = {
|
|
{1, -1, 60},
|
|
{1, -1, 60},
|
|
{1, -1, 60},
|
|
{-1, 1, 60},
|
|
};
|
|
|
|
const DolphinDeedWeight* dolphin_deed_weight(DolphinDeed deed) {
|
|
furi_assert(deed < DolphinDeedMax);
|
|
return &dolphin_deed_weights[deed];
|
|
}
|