Add option to enable a more readable deck, suggestion by @Turro75 (#495)
* 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: MathisMartin31 <mathis.martin31@gmail.com>
This commit is contained in:
@@ -289,7 +289,6 @@ GameVariables g_game_vars = {
|
||||
.round_end_blind_token = NULL,
|
||||
|
||||
.game_speed = DEFAULT_GAME_SPEED,
|
||||
.high_contrast = DEFAULT_HIGH_CONTRAST,
|
||||
.music_volume = DEFAULT_MUSIC_VOLUME,
|
||||
.sound_volume = DEFAULT_SOUND_VOLUME,
|
||||
};
|
||||
@@ -2599,9 +2598,6 @@ void game_start(void)
|
||||
g_game_vars.hands = MAX_HANDS;
|
||||
g_game_vars.discards = MAX_DISCARDS;
|
||||
|
||||
// Activate high contrast palette for cards if loaded settings tell us to
|
||||
toggle_high_contrast_cards(g_game_vars.high_contrast);
|
||||
|
||||
// Fill the deck with all the cards. Later on this can be replaced with a more dynamic system
|
||||
// that allows for different decks and card types.
|
||||
for (int suit = 0; suit < NUM_SUITS; suit++)
|
||||
|
||||
Reference in New Issue
Block a user