Implement card flipping and arbitrary # of card draws up to 10

This commit is contained in:
Jeremy O'Brien
2023-01-11 11:39:54 -05:00
parent a65d728877
commit 0293daa926
2 changed files with 91 additions and 39 deletions

View File

@@ -27,10 +27,13 @@
#include "movement.h"
#define MAX_CARDS_TO_DRAW 10
typedef struct {
uint8_t drawn_cards[3];
uint8_t drawn_cards[MAX_CARDS_TO_DRAW];
uint8_t current_card;
uint8_t animation_frame;
uint8_t num_cards_to_draw;
bool is_picking;
} tarot_state_t;