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

@@ -14,7 +14,7 @@ APP_POWER = 1
APP_BT = 1
APP_CLI = 1
BUILD_IRDA = 1
APP_IRUKAGOTCHI = 1
APP_DOLPHIN = 1
BUILD_EXAMPLE_BLINK = 1
BUILD_EXAMPLE_UART_WRITE = 1
BUILD_EXAMPLE_INPUT_DUMP = 1
@@ -36,11 +36,11 @@ CFLAGS += -DAPP_NFC
C_SOURCES += $(wildcard $(APP_DIR)/nfc/*.c)
endif
APP_IRUKAGOTCHI ?= 0
ifeq ($(APP_IRUKAGOTCHI), 1)
APP_DOLPHIN ?= 0
ifeq ($(APP_DOLPHIN), 1)
APP_MENU = 1
CFLAGS += -DAPP_IRUKAGOTCHI
C_SOURCES += $(wildcard $(APP_DIR)/irukagotchi/*.c)
CFLAGS += -DAPP_DOLPHIN
C_SOURCES += $(wildcard $(APP_DIR)/dolphin/*.c)
endif
APP_POWER ?= 0