summaryrefslogtreecommitdiff
path: root/src/ui.h
blob: 05f82ff0f1e058ba24935068d68b85614f664d37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef OXEN_UI_H
#define OXEN_UI_H

#include <curses.h>
#include "card.h"
#include "cardstack.h"
#include "tablestacks.h"
#include "hand.h"
#include "pnoc.h"

void ui_display_wnd_table_cards(const tablestacks ts, const bool highlight, const uint8_t highlighted_stack);
void ui_display_wnd_stack_points(const tablestacks ts, const bool highlight, const uint8_t highlighted_points);
void ui_display_wnd_current_state(const pnoc_t 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(hand h);
uint8_t ui_choose_stack(const tablestacks ts);
void ui_init(void);
void ui_fini(void);

#endif // OXEN_UI_H