unleashed-firmware/applications/dolphin/dolphin_deed.c
あく 73ecc7cde6
Rename Irukagotchi to Dolphin. Add basic game state structures. (#268)
* Rename Irukagotchi to Dolphin. Add basic game state structures.
* Dolphin: state, counters, api. BT: shared access to flash. Flash: write api.
* add fake -1 deeds, example of changing icounter

Co-authored-by: coreglitch <mail@s3f.ru>
2020-12-19 02:15:29 +06:00

13 lines
275 B
C

#include "dolphin_deed.h"
static const DolphinDeedWeight dolphin_deed_weights[DolphinDeedMax] = {
{1, 2, 60},
{1, 2, 60},
{1, 2, 60},
{-1, 2, 60},
};
const DolphinDeedWeight* dolphin_deed_weight(DolphinDeed deed) {
return &dolphin_deed_weights[deed];
}