diff options
author | Iru Cai <mytbk920423@gmail.com> | 2021-05-11 09:03:04 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2021-05-11 09:03:04 +0800 |
commit | 35f49ca074059d96768eacdfd28f9748daf5b5c8 (patch) | |
tree | 4ec3a678f31cc216ba3c0d7754d6de4eb56074ec /asm/card.h | |
parent | 93dac59fbe6f8d4b9b83e05fba6fc0cfdca1a4ee (diff) | |
download | rich4-35f49ca074059d96768eacdfd28f9748daf5b5c8.tar.xz |
use C card table
Diffstat (limited to 'asm/card.h')
-rw-r--r-- | asm/card.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/asm/card.h b/asm/card.h new file mode 100644 index 0000000..8c6d795 --- /dev/null +++ b/asm/card.h @@ -0,0 +1,11 @@ +#include <stdint.h> + +typedef struct +{ + const char *name_ptr; + uint8_t init_amount; + uint8_t price; + uint8_t f6; + uint8_t f7; +} rich4_card; +extern rich4_card card_table[]; |