/** * @file deck_types.h * * @brief Functions related to the different types of Decks. */ #ifndef DECK_TYPES_H #define DECK_TYPES_H #include "graphic_utils.h" #define DECK_SPRITES_PB 1 #define DECK_NAME_LENGTH 14 // 13 chars + '\0' #define DECK_DESC_WIDTH DECK_NAME_LENGTH #define DECK_DESC_HEIGHT 5 enum DeckType { DECK_TYPE_RED, DECK_TYPE_BLUE, DECK_TYPE_YELLOW, DECK_TYPE_GREEN, DECK_TYPE_BLACK, DECK_TYPE_PAINTED, DECK_TYPE_MAX }; /** * @brief Prints the Deck name string to the screen at the given position. * * @param deck Decktype we want the name of. * @param pos screen position in pixels to print the name at. */ void print_deck_name(enum DeckType deck, BG_POINT pos); /** * @brief Prints the Deck description string to the screen at the given position. * * @param deck DeckType we want the description of. * @param pos screen position in pixels of the top-left corner of the rectangle * we'll print the Deck description into */ void print_deck_description(enum DeckType deck, BG_POINT pos); #endif // DECK_TYPES_H