* Options menu revamp * Implement readable card sprites * redraw characters to fix the original style * clang format * remove usage of UNDEFINED (-1) for unsigned values * typo * change save fix for something cleaner * remove dependency to game_variables.h from card.c * Make the palette look less silly ^^' * Address @ricfehr3's comments * clang format * quick rename * clang format --------- Co-authored-by: Geralt <84459734+MathisMartin31@users.noreply.github.com> Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com> Co-authored-by: Turro75 <valerio.turrini@gmail.com>
This commit is contained in:
co-authored by
Geralt
MathisMartin31
Turro75
parent
cebdebbfd0
commit
221b6d77c0
+9
-3
@@ -40,6 +40,10 @@
|
||||
|
||||
#define IMPOSSIBLY_HIGH_CARD_VALUE 100
|
||||
|
||||
// Card sprites
|
||||
#define DEFAULT_HIGH_CONTRAST false
|
||||
#define DEFAULT_MORE_READABLE false
|
||||
|
||||
// Card types
|
||||
typedef struct Card
|
||||
{
|
||||
@@ -54,9 +58,11 @@ typedef struct CardObject
|
||||
bool selected;
|
||||
} CardObject;
|
||||
|
||||
// Card functions
|
||||
void card_init();
|
||||
void toggle_high_contrast_cards(bool enable);
|
||||
// Card sprites accessibility functions
|
||||
void set_cards_high_contrast(bool enable);
|
||||
void set_cards_more_readable(bool enable);
|
||||
bool get_cards_high_contrast(void);
|
||||
bool get_cards_more_readable(void);
|
||||
|
||||
// Card methods
|
||||
Card* card_new(u8 suit, u8 rank);
|
||||
|
||||
Reference in New Issue
Block a user