repositories
/
Project_algorithmic_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Properly nullify a debug function.
[Project_algorithmic_C.git]
/
lib
/
ui.h
diff --git
a/lib/ui.h
b/lib/ui.h
index 291507808fb91c624964f7e074efeedf5d762b1f..c93a091f681cec305b33cd1e3f0f7aee9cbf3781 100644
(file)
--- a/
lib/ui.h
+++ b/
lib/ui.h
@@
-19,8
+19,18
@@
#ifndef UI_H
#define UI_H
#ifndef UI_H
#define UI_H
+#include <ncurses.h>
+
+#include "constants.h"
+
+int prompt_values(WINDOW* windows, int base_y, int base_x, const char* msg, int* y, char* x);
+
+int map_col_letter_to_index(char c);
+char map_col_index_to_letter(int index);
+
/* ncurses printing */
void print_board(int y, int x);
/* ncurses printing */
void print_board(int y, int x);
+void print_pawns(int base_y, int base_x, unsigned int pawn_array[board_size][board_size]);
/* non ncurses printing */
/* non ncurses printing */