summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorMario Kilies <MarioKilies@GMX.net>2011-01-14 04:32:35 +0100
committerMario Kilies <MarioKilies@GMX.net>2011-01-14 04:32:35 +0100
commit9c855d16f1a737ddd9bde72e0fc51f4fd0a1e042 (patch)
tree6d7f46a8aef12232c7ffd12fc9369d3f339444f6 /src/ui.h
parent0dfe9ff514cb6e3ffe9bfd394aebeb54445edc03 (diff)
Implemented hand_sort(). ui_choose_card() now pre-selects the card with lowest index, if at index 0 is no card. draw_card() now draws empty placeholder cards, to clear old screen content.
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.h b/src/ui.h
index ea1c1d6..2d38654 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -12,7 +12,7 @@ void ui_display_wnd_table_cards(const tablestacks ts, const bool highlight, cons
void ui_display_wnd_stack_points(const tablestacks ts, const bool highlight, const uint8_t highlighted_points);
void ui_display_wnd_current_state(const player_name_open_card_tuple pnoc[], const uint8_t num_players, const uint8_t active_player, const uint32_t score);
void ui_display_wnd_hand_cards(const hand h, const bool highlight, const uint8_t highlighted_card);
-uint8_t ui_choose_card(const hand h);
+uint8_t ui_choose_card(hand h);
uint8_t ui_choose_stack(const tablestacks ts);
void ui_init(void);
void ui_fini(void);