summaryrefslogtreecommitdiff
path: root/asm/card.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2021-05-11 09:03:04 +0800
committerIru Cai <mytbk920423@gmail.com>2021-05-11 09:03:04 +0800
commit35f49ca074059d96768eacdfd28f9748daf5b5c8 (patch)
tree4ec3a678f31cc216ba3c0d7754d6de4eb56074ec /asm/card.h
parent93dac59fbe6f8d4b9b83e05fba6fc0cfdca1a4ee (diff)
downloadrich4-35f49ca074059d96768eacdfd28f9748daf5b5c8.tar.xz
use C card table
Diffstat (limited to 'asm/card.h')
-rw-r--r--asm/card.h11
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[];