Functions related to the different types of Decks. More...
#include "graphic_utils.h"Go to the source code of this file.
Macros | |
| #define | DECK_SPRITES_PB 1 |
| #define | DECK_NAME_LENGTH 14 |
| #define | DECK_DESC_WIDTH DECK_NAME_LENGTH |
| #define | DECK_DESC_HEIGHT 5 |
Enumerations | |
| enum | DeckType { DECK_TYPE_RED , DECK_TYPE_BLUE , DECK_TYPE_YELLOW , DECK_TYPE_GREEN , DECK_TYPE_BLACK , DECK_TYPE_PAINTED , DECK_TYPE_MAX } |
Functions | |
| void | print_deck_name (enum DeckType deck, BG_POINT pos) |
| Prints the Deck name string to the screen at the given position. | |
| void | print_deck_description (enum DeckType deck, BG_POINT pos) |
| Prints the Deck description string to the screen at the given position. | |
Functions related to the different types of Decks.
Definition in file deck_types.h.
| #define DECK_DESC_HEIGHT 5 |
Definition at line 15 of file deck_types.h.
| #define DECK_DESC_WIDTH DECK_NAME_LENGTH |
Definition at line 14 of file deck_types.h.
| #define DECK_NAME_LENGTH 14 |
Definition at line 13 of file deck_types.h.
| #define DECK_SPRITES_PB 1 |
Definition at line 11 of file deck_types.h.
| enum DeckType |
Definition at line 17 of file deck_types.h.
| void print_deck_description | ( | enum DeckType | deck, |
| BG_POINT | pos | ||
| ) |
Prints the Deck description string to the screen at the given position.
| deck | DeckType we want the description of. |
| pos | screen position in pixels of the top-left corner of the rectangle we'll print the Deck description into |
Definition at line 48 of file deck_types.c.
| void print_deck_name | ( | enum DeckType | deck, |
| BG_POINT | pos | ||
| ) |
Prints the Deck name string to the screen at the given position.
| deck | Decktype we want the name of. |
| pos | screen position in pixels to print the name at. |
Definition at line 43 of file deck_types.c.