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:
あく
2020-12-18 23:15:29 +03:00
committed by GitHub
parent 3ba1738acd
commit 73ecc7cde6
17 changed files with 383 additions and 81 deletions

View 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];
}