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>
This commit is contained in:
12
applications/dolphin/dolphin_deed.c
Normal file
12
applications/dolphin/dolphin_deed.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#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];
|
||||
}
|
Reference in New Issue
Block a user