From bc58f791a33784ffa25e6aa105ced8245fb91ac7 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Mon, 1 Oct 2018 10:59:09 +0800 Subject: move cards table to 0x0047fdf2 --- csrc/card.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 csrc/card.h (limited to 'csrc/card.h') diff --git a/csrc/card.h b/csrc/card.h new file mode 100644 index 0000000..b1a086e --- /dev/null +++ b/csrc/card.h @@ -0,0 +1,14 @@ +#include + +typedef struct +{ + const char *name_ptr; + uint8_t init_amount; + uint8_t price; + uint8_t f6; + uint8_t f7; +} rich4_card; +extern rich4_card cards_table[]; + +typedef int (*card_func)(void); +extern card_func card_functions[]; -- cgit v1.2.3